From f8df9426f97ceea51a144129b23e5c9b59c1457d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 18 Mar 2021 14:07:31 +0100 Subject: [PATCH] go.mod: Update dependencies --- go.mod | 44 +- go.sum | 440 +- vendor/github.com/brancz/gojsontoyaml/go.mod | 2 +- vendor/github.com/brancz/gojsontoyaml/go.sum | 5 +- vendor/github.com/brancz/gojsontoyaml/main.go | 8 - vendor/github.com/go-logr/logr/README.md | 2 + vendor/github.com/go-logr/logr/discard.go | 51 + vendor/github.com/go-logr/logr/logr.go | 146 +- .../github.com/google/go-cmp/cmp/compare.go | 6 +- .../google/go-cmp/cmp/export_panic.go | 2 +- .../google/go-cmp/cmp/export_unsafe.go | 2 +- .../go-cmp/cmp/internal/diff/debug_disable.go | 2 +- .../go-cmp/cmp/internal/diff/debug_enable.go | 2 +- .../google/go-cmp/cmp/internal/diff/diff.go | 50 +- .../google/go-cmp/cmp/internal/flags/flags.go | 2 +- .../cmp/internal/flags/toolchain_legacy.go | 2 +- .../cmp/internal/flags/toolchain_recent.go | 2 +- .../go-cmp/cmp/internal/function/func.go | 2 +- .../google/go-cmp/cmp/internal/value/name.go | 2 +- .../cmp/internal/value/pointer_purego.go | 2 +- .../cmp/internal/value/pointer_unsafe.go | 2 +- .../google/go-cmp/cmp/internal/value/sort.go | 2 +- .../google/go-cmp/cmp/internal/value/zero.go | 2 +- .../github.com/google/go-cmp/cmp/options.go | 2 +- vendor/github.com/google/go-cmp/cmp/path.go | 2 +- vendor/github.com/google/go-cmp/cmp/report.go | 2 +- .../google/go-cmp/cmp/report_compare.go | 2 +- .../google/go-cmp/cmp/report_references.go | 2 +- .../google/go-cmp/cmp/report_reflect.go | 4 +- .../google/go-cmp/cmp/report_slices.go | 2 +- .../google/go-cmp/cmp/report_text.go | 2 +- .../google/go-cmp/cmp/report_value.go | 2 +- .../github.com/google/go-jsonnet/.gitignore | 18 + .../google/go-jsonnet/.golangci.yml | 15 + .../google/go-jsonnet/.goreleaser.yml | 87 + .../google/go-jsonnet/.tool-versions | 1 + .../github.com/google/go-jsonnet/.travis.yml | 41 +- .../github.com/google/go-jsonnet/BUILD.bazel | 5 +- .../github.com/google/go-jsonnet/MANIFEST.in | 9 + vendor/github.com/google/go-jsonnet/Makefile | 73 + vendor/github.com/google/go-jsonnet/README.md | 85 +- .../github.com/google/go-jsonnet/ast/ast.go | 270 +- .../github.com/google/go-jsonnet/ast/clone.go | 43 +- .../google/go-jsonnet/ast/fodder.go | 2 +- .../google/go-jsonnet/ast/location.go | 23 +- .../github.com/google/go-jsonnet/ast/util.go | 4 +- .../google/go-jsonnet/astgen/BUILD.bazel | 2 +- .../google/go-jsonnet/astgen/stdast.go | 256137 +++++++++------ .../github.com/google/go-jsonnet/benchmark.sh | 18 + .../github.com/google/go-jsonnet/builtins.go | 1172 +- .../go-jsonnet/cmd/internal/cmd/BUILD.bazel | 14 + .../go-jsonnet/cmd/internal/cmd/utils.go | 187 + .../google/go-jsonnet/cmd/jsonnet/BUILD.bazel | 9 +- .../google/go-jsonnet/cmd/jsonnet/cmd.go | 275 +- .../google/go-jsonnet/error_formatter.go | 8 +- vendor/github.com/google/go-jsonnet/go.mod | 10 +- vendor/github.com/google/go-jsonnet/go.sum | 41 +- .../github.com/google/go-jsonnet/imports.go | 59 +- .../internal/errors/static_error.go | 47 +- .../go-jsonnet/internal/parser/BUILD.bazel | 1 + .../go-jsonnet/internal/parser/context.go | 36 +- .../go-jsonnet/internal/parser/lexer.go | 263 +- .../go-jsonnet/internal/parser/parser.go | 998 +- .../go-jsonnet/internal/parser/string_util.go | 134 + .../go-jsonnet/internal/program/desugarer.go | 147 +- .../go-jsonnet/internal/program/program.go | 4 +- .../internal/program/static_analyzer.go | 20 +- .../google/go-jsonnet/interpreter.go | 358 +- .../github.com/google/go-jsonnet/key.json.enc | Bin 2368 -> 0 bytes .../mutually_recursive_defaults.input | 1 - .../github.com/google/go-jsonnet/release.sh | 47 - .../google/go-jsonnet/reset_stdast_go.sh | 5 - vendor/github.com/google/go-jsonnet/setup.py | 74 + .../google/go-jsonnet/std.thisFile.jsonnet | 1 - vendor/github.com/google/go-jsonnet/tests.sh | 24 +- vendor/github.com/google/go-jsonnet/thunks.go | 111 +- .../google/go-jsonnet/travisBazel.sh | 2 +- .../google/go-jsonnet/travisBuild.sh | 24 +- .../google/go-jsonnet/update_cpp_jsonnet.sh | 16 + vendor/github.com/google/go-jsonnet/util.go | 38 + vendor/github.com/google/go-jsonnet/value.go | 278 +- vendor/github.com/google/go-jsonnet/vm.go | 315 +- .../client_golang/prometheus/build_info.go | 29 - .../prometheus/build_info_pre_1.12.go | 22 - .../client_golang/prometheus/counter.go | 20 +- .../client_golang/prometheus/desc.go | 4 +- .../client_golang/prometheus/gauge.go | 20 +- .../client_golang/prometheus/go_collector.go | 14 +- .../client_golang/prometheus/histogram.go | 24 +- .../client_golang/prometheus/metric.go | 6 +- .../prometheus/process_collector.go | 21 + .../prometheus/promhttp/delegator.go | 6 +- .../client_golang/prometheus/promhttp/http.go | 10 +- .../prometheus/promhttp/instrument_server.go | 91 +- .../client_golang/prometheus/registry.go | 4 +- .../client_golang/prometheus/summary.go | 28 +- .../client_golang/prometheus/value.go | 15 +- .../client_golang/prometheus/vec.go | 114 +- .../client_golang/prometheus/wrap.go | 6 +- .../prometheus/common/expfmt/decode.go | 2 +- .../prometheus/common/expfmt/text_parse.go | 11 + .../github.com/prometheus/common/model/fnv.go | 2 +- .../prometheus/common/model/time.go | 130 +- .../prometheus/procfs/CODE_OF_CONDUCT.md | 3 + .../prometheus/procfs/Makefile.common | 4 +- .../github.com/prometheus/procfs/SECURITY.md | 6 + vendor/github.com/prometheus/procfs/arp.go | 4 +- .../github.com/prometheus/procfs/buddyinfo.go | 2 +- .../github.com/prometheus/procfs/cpuinfo.go | 73 +- .../{cpuinfo_arm64.go => cpuinfo_armx.go} | 2 +- .../prometheus/procfs/cpuinfo_mips64le.go | 18 - .../prometheus/procfs/cpuinfo_mipsle.go | 18 - .../{cpuinfo_mips.go => cpuinfo_mipsx.go} | 1 + .../{cpuinfo_arm.go => cpuinfo_others.go} | 3 +- .../prometheus/procfs/cpuinfo_ppc64le.go | 18 - .../{cpuinfo_ppc64.go => cpuinfo_ppcx.go} | 1 + .../{cpuinfo_mips64.go => cpuinfo_riscvx.go} | 3 +- .../{cpuinfo_default.go => cpuinfo_x86.go} | 0 vendor/github.com/prometheus/procfs/crypto.go | 4 +- .../prometheus/procfs/fixtures.ttar | 449 +- .../github.com/prometheus/procfs/fscache.go | 2 +- vendor/github.com/prometheus/procfs/go.mod | 8 +- vendor/github.com/prometheus/procfs/go.sum | 14 +- .../prometheus/procfs/internal/fs/fs.go | 4 +- .../prometheus/procfs/kernel_random.go | 2 +- .../github.com/prometheus/procfs/loadavg.go | 4 +- vendor/github.com/prometheus/procfs/mdstat.go | 47 +- .../github.com/prometheus/procfs/meminfo.go | 194 +- .../prometheus/procfs/mountstats.go | 15 +- .../prometheus/procfs/net_conntrackstat.go | 4 +- .../prometheus/procfs/net_ip_socket.go | 220 + .../prometheus/procfs/net_protocols.go | 180 + .../prometheus/procfs/net_sockstat.go | 4 +- .../prometheus/procfs/net_softnet.go | 2 +- .../github.com/prometheus/procfs/net_tcp.go | 64 + .../github.com/prometheus/procfs/net_udp.go | 183 +- .../github.com/prometheus/procfs/net_unix.go | 14 +- vendor/github.com/prometheus/procfs/proc.go | 6 +- .../prometheus/procfs/proc_cgroup.go | 2 +- .../prometheus/procfs/proc_fdinfo.go | 4 +- .../prometheus/procfs/proc_limits.go | 87 +- .../github.com/prometheus/procfs/proc_ns.go | 6 +- .../github.com/prometheus/procfs/proc_psi.go | 2 +- .../github.com/prometheus/procfs/proc_stat.go | 5 +- .../prometheus/procfs/proc_status.go | 6 +- .../github.com/prometheus/procfs/schedstat.go | 15 +- vendor/github.com/prometheus/procfs/slab.go | 151 + vendor/github.com/prometheus/procfs/stat.go | 24 +- vendor/github.com/prometheus/procfs/xfrm.go | 3 +- .../github.com/prometheus/procfs/zoneinfo.go | 4 +- vendor/github.com/robfig/cron/v3/README.md | 4 +- vendor/github.com/robfig/cron/v3/chain.go | 4 +- vendor/github.com/robfig/cron/v3/cron.go | 7 +- vendor/github.com/robfig/cron/v3/doc.go | 31 +- vendor/github.com/robfig/cron/v3/option.go | 2 +- vendor/golang.org/x/sys/unix/aliases.go | 3 +- vendor/golang.org/x/sys/unix/asm_aix_ppc64.s | 2 +- vendor/golang.org/x/sys/unix/asm_darwin_386.s | 2 +- .../golang.org/x/sys/unix/asm_darwin_amd64.s | 2 +- vendor/golang.org/x/sys/unix/asm_darwin_arm.s | 2 +- .../golang.org/x/sys/unix/asm_darwin_arm64.s | 2 +- .../x/sys/unix/asm_dragonfly_amd64.s | 2 +- .../golang.org/x/sys/unix/asm_freebsd_386.s | 2 +- .../golang.org/x/sys/unix/asm_freebsd_amd64.s | 2 +- .../golang.org/x/sys/unix/asm_freebsd_arm.s | 2 +- .../golang.org/x/sys/unix/asm_freebsd_arm64.s | 2 +- vendor/golang.org/x/sys/unix/asm_linux_386.s | 2 +- .../golang.org/x/sys/unix/asm_linux_amd64.s | 2 +- vendor/golang.org/x/sys/unix/asm_linux_arm.s | 2 +- .../golang.org/x/sys/unix/asm_linux_arm64.s | 2 +- .../golang.org/x/sys/unix/asm_linux_mips64x.s | 2 +- .../golang.org/x/sys/unix/asm_linux_mipsx.s | 2 +- .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 2 +- .../golang.org/x/sys/unix/asm_linux_riscv64.s | 2 +- .../golang.org/x/sys/unix/asm_linux_s390x.s | 2 +- vendor/golang.org/x/sys/unix/asm_netbsd_386.s | 2 +- .../golang.org/x/sys/unix/asm_netbsd_amd64.s | 2 +- vendor/golang.org/x/sys/unix/asm_netbsd_arm.s | 2 +- .../golang.org/x/sys/unix/asm_netbsd_arm64.s | 2 +- .../golang.org/x/sys/unix/asm_openbsd_386.s | 2 +- .../golang.org/x/sys/unix/asm_openbsd_amd64.s | 2 +- .../golang.org/x/sys/unix/asm_openbsd_arm.s | 2 +- .../golang.org/x/sys/unix/asm_openbsd_arm64.s | 2 +- .../x/sys/unix/asm_openbsd_mips64.s | 2 +- .../golang.org/x/sys/unix/asm_solaris_amd64.s | 2 +- vendor/golang.org/x/sys/unix/asm_zos_s390x.s | 426 + vendor/golang.org/x/sys/unix/cap_freebsd.go | 1 + vendor/golang.org/x/sys/unix/constants.go | 3 +- vendor/golang.org/x/sys/unix/dev_aix_ppc.go | 4 +- vendor/golang.org/x/sys/unix/dev_aix_ppc64.go | 4 +- vendor/golang.org/x/sys/unix/dev_zos.go | 29 + vendor/golang.org/x/sys/unix/dirent.go | 1 + vendor/golang.org/x/sys/unix/endian_big.go | 3 +- vendor/golang.org/x/sys/unix/endian_little.go | 3 +- vendor/golang.org/x/sys/unix/env_unix.go | 3 +- vendor/golang.org/x/sys/unix/epoll_zos.go | 221 + vendor/golang.org/x/sys/unix/fcntl.go | 1 + .../x/sys/unix/fcntl_linux_32bit.go | 1 + vendor/golang.org/x/sys/unix/fdset.go | 1 + vendor/golang.org/x/sys/unix/fstatfs_zos.go | 164 + vendor/golang.org/x/sys/unix/gccgo.go | 4 +- .../x/sys/unix/gccgo_linux_amd64.go | 1 + vendor/golang.org/x/sys/unix/ioctl.go | 1 + vendor/golang.org/x/sys/unix/ioctl_zos.go | 74 + vendor/golang.org/x/sys/unix/mkerrors.sh | 28 +- vendor/golang.org/x/sys/unix/pagesize_unix.go | 1 + vendor/golang.org/x/sys/unix/ptrace_darwin.go | 12 + vendor/golang.org/x/sys/unix/ptrace_ios.go | 12 + vendor/golang.org/x/sys/unix/race.go | 1 + vendor/golang.org/x/sys/unix/race0.go | 3 +- .../x/sys/unix/readdirent_getdents.go | 1 + .../x/sys/unix/readdirent_getdirentries.go | 1 + vendor/golang.org/x/sys/unix/sockcmsg_unix.go | 3 +- .../x/sys/unix/sockcmsg_unix_other.go | 7 +- vendor/golang.org/x/sys/unix/str.go | 1 + vendor/golang.org/x/sys/unix/syscall.go | 3 +- vendor/golang.org/x/sys/unix/syscall_aix.go | 11 +- .../golang.org/x/sys/unix/syscall_aix_ppc.go | 4 +- .../x/sys/unix/syscall_aix_ppc64.go | 4 +- vendor/golang.org/x/sys/unix/syscall_bsd.go | 9 +- .../x/sys/unix/syscall_darwin.1_12.go | 1 + .../x/sys/unix/syscall_darwin.1_13.go | 2 +- .../golang.org/x/sys/unix/syscall_darwin.go | 24 +- .../x/sys/unix/syscall_darwin_386.go | 3 +- .../x/sys/unix/syscall_darwin_amd64.go | 3 +- .../x/sys/unix/syscall_darwin_arm.go | 2 +- .../x/sys/unix/syscall_darwin_arm64.go | 3 +- .../x/sys/unix/syscall_darwin_libSystem.go | 1 + .../x/sys/unix/syscall_dragonfly.go | 21 +- .../x/sys/unix/syscall_dragonfly_amd64.go | 1 + .../golang.org/x/sys/unix/syscall_freebsd.go | 17 +- .../x/sys/unix/syscall_freebsd_386.go | 1 + .../x/sys/unix/syscall_freebsd_amd64.go | 1 + .../x/sys/unix/syscall_freebsd_arm.go | 1 + .../x/sys/unix/syscall_freebsd_arm64.go | 1 + .../golang.org/x/sys/unix/syscall_illumos.go | 14 +- vendor/golang.org/x/sys/unix/syscall_linux.go | 194 +- .../x/sys/unix/syscall_linux_386.go | 7 +- .../x/sys/unix/syscall_linux_amd64.go | 3 +- .../x/sys/unix/syscall_linux_amd64_gc.go | 4 +- .../x/sys/unix/syscall_linux_arm.go | 11 +- .../x/sys/unix/syscall_linux_arm64.go | 3 +- .../golang.org/x/sys/unix/syscall_linux_gc.go | 3 +- .../x/sys/unix/syscall_linux_gc_386.go | 3 +- .../x/sys/unix/syscall_linux_gc_arm.go | 3 +- .../x/sys/unix/syscall_linux_gccgo_386.go | 1 + .../x/sys/unix/syscall_linux_gccgo_arm.go | 1 + .../x/sys/unix/syscall_linux_mips64x.go | 3 +- .../x/sys/unix/syscall_linux_mipsx.go | 9 +- .../x/sys/unix/syscall_linux_ppc64x.go | 5 +- .../x/sys/unix/syscall_linux_riscv64.go | 3 +- .../x/sys/unix/syscall_linux_s390x.go | 3 +- .../x/sys/unix/syscall_linux_sparc64.go | 5 +- .../golang.org/x/sys/unix/syscall_netbsd.go | 21 +- .../x/sys/unix/syscall_netbsd_386.go | 1 + .../x/sys/unix/syscall_netbsd_amd64.go | 1 + .../x/sys/unix/syscall_netbsd_arm.go | 1 + .../x/sys/unix/syscall_netbsd_arm64.go | 1 + .../golang.org/x/sys/unix/syscall_openbsd.go | 4 +- .../x/sys/unix/syscall_openbsd_386.go | 1 + .../x/sys/unix/syscall_openbsd_amd64.go | 1 + .../x/sys/unix/syscall_openbsd_arm.go | 1 + .../x/sys/unix/syscall_openbsd_arm64.go | 1 + .../golang.org/x/sys/unix/syscall_solaris.go | 16 +- .../x/sys/unix/syscall_solaris_amd64.go | 1 + vendor/golang.org/x/sys/unix/syscall_unix.go | 1 + .../golang.org/x/sys/unix/syscall_unix_gc.go | 5 +- .../x/sys/unix/syscall_unix_gc_ppc64x.go | 3 +- .../x/sys/unix/syscall_zos_s390x.go | 1781 + vendor/golang.org/x/sys/unix/timestruct.go | 29 +- vendor/golang.org/x/sys/unix/xattr_bsd.go | 1 + .../golang.org/x/sys/unix/zerrors_aix_ppc.go | 1 + .../x/sys/unix/zerrors_aix_ppc64.go | 1 + .../x/sys/unix/zerrors_darwin_386.go | 1 + .../x/sys/unix/zerrors_darwin_amd64.go | 63 +- .../x/sys/unix/zerrors_darwin_arm.go | 1 + .../x/sys/unix/zerrors_darwin_arm64.go | 63 +- .../x/sys/unix/zerrors_dragonfly_amd64.go | 1 + .../x/sys/unix/zerrors_freebsd_386.go | 7 + .../x/sys/unix/zerrors_freebsd_amd64.go | 7 + .../x/sys/unix/zerrors_freebsd_arm.go | 7 + .../x/sys/unix/zerrors_freebsd_arm64.go | 7 + vendor/golang.org/x/sys/unix/zerrors_linux.go | 172 +- .../x/sys/unix/zerrors_linux_386.go | 13 +- .../x/sys/unix/zerrors_linux_amd64.go | 13 +- .../x/sys/unix/zerrors_linux_arm.go | 13 +- .../x/sys/unix/zerrors_linux_arm64.go | 16 +- .../x/sys/unix/zerrors_linux_mips.go | 13 +- .../x/sys/unix/zerrors_linux_mips64.go | 13 +- .../x/sys/unix/zerrors_linux_mips64le.go | 13 +- .../x/sys/unix/zerrors_linux_mipsle.go | 13 +- .../x/sys/unix/zerrors_linux_ppc64.go | 13 +- .../x/sys/unix/zerrors_linux_ppc64le.go | 13 +- .../x/sys/unix/zerrors_linux_riscv64.go | 13 +- .../x/sys/unix/zerrors_linux_s390x.go | 13 +- .../x/sys/unix/zerrors_linux_sparc64.go | 13 +- .../x/sys/unix/zerrors_netbsd_386.go | 1 + .../x/sys/unix/zerrors_netbsd_amd64.go | 1 + .../x/sys/unix/zerrors_netbsd_arm.go | 1 + .../x/sys/unix/zerrors_netbsd_arm64.go | 1 + .../x/sys/unix/zerrors_openbsd_386.go | 1 + .../x/sys/unix/zerrors_openbsd_amd64.go | 1 + .../x/sys/unix/zerrors_openbsd_arm.go | 1 + .../x/sys/unix/zerrors_openbsd_arm64.go | 1 + .../x/sys/unix/zerrors_openbsd_mips64.go | 1 + .../x/sys/unix/zerrors_solaris_amd64.go | 1 + .../x/sys/unix/zerrors_zos_s390x.go | 831 + .../x/sys/unix/zptrace_armnn_linux.go | 1 + .../x/sys/unix/zptrace_mipsnn_linux.go | 1 + .../x/sys/unix/zptrace_mipsnnle_linux.go | 1 + .../x/sys/unix/zptrace_x86_linux.go | 1 + .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 1 + .../x/sys/unix/zsyscall_aix_ppc64.go | 1 + .../x/sys/unix/zsyscall_aix_ppc64_gc.go | 4 +- .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go | 4 +- .../x/sys/unix/zsyscall_darwin_386.1_13.go | 3 +- .../x/sys/unix/zsyscall_darwin_386.go | 151 +- .../x/sys/unix/zsyscall_darwin_amd64.1_13.go | 3 +- .../x/sys/unix/zsyscall_darwin_amd64.go | 151 +- .../x/sys/unix/zsyscall_darwin_arm.1_13.go | 3 +- .../x/sys/unix/zsyscall_darwin_arm.go | 148 +- .../x/sys/unix/zsyscall_darwin_arm64.1_13.go | 3 +- .../x/sys/unix/zsyscall_darwin_arm64.go | 151 +- .../x/sys/unix/zsyscall_dragonfly_amd64.go | 13 + .../x/sys/unix/zsyscall_freebsd_386.go | 1 + .../x/sys/unix/zsyscall_freebsd_amd64.go | 1 + .../x/sys/unix/zsyscall_freebsd_arm.go | 1 + .../x/sys/unix/zsyscall_freebsd_arm64.go | 1 + .../x/sys/unix/zsyscall_illumos_amd64.go | 16 +- .../golang.org/x/sys/unix/zsyscall_linux.go | 1 + .../x/sys/unix/zsyscall_linux_386.go | 1 + .../x/sys/unix/zsyscall_linux_amd64.go | 1 + .../x/sys/unix/zsyscall_linux_arm.go | 1 + .../x/sys/unix/zsyscall_linux_arm64.go | 1 + .../x/sys/unix/zsyscall_linux_mips.go | 1 + .../x/sys/unix/zsyscall_linux_mips64.go | 1 + .../x/sys/unix/zsyscall_linux_mips64le.go | 1 + .../x/sys/unix/zsyscall_linux_mipsle.go | 1 + .../x/sys/unix/zsyscall_linux_ppc64.go | 1 + .../x/sys/unix/zsyscall_linux_ppc64le.go | 1 + .../x/sys/unix/zsyscall_linux_riscv64.go | 1 + .../x/sys/unix/zsyscall_linux_s390x.go | 1 + .../x/sys/unix/zsyscall_linux_sparc64.go | 1 + .../x/sys/unix/zsyscall_netbsd_386.go | 11 + .../x/sys/unix/zsyscall_netbsd_amd64.go | 11 + .../x/sys/unix/zsyscall_netbsd_arm.go | 11 + .../x/sys/unix/zsyscall_netbsd_arm64.go | 11 + .../x/sys/unix/zsyscall_openbsd_386.go | 1 + .../x/sys/unix/zsyscall_openbsd_amd64.go | 1 + .../x/sys/unix/zsyscall_openbsd_arm.go | 1 + .../x/sys/unix/zsyscall_openbsd_arm64.go | 1 + .../x/sys/unix/zsyscall_openbsd_mips64.go | 1 + .../x/sys/unix/zsyscall_solaris_amd64.go | 28 + .../x/sys/unix/zsyscall_zos_s390x.go | 1217 + .../x/sys/unix/zsysctl_openbsd_386.go | 1 + .../x/sys/unix/zsysctl_openbsd_amd64.go | 1 + .../x/sys/unix/zsysctl_openbsd_arm.go | 1 + .../x/sys/unix/zsysctl_openbsd_arm64.go | 1 + .../x/sys/unix/zsysctl_openbsd_mips64.go | 1 + .../x/sys/unix/zsysnum_darwin_386.go | 1 + .../x/sys/unix/zsysnum_darwin_amd64.go | 1 + .../x/sys/unix/zsysnum_darwin_arm.go | 1 + .../x/sys/unix/zsysnum_darwin_arm64.go | 1 + .../x/sys/unix/zsysnum_dragonfly_amd64.go | 1 + .../x/sys/unix/zsysnum_freebsd_386.go | 1 + .../x/sys/unix/zsysnum_freebsd_amd64.go | 1 + .../x/sys/unix/zsysnum_freebsd_arm.go | 1 + .../x/sys/unix/zsysnum_freebsd_arm64.go | 1 + .../x/sys/unix/zsysnum_linux_386.go | 3 + .../x/sys/unix/zsysnum_linux_amd64.go | 3 + .../x/sys/unix/zsysnum_linux_arm.go | 3 + .../x/sys/unix/zsysnum_linux_arm64.go | 3 + .../x/sys/unix/zsysnum_linux_mips.go | 3 + .../x/sys/unix/zsysnum_linux_mips64.go | 3 + .../x/sys/unix/zsysnum_linux_mips64le.go | 3 + .../x/sys/unix/zsysnum_linux_mipsle.go | 3 + .../x/sys/unix/zsysnum_linux_ppc64.go | 3 + .../x/sys/unix/zsysnum_linux_ppc64le.go | 3 + .../x/sys/unix/zsysnum_linux_riscv64.go | 3 + .../x/sys/unix/zsysnum_linux_s390x.go | 3 + .../x/sys/unix/zsysnum_linux_sparc64.go | 3 + .../x/sys/unix/zsysnum_netbsd_386.go | 1 + .../x/sys/unix/zsysnum_netbsd_amd64.go | 1 + .../x/sys/unix/zsysnum_netbsd_arm.go | 1 + .../x/sys/unix/zsysnum_netbsd_arm64.go | 1 + .../x/sys/unix/zsysnum_openbsd_386.go | 1 + .../x/sys/unix/zsysnum_openbsd_amd64.go | 1 + .../x/sys/unix/zsysnum_openbsd_arm.go | 1 + .../x/sys/unix/zsysnum_openbsd_arm64.go | 1 + .../x/sys/unix/zsysnum_openbsd_mips64.go | 1 + .../x/sys/unix/zsysnum_zos_s390x.go | 2670 + .../golang.org/x/sys/unix/ztypes_aix_ppc.go | 2 + .../golang.org/x/sys/unix/ztypes_aix_ppc64.go | 2 + .../x/sys/unix/ztypes_darwin_386.go | 2 + .../x/sys/unix/ztypes_darwin_amd64.go | 10 + .../x/sys/unix/ztypes_darwin_arm.go | 2 + .../x/sys/unix/ztypes_darwin_arm64.go | 10 + .../x/sys/unix/ztypes_dragonfly_amd64.go | 2 + .../x/sys/unix/ztypes_freebsd_386.go | 11 + .../x/sys/unix/ztypes_freebsd_amd64.go | 11 + .../x/sys/unix/ztypes_freebsd_arm.go | 11 + .../x/sys/unix/ztypes_freebsd_arm64.go | 11 + vendor/golang.org/x/sys/unix/ztypes_linux.go | 1544 +- .../golang.org/x/sys/unix/ztypes_linux_386.go | 3 +- .../x/sys/unix/ztypes_linux_amd64.go | 3 +- .../golang.org/x/sys/unix/ztypes_linux_arm.go | 3 +- .../x/sys/unix/ztypes_linux_arm64.go | 3 +- .../x/sys/unix/ztypes_linux_mips.go | 3 +- .../x/sys/unix/ztypes_linux_mips64.go | 3 +- .../x/sys/unix/ztypes_linux_mips64le.go | 3 +- .../x/sys/unix/ztypes_linux_mipsle.go | 3 +- .../x/sys/unix/ztypes_linux_ppc64.go | 3 +- .../x/sys/unix/ztypes_linux_ppc64le.go | 3 +- .../x/sys/unix/ztypes_linux_riscv64.go | 3 +- .../x/sys/unix/ztypes_linux_s390x.go | 3 +- .../x/sys/unix/ztypes_linux_sparc64.go | 3 +- .../x/sys/unix/ztypes_netbsd_386.go | 2 + .../x/sys/unix/ztypes_netbsd_amd64.go | 2 + .../x/sys/unix/ztypes_netbsd_arm.go | 2 + .../x/sys/unix/ztypes_netbsd_arm64.go | 2 + .../x/sys/unix/ztypes_openbsd_386.go | 2 + .../x/sys/unix/ztypes_openbsd_amd64.go | 2 + .../x/sys/unix/ztypes_openbsd_arm.go | 2 + .../x/sys/unix/ztypes_openbsd_arm64.go | 2 + .../x/sys/unix/ztypes_openbsd_mips64.go | 2 + .../x/sys/unix/ztypes_solaris_amd64.go | 2 + .../golang.org/x/sys/unix/ztypes_zos_s390x.go | 402 + .../golang.org/x/sys/windows/dll_windows.go | 3 +- .../golang.org/x/sys/windows/exec_windows.go | 35 + vendor/golang.org/x/sys/windows/mkerrors.bash | 7 + .../x/sys/windows/security_windows.go | 27 +- vendor/golang.org/x/sys/windows/service.go | 6 + .../x/sys/windows/syscall_windows.go | 231 +- .../golang.org/x/sys/windows/types_windows.go | 1037 +- .../x/sys/windows/types_windows_arm64.go | 34 + .../x/sys/windows/zerrors_windows.go | 2619 +- .../x/sys/windows/zsyscall_windows.go | 594 +- vendor/gopkg.in/yaml.v2/.travis.yml | 1 + vendor/gopkg.in/yaml.v2/apic.go | 5 + vendor/gopkg.in/yaml.v2/go.mod | 8 +- vendor/gopkg.in/yaml.v2/yaml.go | 14 +- vendor/k8s.io/klog/v2/go.mod | 2 +- vendor/k8s.io/klog/v2/go.sum | 4 +- vendor/k8s.io/klog/v2/klog.go | 52 +- vendor/modules.txt | 39 +- 445 files changed, 171052 insertions(+), 109987 deletions(-) create mode 100644 vendor/github.com/go-logr/logr/discard.go create mode 100644 vendor/github.com/google/go-jsonnet/.golangci.yml create mode 100644 vendor/github.com/google/go-jsonnet/.goreleaser.yml create mode 100644 vendor/github.com/google/go-jsonnet/.tool-versions create mode 100644 vendor/github.com/google/go-jsonnet/MANIFEST.in create mode 100644 vendor/github.com/google/go-jsonnet/Makefile create mode 100644 vendor/github.com/google/go-jsonnet/benchmark.sh create mode 100644 vendor/github.com/google/go-jsonnet/cmd/internal/cmd/BUILD.bazel create mode 100644 vendor/github.com/google/go-jsonnet/cmd/internal/cmd/utils.go create mode 100644 vendor/github.com/google/go-jsonnet/internal/parser/string_util.go delete mode 100644 vendor/github.com/google/go-jsonnet/key.json.enc delete mode 100644 vendor/github.com/google/go-jsonnet/mutually_recursive_defaults.input delete mode 100644 vendor/github.com/google/go-jsonnet/release.sh delete mode 100644 vendor/github.com/google/go-jsonnet/reset_stdast_go.sh create mode 100644 vendor/github.com/google/go-jsonnet/setup.py delete mode 100644 vendor/github.com/google/go-jsonnet/std.thisFile.jsonnet create mode 100644 vendor/github.com/google/go-jsonnet/update_cpp_jsonnet.sh create mode 100644 vendor/github.com/google/go-jsonnet/util.go delete mode 100644 vendor/github.com/prometheus/client_golang/prometheus/build_info.go delete mode 100644 vendor/github.com/prometheus/client_golang/prometheus/build_info_pre_1.12.go create mode 100644 vendor/github.com/prometheus/procfs/CODE_OF_CONDUCT.md create mode 100644 vendor/github.com/prometheus/procfs/SECURITY.md rename vendor/github.com/prometheus/procfs/{cpuinfo_arm64.go => cpuinfo_armx.go} (97%) delete mode 100644 vendor/github.com/prometheus/procfs/cpuinfo_mips64le.go delete mode 100644 vendor/github.com/prometheus/procfs/cpuinfo_mipsle.go rename vendor/github.com/prometheus/procfs/{cpuinfo_mips.go => cpuinfo_mipsx.go} (94%) rename vendor/github.com/prometheus/procfs/{cpuinfo_arm.go => cpuinfo_others.go} (82%) delete mode 100644 vendor/github.com/prometheus/procfs/cpuinfo_ppc64le.go rename vendor/github.com/prometheus/procfs/{cpuinfo_ppc64.go => cpuinfo_ppcx.go} (96%) rename vendor/github.com/prometheus/procfs/{cpuinfo_mips64.go => cpuinfo_riscvx.go} (91%) rename vendor/github.com/prometheus/procfs/{cpuinfo_default.go => cpuinfo_x86.go} (100%) create mode 100644 vendor/github.com/prometheus/procfs/net_ip_socket.go create mode 100644 vendor/github.com/prometheus/procfs/net_protocols.go create mode 100644 vendor/github.com/prometheus/procfs/net_tcp.go create mode 100644 vendor/github.com/prometheus/procfs/slab.go create mode 100644 vendor/golang.org/x/sys/unix/asm_zos_s390x.s create mode 100644 vendor/golang.org/x/sys/unix/dev_zos.go create mode 100644 vendor/golang.org/x/sys/unix/epoll_zos.go create mode 100644 vendor/golang.org/x/sys/unix/fstatfs_zos.go create mode 100644 vendor/golang.org/x/sys/unix/ioctl_zos.go create mode 100644 vendor/golang.org/x/sys/unix/ptrace_darwin.go create mode 100644 vendor/golang.org/x/sys/unix/ptrace_ios.go create mode 100644 vendor/golang.org/x/sys/unix/syscall_zos_s390x.go create mode 100644 vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go create mode 100644 vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go create mode 100644 vendor/golang.org/x/sys/windows/types_windows_arm64.go diff --git a/go.mod b/go.mod index 47420ad839..8f7fccfbc4 100644 --- a/go.mod +++ b/go.mod @@ -1,35 +1,47 @@ module k8s.io/kube-state-metrics/v2 require ( - github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect - github.com/brancz/gojsontoyaml v0.0.0-20190425155809-e8bd32d46b3d + cloud.google.com/go v0.74.0 // indirect + github.com/Azure/go-autorest/autorest v0.11.18 // indirect + github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect + github.com/brancz/gojsontoyaml v0.0.0-20201216083616-202f76bf8c1f github.com/campoy/embedmd v1.0.0 github.com/dgryski/go-jump v0.0.0-20170409065014-e1f439676b57 - github.com/fatih/color v1.9.0 // indirect - github.com/google/go-jsonnet v0.14.0 + github.com/gogo/protobuf v1.3.2 // indirect + github.com/google/go-jsonnet v0.17.0 github.com/jsonnet-bundler/jsonnet-bundler v0.4.1-0.20200708074244-ada055a225fa + github.com/kr/text v0.2.0 // indirect github.com/mattn/go-colorable v0.1.7 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect github.com/oklog/run v1.1.0 github.com/pkg/errors v0.9.1 - github.com/prometheus/client_golang v1.7.1 + github.com/prometheus/client_golang v1.10.0 github.com/prometheus/client_model v0.2.0 - github.com/prometheus/common v0.10.0 + github.com/prometheus/common v0.19.0 github.com/prometheus/prometheus v2.5.0+incompatible - github.com/robfig/cron/v3 v3.0.0 + github.com/robfig/cron/v3 v3.0.1 github.com/spf13/pflag v1.0.5 - golang.org/x/tools v0.0.0-20200616133436-c1934b75d054 - k8s.io/api v0.20.0 - k8s.io/apimachinery v0.20.0 - k8s.io/autoscaler/vertical-pod-autoscaler v0.0.0-20200727194258-b7922d74509c - k8s.io/client-go v0.20.0 - k8s.io/klog/v2 v2.4.0 + github.com/stretchr/testify v1.7.0 // indirect + golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9 // indirect + golang.org/x/net v0.0.0-20210119194325-5f4716e94777 // indirect + golang.org/x/oauth2 v0.0.0-20210210192628-66670185b0cd // indirect + golang.org/x/text v0.3.5 // indirect + golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect + golang.org/x/tools v0.1.0 + gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect + gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect + k8s.io/api v0.20.4 + k8s.io/apimachinery v0.20.4 + k8s.io/autoscaler/vertical-pod-autoscaler v0.9.2 + k8s.io/client-go v0.20.4 + k8s.io/klog/v2 v2.8.0 ) replace ( - k8s.io/api v0.18.3 => k8s.io/api v0.20.0 - k8s.io/apimachinery v0.18.3 => k8s.io/apimachinery v0.18.3 - k8s.io/client-go v0.18.3 => k8s.io/client-go v0.20.0 + k8s.io/api v0.18.3 => k8s.io/api v0.20.4 + k8s.io/apimachinery v0.18.3 => k8s.io/apimachinery v0.20.4 + k8s.io/client-go v0.18.3 => k8s.io/client-go v0.20.4 ) go 1.16 diff --git a/go.sum b/go.sum index 1b8984558e..6639b61d0d 100644 --- a/go.sum +++ b/go.sum @@ -8,67 +8,111 @@ cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0 h1:3ithwDMr7/3vpAMXiH+ZQnYbuIsh+OPhUPMFC9enmn0= cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0 h1:kpgPA77kSSbjSs+fWHkPTxQ6J5Z2Qkruo5jfXEkHxNQ= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.1 h1:eVvIXUKiTgv++6YnWb42DUA1YL7qDugnKP0HljexdnQ= github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= +github.com/Azure/go-autorest/autorest v0.11.18 h1:90Y4srNYrwOtAgVo3ndrQkTYn6kf1Eg/AjTFJ8Is2aM= +github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.5 h1:Y3bBUV4rTuxenJJs41HU3qmqsb+auo+a3Lz+PlJPpL0= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= +github.com/Azure/go-autorest/autorest/adal v0.9.13 h1:Mp5hbtOePIzM8pJVRa3YLrWWmZtoxRXqUEzCfJt3+/Q= +github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/logger v0.2.0 h1:e4RVHVZKC5p6UANLJHkM4OfR1UKZPj8Wt8Pcx+3oqrE= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= +github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 h1:AUNCr9CiJuwrRYS3XieqF+Z9B9gNxo/eANAJCF2eiN4= +github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= +github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/brancz/gojsontoyaml v0.0.0-20190425155809-e8bd32d46b3d h1:DMb8SuAL9+demT8equqMMzD8C/uxqWmj4cgV7ufrpQo= -github.com/brancz/gojsontoyaml v0.0.0-20190425155809-e8bd32d46b3d/go.mod h1:IyUJYN1gvWjtLF5ZuygmxbnsAyP3aJS6cHzIuZY50B0= +github.com/brancz/gojsontoyaml v0.0.0-20201216083616-202f76bf8c1f h1:eyhpHbo03QUlPHSTt5El8XayORJVl9/7Im3HXV0zRAY= +github.com/brancz/gojsontoyaml v0.0.0-20201216083616-202f76bf8c1f/go.mod h1:eiVwwkJ9JtehmGNiFz03FXpw889jH63XGuhIeug3u4s= github.com/campoy/embedmd v1.0.0 h1:V4kI2qTJJLf4J29RzI/MAt2c3Bl4dQSYPuflzwFH2hY= github.com/campoy/embedmd v1.0.0/go.mod h1:oxyr9RCiSXg0M3VJ3ks0UGfp98BpSSGr0kpiX3MzVl8= +github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= +github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -77,12 +121,20 @@ github.com/dgryski/go-jump v0.0.0-20170409065014-e1f439676b57 h1:qZNIK8jjHgLFHAW github.com/dgryski/go-jump v0.0.0-20170409065014-e1f439676b57/go.mod h1:4hKCXuwrJoYvHZxJ86+bRVTOMyJ0Ej+RqfSm8mHi6KA= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.9.0+incompatible h1:kLcOMZeuLAJvL2BPWLMIj5oaZQobrkAqrL+WFZwQses= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= @@ -90,6 +142,8 @@ github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= +github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= @@ -100,11 +154,14 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0 h1:QvGt2nLcHH0WK9orKa+ppBPAxREcH364nPUedEpK0TY= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v0.4.0 h1:K7/B1jt6fIBQVd4Owv2MqGQClcgf0R266+7C/QjRcLc= +github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= @@ -116,10 +173,15 @@ github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8 github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -131,12 +193,15 @@ github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= @@ -146,46 +211,90 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2 h1:X2ev0eStA3AbceY54o37/0PQ/UWqKEiiO2dKL5OPaFM= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-jsonnet v0.14.0 h1:as/sAfmjOHqY/OMBR4mv9I8ZY0/jNuqN3u44AicwxPs= -github.com/google/go-jsonnet v0.14.0/go.mod h1:zPGC9lj/TbjkBtUACIvYR/ILHrFqKRhxeEA+bLyeMnY= +github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-jsonnet v0.17.0 h1:/9NIEfhK1NQRKl3sP2536b2+x5HnZMdql7x3yK/l8JY= +github.com/google/go-jsonnet v0.17.0/go.mod h1:sOcuej3UW1vpPTZOr8L7RQimqai1a57bt5j22LzGZCw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.4.1 h1:DLJCy1n/vrD4HPjOvYcT8aYQXpPIzoRZONaYwyycI+I= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= +github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.5 h1:JboBksRwiiAJWvIYJVo46AfV+IAIKZpfrSzVKj42R4Q= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= @@ -193,37 +302,52 @@ github.com/jsonnet-bundler/jsonnet-bundler v0.4.1-0.20200708074244-ada055a225fa github.com/jsonnet-bundler/jsonnet-bundler v0.4.1-0.20200708074244-ada055a225fa/go.mod h1:/by7P/OoohkI3q4CgSFqcoFsVY+IaNbzOVDknEsKDeU= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= +github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.7 h1:bQGKb3vps/j0E9GfJQ03JyhRuxsvdAanXlT9BTw3mdw= github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.6/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= @@ -233,76 +357,162 @@ github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9 github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= +github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= +github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= +github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= +github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= +github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.11.0 h1:JAKSXpt1YjtLA7YpPiqO9ss6sNXEsPfSGdwN0UHqzrw= github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.0 h1:XPnZz8VVBHjVsy1vzJmRwIcSwiUO+JFfrv/xGiigmME= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= +github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= +github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= +github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= +github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1 h1:NTGy1Ja9pByO+xAeH/qiWnLrKtr3hJPNjaVUwnjpdpA= +github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.10.0 h1:/o0BDeWzLWXNZ+4q5gXltUvaMpJqckTa+jTNoB+z4cg= +github.com/prometheus/client_golang v1.10.0/go.mod h1:WJM3cc3yu7XKBKa/I8WeZm+V3eltZnBwfENSU7mdogU= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0 h1:RyRA7RzGXQZiW+tGMr7sxa85G1z0yOpM1qq5c8lNawc= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.18.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= +github.com/prometheus/common v0.19.0 h1:Itb4+NjG9wRdkAWgVucbM/adyIXxEhbw0866e0uZE6A= +github.com/prometheus/common v0.19.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= -github.com/prometheus/procfs v0.1.3 h1:F0+tqvhOksq22sc6iCHF5WGlWjdwj92p0udFh1VFBS8= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/prometheus v2.5.0+incompatible h1:7QPitgO2kOFG8ecuRn9O/4L9+10He72rVRJvMXrE9Hg= github.com/prometheus/prometheus v2.5.0+incompatible/go.mod h1:oAIUtOny2rjMX0OWN5vPR5/q/twIROJvdqnQKDdil/s= -github.com/robfig/cron/v3 v3.0.0 h1:kQ6Cb7aHOHTSzNVNEhmp8EcWKLb4CbiMW9h9VyIhO4E= -github.com/robfig/cron/v3 v3.0.0/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= +github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= +github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 h1:hb9wdF1z5waM+dSIICn1l0DkLVDT3hqhhQsDNUmHPRE= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9 h1:sYNJzB4J8toYPQTM6pAkcmBRgw9SnQKP9oXCHfgy604= +golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -325,6 +535,7 @@ golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -332,12 +543,18 @@ golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -346,7 +563,9 @@ golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -356,25 +575,48 @@ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b h1:uwuIcX0g4Yl1NC5XAz37xsr2lTtcqevgzYNVt49waME= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777 h1:003p0dJM77cxMSyCPFphvZf/Y5/NXf5fzg6ufd1/Oew= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210210192628-66670185b0cd h1:2arJsLyTCJGek+eeptQ3z49Rqndm0f+zvvpwNIXWNIA= +golang.org/x/oauth2 v0.0.0-20210210192628-66670185b0cd/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190310054646-10058d7d4faa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -383,16 +625,16 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -403,23 +645,44 @@ golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd h1:5CtCZbICpIOFdgO940moixOPjc0178IU44m4EjOO5IY= golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210309074719-68d13333faf2 h1:46ULzRKLh1CwgRq2dC5SlBzEqqNCi8rreOZnNrbqcIY= +golang.org/x/sys v0.0.0-20210309074719-68d13333faf2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e h1:EHBhcS0mlXEAVwNyO2dLfjToGsyY4j24pTs2ScHnX7s= golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 h1:Hir2P/De0WpUhtrKGGjvSb2YxUgyZ7EFOSLIcSSpiwE= +golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -428,6 +691,7 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= @@ -439,6 +703,8 @@ golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -446,6 +712,7 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -453,14 +720,31 @@ golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200616133436-c1934b75d054 h1:HHeAlu5H9b71C+Fx0K+1dGgVFN1DM1/wz4aoGOA5qS8= -golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -470,18 +754,30 @@ google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsb google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5 h1:tycE03LOZYQNhDpS27tcQdAzLCVMaj7QT2SXxebnpCM= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= @@ -494,15 +790,42 @@ google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvx google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -511,45 +834,55 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/yaml.v2 v2.1.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.20.0 h1:WwrYoZNM1W1aQEbyl8HNG+oWGzLpZQBlcerS9BQw9yI= -k8s.io/api v0.20.0/go.mod h1:HyLC5l5eoS/ygQYl1BXBgFzWNlkHiAuyNAbevIn+FKg= -k8s.io/apimachinery v0.18.3/go.mod h1:OaXp26zu/5J7p0f92ASynJa1pZo06YlV9fG7BoWbCko= -k8s.io/apimachinery v0.20.0 h1:jjzbTJRXk0unNS71L7h3lxGDH/2HPxMPaQY+MjECKL8= -k8s.io/apimachinery v0.20.0/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/autoscaler/vertical-pod-autoscaler v0.0.0-20200727194258-b7922d74509c h1:y/FLIxopomJplrOAqT157NJNWqHJP9QbTcYXGEYGJmk= -k8s.io/autoscaler/vertical-pod-autoscaler v0.0.0-20200727194258-b7922d74509c/go.mod h1:PwWTGRRCxefhAezrDbG/tRYSAW7etHjjMPAr8fXKVAA= -k8s.io/client-go v0.20.0 h1:Xlax8PKbZsjX4gFvNtt4F5MoJ1V5prDvCuoq9B7iax0= -k8s.io/client-go v0.20.0/go.mod h1:4KWh/g+Ocd8KkCwKF8vUNnmqgv+EVnQDK4MBF4oB5tY= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +k8s.io/api v0.20.4 h1:xZjKidCirayzX6tHONRQyTNDVIR55TYVqgATqo6ZULY= +k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= +k8s.io/apimachinery v0.20.4 h1:vhxQ0PPUUU2Ns1b9r4/UFp13UPs8cw2iOoTjnY9faa0= +k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/autoscaler/vertical-pod-autoscaler v0.9.2 h1:fMFkbjo6ElaL3POE3ctxLuX3aR+bEzpo2q1R5Aq2JhE= +k8s.io/autoscaler/vertical-pod-autoscaler v0.9.2/go.mod h1:PwWTGRRCxefhAezrDbG/tRYSAW7etHjjMPAr8fXKVAA= +k8s.io/client-go v0.20.4 h1:85crgh1IotNkLpKYKZHVNI1JT86nr/iDCvq2iWKsql4= +k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= k8s.io/code-generator v0.18.3/go.mod h1:TgNEVx9hCyPGpdtCWA34olQYLkh3ok9ar7XfSsr8b6c= k8s.io/component-base v0.18.3/go.mod h1:bp5GzGR0aGkYEfTj+eTY0AN/vXTgkJdQXjNTTVUaa3k= k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= @@ -560,8 +893,9 @@ k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.4.0 h1:7+X0fUguPyrKEC4WjH8iGDg3laWgMo5tMnRTIGTTxGQ= k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.8.0 h1:Q3gmuM9hKEjefWFFYF0Mat+YyFJvsUyYuwyNNJ5C9Ts= +k8s.io/klog/v2 v2.8.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E= k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd h1:sOHNzJIkytDF6qadMNKhhDRpc6ODik8lVC6nOur7B2c= k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= @@ -573,9 +907,9 @@ rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8 rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= -sigs.k8s.io/structured-merge-diff/v3 v3.0.0/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= sigs.k8s.io/structured-merge-diff/v4 v4.0.2 h1:YHQV7Dajm86OuqnIR6zAelnDWBRjo+YhYV9PmGrh1s8= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/vendor/github.com/brancz/gojsontoyaml/go.mod b/vendor/github.com/brancz/gojsontoyaml/go.mod index 0e2b987e24..e146e157e1 100644 --- a/vendor/github.com/brancz/gojsontoyaml/go.mod +++ b/vendor/github.com/brancz/gojsontoyaml/go.mod @@ -4,5 +4,5 @@ go 1.12 require ( github.com/ghodss/yaml v1.0.0 - gopkg.in/yaml.v2 v2.1.1 + gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/vendor/github.com/brancz/gojsontoyaml/go.sum b/vendor/github.com/brancz/gojsontoyaml/go.sum index 36bbcbc06c..0f65cfd94b 100644 --- a/vendor/github.com/brancz/gojsontoyaml/go.sum +++ b/vendor/github.com/brancz/gojsontoyaml/go.sum @@ -1,5 +1,6 @@ github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.1.1 h1:fxK3tv8mQPVEgxu/S2LJ040LyqiajHt+syP0CdDS/Sc= -gopkg.in/yaml.v2 v2.1.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/vendor/github.com/brancz/gojsontoyaml/main.go b/vendor/github.com/brancz/gojsontoyaml/main.go index 83c2e8ea94..092865cc29 100644 --- a/vendor/github.com/brancz/gojsontoyaml/main.go +++ b/vendor/github.com/brancz/gojsontoyaml/main.go @@ -13,14 +13,6 @@ func main() { yamltojson := flag.Bool("yamltojson", false, "Convert yaml to json instead of the default json to yaml.") flag.Parse() - fi, err := os.Stdin.Stat() - if err != nil { - log.Fatal(err) - } - if fi.Mode()&os.ModeNamedPipe == 0 { - log.Fatal("no data to read from stdin") - } - inBytes, err := ioutil.ReadAll(os.Stdin) if err != nil { log.Fatal(err) diff --git a/vendor/github.com/go-logr/logr/README.md b/vendor/github.com/go-logr/logr/README.md index aca17f3827..e9b5520a1c 100644 --- a/vendor/github.com/go-logr/logr/README.md +++ b/vendor/github.com/go-logr/logr/README.md @@ -41,6 +41,8 @@ There are implementations for the following logging libraries: - **log** (the Go standard library logger): [stdr](https://github.com/go-logr/stdr) - **github.com/sirupsen/logrus**: [logrusr](https://github.com/bombsimon/logrusr) +- **github.com/wojas/genericr**: [genericr](https://github.com/wojas/genericr) (makes it easy to implement your own backend) +- **logfmt** (Heroku style [logging](https://www.brandur.org/logfmt)): [logfmtr](https://github.com/iand/logfmtr) # FAQ diff --git a/vendor/github.com/go-logr/logr/discard.go b/vendor/github.com/go-logr/logr/discard.go new file mode 100644 index 0000000000..2bafb13d15 --- /dev/null +++ b/vendor/github.com/go-logr/logr/discard.go @@ -0,0 +1,51 @@ +/* +Copyright 2020 The logr Authors. + +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. +*/ + +package logr + +// Discard returns a valid Logger that discards all messages logged to it. +// It can be used whenever the caller is not interested in the logs. +func Discard() Logger { + return DiscardLogger{} +} + +// DiscardLogger is a Logger that discards all messages. +type DiscardLogger struct{} + +func (l DiscardLogger) Enabled() bool { + return false +} + +func (l DiscardLogger) Info(msg string, keysAndValues ...interface{}) { +} + +func (l DiscardLogger) Error(err error, msg string, keysAndValues ...interface{}) { +} + +func (l DiscardLogger) V(level int) Logger { + return l +} + +func (l DiscardLogger) WithValues(keysAndValues ...interface{}) Logger { + return l +} + +func (l DiscardLogger) WithName(name string) Logger { + return l +} + +// Verify that it actually implements the interface +var _ Logger = DiscardLogger{} diff --git a/vendor/github.com/go-logr/logr/logr.go b/vendor/github.com/go-logr/logr/logr.go index 520c4fe559..842428bd3a 100644 --- a/vendor/github.com/go-logr/logr/logr.go +++ b/vendor/github.com/go-logr/logr/logr.go @@ -14,18 +14,15 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Package logr defines abstract interfaces for logging. Packages can depend on -// these interfaces and callers can implement logging in whatever way is -// appropriate. -// // This design derives from Dave Cheney's blog: // http://dave.cheney.net/2015/11/05/lets-talk-about-logging // // This is a BETA grade API. Until there is a significant 2nd implementation, // I don't really know how it will change. -// -// The logging specifically makes it non-trivial to use format strings, to encourage -// attaching structured information instead of unstructured format strings. + +// Package logr defines abstract interfaces for logging. Packages can depend on +// these interfaces and callers can implement logging in whatever way is +// appropriate. // // Usage // @@ -40,17 +37,16 @@ limitations under the License. // we want to log that we've made some decision. // // With the traditional log package, we might write: -// log.Printf( -// "decided to set field foo to value %q for object %s/%s", +// log.Printf("decided to set field foo to value %q for object %s/%s", // targetValue, object.Namespace, object.Name) // // With logr's structured logging, we'd write: -// // elsewhere in the file, set up the logger to log with the prefix of "reconcilers", -// // and the named value target-type=Foo, for extra context. -// log := mainLogger.WithName("reconcilers").WithValues("target-type", "Foo") +// // elsewhere in the file, set up the logger to log with the prefix of +// // "reconcilers", and the named value target-type=Foo, for extra context. +// log := mainLogger.WithName("reconcilers").WithValues("target-type", "Foo") // -// // later on... -// log.Info("setting field foo on object", "value", targetValue, "object", object) +// // later on... +// log.Info("setting foo on object", "value", targetValue, "object", object) // // Depending on our logging implementation, we could then make logging decisions // based on field values (like only logging such events for objects in a certain @@ -78,9 +74,9 @@ limitations under the License. // Each log message from a Logger has four types of context: // logger name, log verbosity, log message, and the named values. // -// The Logger name constists of a series of name "segments" added by successive +// The Logger name consists of a series of name "segments" added by successive // calls to WithName. These name segments will be joined in some way by the -// underlying implementation. It is strongly reccomended that name segements +// underlying implementation. It is strongly recommended that name segments // contain simple identifiers (letters, digits, and hyphen), and do not contain // characters that could muddle the log output or confuse the joining operation // (e.g. whitespace, commas, periods, slashes, brackets, quotes, etc). @@ -91,8 +87,8 @@ limitations under the License. // and log messages for users to filter on. It's illegal to pass a log level // below zero. // -// The log message consists of a constant message attached to the the log line. -// This should generally be a simple description of what's occuring, and should +// The log message consists of a constant message attached to the log line. +// This should generally be a simple description of what's occurring, and should // never be a format string. // // Variable information can then be attached using named values (key/value @@ -115,24 +111,38 @@ limitations under the License. // generally best to avoid using the following keys, as they're frequently used // by implementations: // -// - `"caller"`: the calling information (file/line) of a particular log line. -// - `"error"`: the underlying error value in the `Error` method. -// - `"level"`: the log level. -// - `"logger"`: the name of the associated logger. -// - `"msg"`: the log message. -// - `"stacktrace"`: the stack trace associated with a particular log line or -// error (often from the `Error` message). -// - `"ts"`: the timestamp for a log line. +// * `"caller"`: the calling information (file/line) of a particular log line. +// * `"error"`: the underlying error value in the `Error` method. +// * `"level"`: the log level. +// * `"logger"`: the name of the associated logger. +// * `"msg"`: the log message. +// * `"stacktrace"`: the stack trace associated with a particular log line or +// error (often from the `Error` message). +// * `"ts"`: the timestamp for a log line. // // Implementations are encouraged to make use of these keys to represent the -// above concepts, when neccessary (for example, in a pure-JSON output form, it +// above concepts, when necessary (for example, in a pure-JSON output form, it // would be necessary to represent at least message and timestamp as ordinary // named values). +// +// Implementations may choose to give callers access to the underlying +// logging implementation. The recommended pattern for this is: +// // Underlier exposes access to the underlying logging implementation. +// // Since callers only have a logr.Logger, they have to know which +// // implementation is in use, so this interface is less of an abstraction +// // and more of way to test type conversion. +// type Underlier interface { +// GetUnderlying() +// } package logr +import ( + "context" +) + // TODO: consider adding back in format strings if they're really needed // TODO: consider other bits of zap/zapcore functionality like ObjectMarshaller (for arbitrary objects) -// TODO: consider other bits of glog functionality like Flush, InfoDepth, OutputStats +// TODO: consider other bits of glog functionality like Flush, OutputStats // Logger represents the ability to log messages, both errors and not. type Logger interface { @@ -171,8 +181,86 @@ type Logger interface { // WithName adds a new element to the logger's name. // Successive calls with WithName continue to append - // suffixes to the logger's name. It's strongly reccomended + // suffixes to the logger's name. It's strongly recommended // that name segments contain only letters, digits, and hyphens // (see the package documentation for more information). WithName(name string) Logger } + +// InfoLogger provides compatibility with code that relies on the v0.1.0 +// interface. +// +// Deprecated: InfoLogger is an artifact of early versions of this API. New +// users should never use it and existing users should use Logger instead. This +// will be removed in a future release. +type InfoLogger = Logger + +type contextKey struct{} + +// FromContext returns a Logger constructed from ctx or nil if no +// logger details are found. +func FromContext(ctx context.Context) Logger { + if v, ok := ctx.Value(contextKey{}).(Logger); ok { + return v + } + + return nil +} + +// FromContextOrDiscard returns a Logger constructed from ctx or a Logger +// that discards all messages if no logger details are found. +func FromContextOrDiscard(ctx context.Context) Logger { + if v, ok := ctx.Value(contextKey{}).(Logger); ok { + return v + } + + return Discard() +} + +// NewContext returns a new context derived from ctx that embeds the Logger. +func NewContext(ctx context.Context, l Logger) context.Context { + return context.WithValue(ctx, contextKey{}, l) +} + +// CallDepthLogger represents a Logger that knows how to climb the call stack +// to identify the original call site and can offset the depth by a specified +// number of frames. This is useful for users who have helper functions +// between the "real" call site and the actual calls to Logger methods. +// Implementations that log information about the call site (such as file, +// function, or line) would otherwise log information about the intermediate +// helper functions. +// +// This is an optional interface and implementations are not required to +// support it. +type CallDepthLogger interface { + Logger + + // WithCallDepth returns a Logger that will offset the call stack by the + // specified number of frames when logging call site information. If depth + // is 0 the attribution should be to the direct caller of this method. If + // depth is 1 the attribution should skip 1 call frame, and so on. + // Successive calls to this are additive. + WithCallDepth(depth int) Logger +} + +// WithCallDepth returns a Logger that will offset the call stack by the +// specified number of frames when logging call site information, if possible. +// This is useful for users who have helper functions between the "real" call +// site and the actual calls to Logger methods. If depth is 0 the attribution +// should be to the direct caller of this function. If depth is 1 the +// attribution should skip 1 call frame, and so on. Successive calls to this +// are additive. +// +// If the underlying log implementation supports the CallDepthLogger interface, +// the WithCallDepth method will be called and the result returned. If the +// implementation does not support CallDepthLogger, the original Logger will be +// returned. +// +// Callers which care about whether this was supported or not should test for +// CallDepthLogger support themselves. +func WithCallDepth(logger Logger, depth int) Logger { + if decorator, ok := logger.(CallDepthLogger); ok { + return decorator.WithCallDepth(depth) + } + return logger +} diff --git a/vendor/github.com/google/go-cmp/cmp/compare.go b/vendor/github.com/google/go-cmp/cmp/compare.go index 6656186846..86d0903b8b 100644 --- a/vendor/github.com/google/go-cmp/cmp/compare.go +++ b/vendor/github.com/google/go-cmp/cmp/compare.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // Package cmp determines equality of values. // @@ -100,8 +100,8 @@ func Equal(x, y interface{}, opts ...Option) bool { // same input values and options. // // The output is displayed as a literal in pseudo-Go syntax. -// At the start of each line, a "-" prefix indicates an element removed from y, -// a "+" prefix to indicates an element added to y, and the lack of a prefix +// At the start of each line, a "-" prefix indicates an element removed from x, +// a "+" prefix to indicates an element added from y, and the lack of a prefix // indicates an element common to both x and y. If possible, the output // uses fmt.Stringer.String or error.Error methods to produce more humanly // readable outputs. In such cases, the string is prefixed with either an diff --git a/vendor/github.com/google/go-cmp/cmp/export_panic.go b/vendor/github.com/google/go-cmp/cmp/export_panic.go index dfa5d21376..5ff0b4218c 100644 --- a/vendor/github.com/google/go-cmp/cmp/export_panic.go +++ b/vendor/github.com/google/go-cmp/cmp/export_panic.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build purego diff --git a/vendor/github.com/google/go-cmp/cmp/export_unsafe.go b/vendor/github.com/google/go-cmp/cmp/export_unsafe.go index 351f1a34b4..21eb54858e 100644 --- a/vendor/github.com/google/go-cmp/cmp/export_unsafe.go +++ b/vendor/github.com/google/go-cmp/cmp/export_unsafe.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build !purego diff --git a/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go b/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go index fe98dcc677..1daaaacc5e 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build !cmp_debug diff --git a/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_enable.go b/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_enable.go index 597b6ae56b..4b91dbcaca 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_enable.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_enable.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build cmp_debug diff --git a/vendor/github.com/google/go-cmp/cmp/internal/diff/diff.go b/vendor/github.com/google/go-cmp/cmp/internal/diff/diff.go index 730e223ee7..bc196b16cf 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/diff/diff.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/diff/diff.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // Package diff implements an algorithm for producing edit-scripts. // The edit-script is a sequence of operations needed to transform one list @@ -119,7 +119,7 @@ func (r Result) Similar() bool { return r.NumSame+1 >= r.NumDiff } -var randInt = rand.New(rand.NewSource(time.Now().Unix())).Intn(2) +var randBool = rand.New(rand.NewSource(time.Now().Unix())).Intn(2) == 0 // Difference reports whether two lists of lengths nx and ny are equal // given the definition of equality provided as f. @@ -168,17 +168,6 @@ func Difference(nx, ny int, f EqualFunc) (es EditScript) { // A vertical edge is equivalent to inserting a symbol from list Y. // A diagonal edge is equivalent to a matching symbol between both X and Y. - // To ensure flexibility in changing the algorithm in the future, - // introduce some degree of deliberate instability. - // This is achieved by fiddling the zigzag iterator to start searching - // the graph starting from the bottom-right versus than the top-left. - // The result may differ depending on the starting search location, - // but still produces a valid edit script. - zigzagInit := randInt // either 0 or 1 - if flags.Deterministic { - zigzagInit = 0 - } - // Invariants: // • 0 ≤ fwdPath.X ≤ (fwdFrontier.X, revFrontier.X) ≤ revPath.X ≤ nx // • 0 ≤ fwdPath.Y ≤ (fwdFrontier.Y, revFrontier.Y) ≤ revPath.Y ≤ ny @@ -197,6 +186,11 @@ func Difference(nx, ny int, f EqualFunc) (es EditScript) { // approximately the square-root of the search budget. searchBudget := 4 * (nx + ny) // O(n) + // Running the tests with the "cmp_debug" build tag prints a visualization + // of the algorithm running in real-time. This is educational for + // understanding how the algorithm works. See debug_enable.go. + f = debug.Begin(nx, ny, f, &fwdPath.es, &revPath.es) + // The algorithm below is a greedy, meet-in-the-middle algorithm for // computing sub-optimal edit-scripts between two lists. // @@ -214,22 +208,28 @@ func Difference(nx, ny int, f EqualFunc) (es EditScript) { // frontier towards the opposite corner. // • This algorithm terminates when either the X coordinates or the // Y coordinates of the forward and reverse frontier points ever intersect. - // + // This algorithm is correct even if searching only in the forward direction // or in the reverse direction. We do both because it is commonly observed // that two lists commonly differ because elements were added to the front // or end of the other list. // - // Running the tests with the "cmp_debug" build tag prints a visualization - // of the algorithm running in real-time. This is educational for - // understanding how the algorithm works. See debug_enable.go. - f = debug.Begin(nx, ny, f, &fwdPath.es, &revPath.es) - for { + // Non-deterministically start with either the forward or reverse direction + // to introduce some deliberate instability so that we have the flexibility + // to change this algorithm in the future. + if flags.Deterministic || randBool { + goto forwardSearch + } else { + goto reverseSearch + } + +forwardSearch: + { // Forward search from the beginning. if fwdFrontier.X >= revFrontier.X || fwdFrontier.Y >= revFrontier.Y || searchBudget == 0 { - break + goto finishSearch } - for stop1, stop2, i := false, false, zigzagInit; !(stop1 && stop2) && searchBudget > 0; i++ { + for stop1, stop2, i := false, false, 0; !(stop1 && stop2) && searchBudget > 0; i++ { // Search in a diagonal pattern for a match. z := zigzag(i) p := point{fwdFrontier.X + z, fwdFrontier.Y - z} @@ -262,10 +262,14 @@ func Difference(nx, ny int, f EqualFunc) (es EditScript) { } else { fwdFrontier.Y++ } + goto reverseSearch + } +reverseSearch: + { // Reverse search from the end. if fwdFrontier.X >= revFrontier.X || fwdFrontier.Y >= revFrontier.Y || searchBudget == 0 { - break + goto finishSearch } for stop1, stop2, i := false, false, 0; !(stop1 && stop2) && searchBudget > 0; i++ { // Search in a diagonal pattern for a match. @@ -300,8 +304,10 @@ func Difference(nx, ny int, f EqualFunc) (es EditScript) { } else { revFrontier.Y-- } + goto forwardSearch } +finishSearch: // Join the forward and reverse paths and then append the reverse path. fwdPath.connect(revPath.point, f) for i := len(revPath.es) - 1; i >= 0; i-- { diff --git a/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go b/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go index a9e7fc0b5b..d8e459c9b9 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package flags diff --git a/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go index 01aed0a153..82d1d7fbf8 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build !go1.10 diff --git a/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go index c0b667f58b..8646f05293 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build go1.10 diff --git a/vendor/github.com/google/go-cmp/cmp/internal/function/func.go b/vendor/github.com/google/go-cmp/cmp/internal/function/func.go index ace1dbe86e..d127d43623 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/function/func.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/function/func.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // Package function provides functionality for identifying function types. package function diff --git a/vendor/github.com/google/go-cmp/cmp/internal/value/name.go b/vendor/github.com/google/go-cmp/cmp/internal/value/name.go index 8228e7d512..b6c12cefb4 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/value/name.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/value/name.go @@ -1,6 +1,6 @@ // Copyright 2020, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package value diff --git a/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go b/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go index e9e384a1c8..44f4a5afdd 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go @@ -1,6 +1,6 @@ // Copyright 2018, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build purego diff --git a/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go b/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go index b50c17ec72..a605953d46 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go @@ -1,6 +1,6 @@ // Copyright 2018, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. // +build !purego diff --git a/vendor/github.com/google/go-cmp/cmp/internal/value/sort.go b/vendor/github.com/google/go-cmp/cmp/internal/value/sort.go index 24fbae6e3c..98533b036c 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/value/sort.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/value/sort.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package value diff --git a/vendor/github.com/google/go-cmp/cmp/internal/value/zero.go b/vendor/github.com/google/go-cmp/cmp/internal/value/zero.go index 06a8ffd036..9147a29973 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/value/zero.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/value/zero.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package value diff --git a/vendor/github.com/google/go-cmp/cmp/options.go b/vendor/github.com/google/go-cmp/cmp/options.go index 4b0407a7f8..e57b9eb539 100644 --- a/vendor/github.com/google/go-cmp/cmp/options.go +++ b/vendor/github.com/google/go-cmp/cmp/options.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-cmp/cmp/path.go b/vendor/github.com/google/go-cmp/cmp/path.go index 603dbb0026..3d45c1a47f 100644 --- a/vendor/github.com/google/go-cmp/cmp/path.go +++ b/vendor/github.com/google/go-cmp/cmp/path.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-cmp/cmp/report.go b/vendor/github.com/google/go-cmp/cmp/report.go index aafcb36354..f43cd12eb5 100644 --- a/vendor/github.com/google/go-cmp/cmp/report.go +++ b/vendor/github.com/google/go-cmp/cmp/report.go @@ -1,6 +1,6 @@ // Copyright 2017, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-cmp/cmp/report_compare.go b/vendor/github.com/google/go-cmp/cmp/report_compare.go index 9e2180964f..a6c070cfcd 100644 --- a/vendor/github.com/google/go-cmp/cmp/report_compare.go +++ b/vendor/github.com/google/go-cmp/cmp/report_compare.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-cmp/cmp/report_references.go b/vendor/github.com/google/go-cmp/cmp/report_references.go index d620c2c20e..be31b33a9e 100644 --- a/vendor/github.com/google/go-cmp/cmp/report_references.go +++ b/vendor/github.com/google/go-cmp/cmp/report_references.go @@ -1,6 +1,6 @@ // Copyright 2020, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-cmp/cmp/report_reflect.go b/vendor/github.com/google/go-cmp/cmp/report_reflect.go index 786f671269..33f03577f9 100644 --- a/vendor/github.com/google/go-cmp/cmp/report_reflect.go +++ b/vendor/github.com/google/go-cmp/cmp/report_reflect.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp @@ -351,6 +351,8 @@ func formatMapKey(v reflect.Value, disambiguate bool, ptrs *pointerReferences) s opts.PrintAddresses = disambiguate opts.AvoidStringer = disambiguate opts.QualifiedNames = disambiguate + opts.VerbosityLevel = maxVerbosityPreset + opts.LimitVerbosity = true s := opts.FormatValue(v, reflect.Map, ptrs).String() return strings.TrimSpace(s) } diff --git a/vendor/github.com/google/go-cmp/cmp/report_slices.go b/vendor/github.com/google/go-cmp/cmp/report_slices.go index 35315dad35..da04caf164 100644 --- a/vendor/github.com/google/go-cmp/cmp/report_slices.go +++ b/vendor/github.com/google/go-cmp/cmp/report_slices.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-cmp/cmp/report_text.go b/vendor/github.com/google/go-cmp/cmp/report_text.go index 8b12c05cd4..0fd46d7ffb 100644 --- a/vendor/github.com/google/go-cmp/cmp/report_text.go +++ b/vendor/github.com/google/go-cmp/cmp/report_text.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-cmp/cmp/report_value.go b/vendor/github.com/google/go-cmp/cmp/report_value.go index 83031a7f50..668d470fd8 100644 --- a/vendor/github.com/google/go-cmp/cmp/report_value.go +++ b/vendor/github.com/google/go-cmp/cmp/report_value.go @@ -1,6 +1,6 @@ // Copyright 2019, The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE.md file. +// license that can be found in the LICENSE file. package cmp diff --git a/vendor/github.com/google/go-jsonnet/.gitignore b/vendor/github.com/google/go-jsonnet/.gitignore index cf2d3a0b99..7712fea0f1 100644 --- a/vendor/github.com/google/go-jsonnet/.gitignore +++ b/vendor/github.com/google/go-jsonnet/.gitignore @@ -1,14 +1,32 @@ *~ *.prof *.so +*.a .*.swp +*.pyc coverage.out +build/ +dist/ +gojsonnet.egg-info/ /bazel-bin /bazel-genfiles /bazel-go-jsonnet /bazel-out /bazel-testlogs /dumpstdlibast + +# built binaries /jsonnet +/jsonnet.exe + +# "old" built binaries (for doing benchmark comparisons) +/jsonnet-old +/jsonnet-old.exe + +/jsonnetfmt /linter/jsonnet-lint/jsonnet-lint /tests_path.source + +/jsonnet-lint + +/builtin-benchmark-results diff --git a/vendor/github.com/google/go-jsonnet/.golangci.yml b/vendor/github.com/google/go-jsonnet/.golangci.yml new file mode 100644 index 0000000000..3e5a3cf69f --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/.golangci.yml @@ -0,0 +1,15 @@ +run: + skip-files: ast/identifier_set.go +linters: + enable: + - stylecheck + - gochecknoinits + - golint +issues: + exclude-use-default: false + exclude: + - "should have a package comment, unless it's in another file for this package" + - "the surrounding loop is unconditionally terminated" +linters-settings: + golint: + min-confidence: 0 diff --git a/vendor/github.com/google/go-jsonnet/.goreleaser.yml b/vendor/github.com/google/go-jsonnet/.goreleaser.yml new file mode 100644 index 0000000000..596edb7e90 --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/.goreleaser.yml @@ -0,0 +1,87 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com + +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm + - arm64 + ignore: + - goos: darwin + - goarch: 386 + + id: jsonnet + main: ./cmd/jsonnet + binary: jsonnet + + # goreleaser complains about unexpected keys, so there's nowhere to hang an + # anchor, so we have to repeat the common elements :( + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - 386 + - amd64 + - arm + - arm64 + ignore: + - goos: darwin + - goarch: 386 + + id: jsonnetfmt + main: ./cmd/jsonnetfmt + binary: jsonnetfmt + +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 +checksum: + name_template: 'checksums.txt' + +nfpms: + - id: jsonnet + package_name: jsonnet-go + builds: + - jsonnet + description: A data templating language for app and tool developers + homepage: https://github.com/google/go-jsonnet + license: Apache 2.0 + formats: + - deb + bindir: /usr/bin + maintainer: David Cunningham + file_name_template: "jsonnet-go_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + overrides: + deb: + conflicts: + # See: https://packages.ubuntu.com/jsonnet + - jsonnet + - id: jsonnetfmt + package_name: jsonnetfmt-go + builds: + - jsonnetfmt + homepage: https://github.com/google/go-jsonnet + license: Apache 2.0 + formats: + - deb + bindir: /usr/bin + file_name_template: "jsonnetfmt-go_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + overrides: + deb: + conflicts: + # See: https://packages.ubuntu.com/jsonnet + - jsonnetfmt diff --git a/vendor/github.com/google/go-jsonnet/.tool-versions b/vendor/github.com/google/go-jsonnet/.tool-versions new file mode 100644 index 0000000000..41f7186d82 --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/.tool-versions @@ -0,0 +1 @@ +bazel 1.2.1 diff --git a/vendor/github.com/google/go-jsonnet/.travis.yml b/vendor/github.com/google/go-jsonnet/.travis.yml index 5bcca3cc8e..0f4516dcbb 100644 --- a/vendor/github.com/google/go-jsonnet/.travis.yml +++ b/vendor/github.com/google/go-jsonnet/.travis.yml @@ -3,8 +3,29 @@ sudo: false matrix: include: - go: 1.x - - go: 1.8.x - - go: tip + - go: 1.11.x + - go: 1.12.x + - go: 1.13.x + - go: 1.x + arch: amd64 + - name: "arch: arm64" + go: 1.x + arch: arm64 + env: + - PYTHON_COMMAND=python3 + - name: "arch: i686" + go: 1.x + arch: amd64 + env: + - PYTHON_COMMAND=python3 + - GOARCH=386 + - CGO_ENABLED=1 + - SKIP_PYTHON_BINDINGS_TESTS=1 + - name: "arch: ppc64le" + go: 1.x + arch: ppc64le + env: + - PYTHON_COMMAND=python3 - name: "Bazel Check" go: 1.x script: ./travisBazel.sh @@ -12,11 +33,27 @@ matrix: - echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list - curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - - sudo apt-get update && sudo apt-get install bazel + - name: "Make Check go 1.x" + go: 1.x + before_install: + - echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list + - curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - + - sudo apt-get update && sudo apt-get install bazel make + - sudo apt install python3-dev + - pip install -U pytest --user + script: make all before_install: + - sudo apt install python3-dev + - pip install -U pytest --user - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls + - go get github.com/fatih/color + - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0 - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi - go get github.com/sergi/go-diff/diffmatchpatch script: ./travisBuild.sh + +env: + - PYTHON_COMMAND=python diff --git a/vendor/github.com/google/go-jsonnet/BUILD.bazel b/vendor/github.com/google/go-jsonnet/BUILD.bazel index 6bb698d418..1410047de1 100644 --- a/vendor/github.com/google/go-jsonnet/BUILD.bazel +++ b/vendor/github.com/google/go-jsonnet/BUILD.bazel @@ -19,6 +19,7 @@ go_library( "interpreter.go", "runtime_error.go", "thunks.go", + "util.go", "value.go", "vm.go", ], @@ -28,6 +29,7 @@ go_library( "//ast:go_default_library", "//astgen:go_default_library", "//internal/errors:go_default_library", + "//internal/parser:go_default_library", "//internal/program:go_default_library", ], ) @@ -35,6 +37,7 @@ go_library( go_test( name = "go_default_test", srcs = [ + "builtins_benchmark_test.go", "interpreter_test.go", "jsonnet_test.go", "main_test.go", @@ -44,6 +47,6 @@ go_test( deps = [ "//ast:go_default_library", "//internal/parser:go_default_library", - "@com_github_sergi_go_diff//diffmatchpatch:go_default_library", + "//internal/testutils:go_default_library", ], ) diff --git a/vendor/github.com/google/go-jsonnet/MANIFEST.in b/vendor/github.com/google/go-jsonnet/MANIFEST.in new file mode 100644 index 0000000000..a2859e0fa8 --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/MANIFEST.in @@ -0,0 +1,9 @@ +include *.go +graft internal +graft ast +graft toolutils +graft astgen +include cpp-jsonnet/include/libjsonnet.h +include go.mod +include go.sum +graft c-bindings diff --git a/vendor/github.com/google/go-jsonnet/Makefile b/vendor/github.com/google/go-jsonnet/Makefile new file mode 100644 index 0000000000..201696a2bf --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/Makefile @@ -0,0 +1,73 @@ +all: install.dependencies generate generate.stdlib build.bazel test tidy +.PHONY: all + +# https://github.com/golang/go/issues/30515 +# We temporarily set GO111MODULE=off here to avoid adding these binaries to the go.mod|sum files +# As they are not needed during runtime +install.dependencies : export GO111MODULE=off +install.dependencies: + git submodule init + git submodule update + go get github.com/clipperhouse/gen + go get github.com/clipperhouse/set + go get github.com/fatih/color + go get github.com/axw/gocov/gocov + go get github.com/mattn/goveralls + go get github.com/sergi/go-diff/diffmatchpatch + if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi; +.PHONY: install.dependencies + +build.bazel: + bazel build //cmd/jsonnet +.PHONY: build.bazel + +_build.bazel.os: + bazel build --platforms=@io_bazel_rules_go//go/toolchain:$(OS)_amd64 //cmd/jsonnet +.PHONY: build.bazel.os + +build.bazel.linux : OS=linux +build.bazel.linux: _build.bazel.os +.PHONY: build.bazel.linux + +build.bazel.darwin : OS=darwin +build.bazel.darwin: _build.bazel.os +.PHONY: build.bazel.darwin + + +build.bazel.windows : OS=windows +build.bazel.windows: _build.bazel.os +.PHONY: build.bazel.windows + +build: + go build ./cmd/jsonnet +.PHONY: build + +build.old: + go build -o jsonnet-old ./cmd/jsonnet +.PHONY: build.old + +test: + ./tests.sh +.PHONY: test + +benchmark : FILTER ?= Builtin +benchmark: build + ./benchmark.sh ${FILTER} +.PHONY: benchmark + +generate: + go generate +.PHONY: generate + +generate.stdlib: + go run cmd/dumpstdlibast/dumpstdlibast.go cpp-jsonnet/stdlib/std.jsonnet > astgen/stdast.go +.PHONY: generate.stdlib + +tidy: + go mod tidy + bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=bazel/deps.bzl%jsonnet_go_dependencies +.PHONY: tidy + +gazelle: + bazel run //:gazelle +.PHONY: gazelle diff --git a/vendor/github.com/google/go-jsonnet/README.md b/vendor/github.com/google/go-jsonnet/README.md index f8a2c75487..8a5124c3fb 100644 --- a/vendor/github.com/google/go-jsonnet/README.md +++ b/vendor/github.com/google/go-jsonnet/README.md @@ -9,9 +9,9 @@ [Coverage Status Widget]: https://coveralls.io/repos/github/google/go-jsonnet/badge.svg?branch=master [Coverage Status]: https://coveralls.io/github/google/go-jsonnet?branch=master -This an implementation of [Jsonnet](http://jsonnet.org/) in pure Go. It is feature complete but is not as heavily exercised as the [Jsonnet C++ implementation](https://github.com/google/jsonnet). Please try it out and give feedback. +This an implementation of [Jsonnet](http://jsonnet.org/) in pure Go. It is a feature complete, production-ready implementation. It is compatible with the original [Jsonnet C++ implementation](https://github.com/google/jsonnet). Bindings to C and Python are available (but not battle-tested yet). -This code is known to work on Go 1.8 and above. We recommend always using the newest stable release of Go. +This code is known to work on Go 1.11 and above. We recommend always using the newest stable release of Go. ## Installation instructions @@ -19,20 +19,30 @@ This code is known to work on Go 1.8 and above. We recommend always using the ne go get github.com/google/go-jsonnet/cmd/jsonnet ``` +It's also available on Homebrew: + +``` +brew install go-jsonnet +``` + ## Build instructions (go 1.11+) ```bash -git clone github.com/google/go-jsonnet +git clone git@github.com:google/go-jsonnet.git cd go-jsonnet go build ./cmd/jsonnet +go build ./cmd/jsonnetfmt +go build ./cmd/jsonnet-deps ``` To build with [Bazel](https://bazel.build/) instead: ```bash -git clone github.com/google/go-jsonnet +git clone git@github.com:google/go-jsonnet.git cd go-jsonnet git submodule init git submodule update bazel build //cmd/jsonnet +bazel build //cmd/jsonnetfmt +bazel build //cmd/jsonnet-deps ``` The resulting _jsonnet_ program will then be available at a platform-specific path, such as _bazel-bin/cmd/jsonnet/darwin_amd64_stripped/jsonnet_ for macOS. @@ -49,19 +59,59 @@ For additional target platform names, see the per-Go release definitions [here]( Additionally if any files were moved around, see the section [Keeping the Bazel files up to date](#keeping-the-bazel-files-up-to-date). -## Build instructions (go 1.8 - 1.10) +## Running tests + +```bash +./tests.sh # Also runs `go test ./...` +``` + +## Running Benchmarks + +### Method 1 + +```bash +go get golang.org/x/tools/cmd/benchcmp +``` + +1. Make sure you build a jsonnet binary _prior_ to making changes. + +```bash +go build -o jsonnet-old ./cmd/jsonnet +``` + +2. Make changes (iterate as needed), and rebuild new binary ```bash -go get -u github.com/google/go-jsonnet -cd $GOPATH/src/github.com/google/go-jsonnet -go get -u . go build ./cmd/jsonnet ``` -## Running tests +3. Run benchmark: ```bash -./tests.sh # Also runs `go test ./...` +# e.g. ./benchmark.sh Builtin +./benchmark.sh +``` + +### Method 2 + +1. get `benchcmp` + +```bash +go get golang.org/x/tools/cmd/benchcmp +``` + +2. Make sure you build a jsonnet binary _prior_ to making changes. + +```bash +make build-old +``` + +3. iterate with (which will also automatically rebuild the new binary `./jsonnet`) + +_replace the FILTER with the name of the test you are working on_ + +```bash +FILTER=Builtin_manifestJsonEx make benchmark ``` ## Implementation Notes @@ -75,6 +125,17 @@ export PATH=$PATH:$GOPATH/bin # If you haven't already go generate ``` +## Update cpp-jsonnet sub-repo + +This repo depends on [the original Jsonnet repo](https://github.com/google/jsonnet). Shared parts include the standard library, headers files for C API and some tests. + +You can update the submodule and regenerate dependent files with one command: +``` +./update_cpp_jsonnet.sh +``` + +Note: It needs to be run from repo root. + ## Updating and modifying the standard library Standard library source code is kept in `cpp-jsonnet` submodule, because it is shared with [Jsonnet C++ @@ -83,11 +144,11 @@ implementation](https://github.com/google/jsonnet). For performance reasons we perform preprocessing on the standard library, so for the changes to be visible, regeneration is necessary: ```bash -git submodule init -git submodule update go run cmd/dumpstdlibast/dumpstdlibast.go cpp-jsonnet/stdlib/std.jsonnet > astgen/stdast.go ``` +**The + The above command creates the _astgen/stdast.go_ file which puts the desugared standard library into the right data structures, which lets us avoid the parsing overhead during execution. Note that this step is not necessary to perform manually when building with Bazel; the Bazel target regenerates the _astgen/stdast.go_ (writing it into Bazel's build sandbox directory tree) file when necessary. ## Keeping the Bazel files up to date diff --git a/vendor/github.com/google/go-jsonnet/ast/ast.go b/vendor/github.com/google/go-jsonnet/ast/ast.go index ced9817f57..087e52f33f 100644 --- a/vendor/github.com/google/go-jsonnet/ast/ast.go +++ b/vendor/github.com/google/go-jsonnet/ast/ast.go @@ -43,6 +43,13 @@ type Node interface { FreeVariables() Identifiers SetFreeVariables(Identifiers) SetContext(Context) + // OpenFodder returns the fodder before the first token of an AST node. + // Since every AST node has opening fodder, it is defined here. + // If the AST node is left recursive (e.g. BinaryOp) then it is ambiguous + // where the fodder should be stored. This is resolved by storing it as + // far inside the tree as possible. OpenFodder returns a pointer to allow + // the caller to modify the fodder. + OpenFodder() *Fodder } // Nodes represents a Node slice. @@ -53,25 +60,27 @@ type Nodes []Node // NodeBase holds fields common to all node types. type NodeBase struct { LocRange LocationRange + // This is the fodder that precedes the first token of the node. + // If the node is left-recursive, i.e. the first token is actually + // a token of a sub-expression, then Fodder is nil. + Fodder Fodder Ctx Context FreeVars Identifiers } // NewNodeBase creates a new NodeBase from initial LocationRange and // Identifiers. -func NewNodeBase(loc LocationRange, freeVariables Identifiers) NodeBase { +func NewNodeBase(loc LocationRange, fodder Fodder, freeVariables Identifiers) NodeBase { return NodeBase{ LocRange: loc, + Fodder: fodder, FreeVars: freeVariables, } } // NewNodeBaseLoc creates a new NodeBase from an initial LocationRange. -func NewNodeBaseLoc(loc LocationRange) NodeBase { - return NodeBase{ - LocRange: loc, - FreeVars: []Identifier{}, - } +func NewNodeBaseLoc(loc LocationRange, fodder Fodder) NodeBase { + return NewNodeBase(loc, fodder, []Identifier{}) } // Loc returns a NodeBase's loc. @@ -79,6 +88,11 @@ func (n *NodeBase) Loc() *LocationRange { return &n.LocRange } +// OpenFodder returns a NodeBase's opening fodder. +func (n *NodeBase) OpenFodder() *Fodder { + return &n.Fodder +} + // FreeVariables returns a NodeBase's freeVariables. func (n *NodeBase) FreeVariables() Identifiers { return n.FreeVars @@ -103,7 +117,8 @@ func (n *NodeBase) SetContext(context Context) { // IfSpec represents an if-specification in a comprehension. type IfSpec struct { - Expr Node + IfFodder Fodder + Expr Node } // ForSpec represents a for-specification in a comprehension. @@ -126,7 +141,10 @@ type IfSpec struct { // arr2) // arr3) type ForSpec struct { + ForFodder Fodder + VarFodder Fodder VarName Identifier + InFodder Fodder Expr Node Conditions []IfSpec Outer *ForSpec @@ -137,22 +155,37 @@ type ForSpec struct { // Apply represents a function call type Apply struct { NodeBase - Target Node - Arguments Arguments - TrailingComma bool - TailStrict bool + Target Node + FodderLeft Fodder + Arguments Arguments + // Always false if there were no arguments. + TrailingComma bool + TailStrict bool + FodderRight Fodder + TailStrictFodder Fodder } // NamedArgument represents a named argument to function call x=1. type NamedArgument struct { - Name Identifier - Arg Node + NameFodder Fodder + Name Identifier + EqFodder Fodder + Arg Node + CommaFodder Fodder +} + +// CommaSeparatedExpr represents an expression that is an element of a +// comma-separated list of expressions (e.g. in an array or the arguments of a +// call) +type CommaSeparatedExpr struct { + Expr Node + CommaFodder Fodder } // Arguments represents positional and named arguments to a function call // f(x, y, z=1). type Arguments struct { - Positional Nodes + Positional []CommaSeparatedExpr Named []NamedArgument } @@ -170,8 +203,10 @@ type ApplyBrace struct { // Array represents array constructors [1, 2, 3]. type Array struct { NodeBase - Elements Nodes + Elements []CommaSeparatedExpr + // Always false if there were no elements. TrailingComma bool + CloseFodder Fodder } // --------------------------------------------------------------------------- @@ -180,9 +215,11 @@ type Array struct { // comprehensions) type ArrayComp struct { NodeBase - Body Node - TrailingComma bool - Spec ForSpec + Body Node + TrailingComma bool + TrailingCommaFodder Fodder + Spec ForSpec + CloseFodder Fodder } // --------------------------------------------------------------------------- @@ -193,9 +230,11 @@ type ArrayComp struct { // specified. This AST is elimiated by desugaring. type Assert struct { NodeBase - Cond Node - Message Node - Rest Node + Cond Node + ColonFodder Fodder + Message Node + SemicolonFodder Fodder + Rest Node } // --------------------------------------------------------------------------- @@ -299,9 +338,10 @@ func (b BinaryOp) String() string { // Binary represents binary operators. type Binary struct { NodeBase - Left Node - Op BinaryOp - Right Node + Left Node + OpFodder Fodder + Op BinaryOp + Right Node } // --------------------------------------------------------------------------- @@ -313,7 +353,9 @@ type Binary struct { type Conditional struct { NodeBase Cond Node + ThenFodder Fodder BranchTrue Node + ElseFodder Fodder BranchFalse Node } @@ -335,22 +377,32 @@ type Error struct { // Function represents a function definition type Function struct { NodeBase - Parameters Parameters - TrailingComma bool - Body Node -} - -// NamedParameter represents an optional named parameter of a function. -type NamedParameter struct { - Name Identifier - DefaultArg Node -} - -// Parameters represents the required positional parameters and optional named -// parameters to a function definition. -type Parameters struct { - Required Identifiers - Optional []NamedParameter + ParenLeftFodder Fodder + Parameters []Parameter + // Always false if there were no parameters. + TrailingComma bool + ParenRightFodder Fodder + Body Node +} + +// Parameter represents a parameter of function. +// If DefaultArg is set, it's an optional named parameter. +// Otherwise, it's a positional parameter and EqFodder is not used. +type Parameter struct { + NameFodder Fodder + Name Identifier + EqFodder Fodder + DefaultArg Node + CommaFodder Fodder + LocRange LocationRange +} + +// CommaSeparatedID represents an expression that is an element of a +// comma-separated list of identifiers (e.g. an array of parameters) +type CommaSeparatedID struct { + NameFodder Fodder + Name Identifier + CommaFodder Fodder } // --------------------------------------------------------------------------- @@ -378,8 +430,15 @@ type ImportStr struct { type Index struct { NodeBase Target Node - Index Node - Id *Identifier + // When Index is being used, this is the fodder before the '['. + // When Id is being used, this is the fodder before the '.'. + LeftBracketFodder Fodder + Index Node + // When Index is being used, this is the fodder before the ']'. + // When Id is being used, this is the fodder before the id. + RightBracketFodder Fodder + //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties + Id *Identifier } // Slice represents an array slice a[begin:end:step]. @@ -387,19 +446,31 @@ type Slice struct { NodeBase Target Node + LeftBracketFodder Fodder // Each of these can be nil - BeginIndex Node - EndIndex Node - Step Node + BeginIndex Node + EndColonFodder Fodder + EndIndex Node + StepColonFodder Fodder + Step Node + RightBracketFodder Fodder } // --------------------------------------------------------------------------- // LocalBind is a helper struct for astLocal type LocalBind struct { - Variable Identifier - Body Node - Fun *Function + VarFodder Fodder + Variable Identifier + EqFodder Fodder + // If Fun is set then its body == Body. + Body Node + // There is no base fodder in Fun because there was no `function` keyword. + Fun *Function + // The fodder before the closing ',' or ';' (whichever it is) + CloseFodder Fodder + + LocRange LocationRange } // LocalBinds represents a LocalBind slice. @@ -430,7 +501,6 @@ type LiteralNull struct{ NodeBase } // LiteralNumber represents a JSON number type LiteralNumber struct { NodeBase - Value float64 OriginalString string } @@ -463,9 +533,10 @@ func (k LiteralStringKind) FullyEscaped() bool { // LiteralString represents a JSON string type LiteralString struct { NodeBase - Value string - Kind LiteralStringKind - BlockIndent string + Value string + Kind LiteralStringKind + BlockIndent string + BlockTermIndent string } // --------------------------------------------------------------------------- @@ -475,14 +546,25 @@ type ObjectFieldKind int // Kinds of object fields const ( - ObjectAssert ObjectFieldKind = iota // assert expr2 [: expr3] where expr3 can be nil - ObjectFieldID // id:[:[:]] expr2 - ObjectFieldExpr // '['expr1']':[:[:]] expr2 - ObjectFieldStr // expr1:[:[:]] expr2 - ObjectLocal // local id = expr2 - ObjectNullID // null id - ObjectNullExpr // null '['expr1']' - ObjectNullStr // null expr1 + // In the following: + // is a short-hand for + // ( ':' | '::' | ':::' | '+:' | '+::' | '+:::' ) + // f1, f2, f3, opF and commaF refer to the various Fodder fields. + + // For brevity, we omit the syntax for method sugar, which applies to all + // but ObjectAssert below. + + // 'assert' '[' ':' ']' + // where expr3 can be nil + ObjectAssert ObjectFieldKind = iota + // + ObjectFieldID + // '[' ']' + ObjectFieldExpr + // + ObjectFieldStr + // 'local' '=' + ObjectLocal ) // ObjectFieldHide represents the visibility of an object field. @@ -498,21 +580,35 @@ const ( // ObjectField represents a field of an object or object comprehension. // TODO(sbarzowski) consider having separate types for various kinds type ObjectField struct { - Kind ObjectFieldKind - Hide ObjectFieldHide // (ignore if kind != astObjectField*) - SuperSugar bool // +: (ignore if kind != astObjectField*) - MethodSugar bool // f(x, y, z): ... (ignore if kind == astObjectAssert) - Method *Function - Expr1 Node // Not in scope of the object - Id *Identifier - Params *Parameters // If methodSugar == true then holds the params. - TrailingComma bool // If methodSugar == true then remembers the trailing comma - Expr2, Expr3 Node // In scope of the object (can see self). + Kind ObjectFieldKind + Hide ObjectFieldHide // (ignore if kind != astObjectFieldID/Expr/Str) + SuperSugar bool // +: (ignore if kind != astObjectFieldID/Expr/Str) + + // f(x, y, z): ... (ignore if kind == astObjectAssert) + // If Method is set then Expr2 == Method.Body. + // There is no base fodder in Method because there was no `function` + // keyword. + Method *Function + Fodder1 Fodder + Expr1 Node // Not in scope of the object + //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties + Id *Identifier + Fodder2 Fodder + OpFodder Fodder + Expr2, Expr3 Node // In scope of the object (can see self). + CommaFodder Fodder + LocRange LocationRange } // ObjectFieldLocalNoMethod creates a non-method local object field. -func ObjectFieldLocalNoMethod(id *Identifier, body Node) ObjectField { - return ObjectField{ObjectLocal, ObjectFieldVisible, false, false, nil, nil, id, nil, false, body, nil} +func ObjectFieldLocalNoMethod(id *Identifier, body Node, loc LocationRange) ObjectField { + return ObjectField{ + Kind: ObjectLocal, + Hide: ObjectFieldVisible, + Id: id, + Expr2: body, + LocRange: loc, + } } // ObjectFields represents an ObjectField slice. @@ -526,6 +622,7 @@ type Object struct { NodeBase Fields ObjectFields TrailingComma bool + CloseFodder Fodder } // --------------------------------------------------------------------------- @@ -536,6 +633,8 @@ type DesugaredObjectField struct { Name Node Body Node PlusSuper bool + + LocRange LocationRange } // DesugaredObjectFields represents a DesugaredObjectField slice. @@ -558,9 +657,11 @@ type DesugaredObject struct { // { [e]: e for x in e for.. if... }. type ObjectComp struct { NodeBase - Fields ObjectFields - TrailingComma bool - Spec ForSpec + Fields ObjectFields + TrailingCommaFodder Fodder + TrailingComma bool + Spec ForSpec + CloseFodder Fodder } // --------------------------------------------------------------------------- @@ -569,7 +670,8 @@ type ObjectComp struct { // ( e ) type Parens struct { NodeBase - Inner Node + Inner Node + CloseFodder Fodder } // --------------------------------------------------------------------------- @@ -585,14 +687,23 @@ type Self struct{ NodeBase } // nil. type SuperIndex struct { NodeBase - Index Node - Id *Identifier + // If super.f, the fodder before the '.' + // If super[e], the fodder before the '['. + DotFodder Fodder + Index Node + // If super.f, the fodder before the 'f' + // If super[e], the fodder before the ']'. + IDFodder Fodder + //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties + Id *Identifier } // InSuper represents the e in super construct. type InSuper struct { NodeBase - Index Node + Index Node + InFodder Fodder + SuperFodder Fodder } // --------------------------------------------------------------------------- @@ -642,6 +753,7 @@ type Unary struct { // Var represents variables. type Var struct { NodeBase + //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties Id Identifier } diff --git a/vendor/github.com/google/go-jsonnet/ast/clone.go b/vendor/github.com/google/go-jsonnet/ast/clone.go index 6453ec3023..ce877b0b4f 100644 --- a/vendor/github.com/google/go-jsonnet/ast/clone.go +++ b/vendor/github.com/google/go-jsonnet/ast/clone.go @@ -35,30 +35,12 @@ func cloneForSpec(specPtr *ForSpec) { } } -// Updates fields of params to point to deep clones. -func cloneParameters(params *Parameters) { - if params == nil { - return - } - params.Optional = append(make([]NamedParameter, 0), params.Optional...) - for i := range params.Optional { - clone(¶ms.Optional[i].DefaultArg) - } -} - // Updates fields of field to point to deep clones. func cloneField(field *ObjectField) { if field.Method != nil { field.Method = Clone(field.Method).(*Function) } - oldParams := field.Params - if oldParams != nil { - field.Params = new(Parameters) - *field.Params = *oldParams - } - cloneParameters(field.Params) - clone(&field.Expr1) clone(&field.Expr2) clone(&field.Expr3) @@ -80,6 +62,14 @@ func cloneNodeBase(astPtr Node) { astPtr.SetFreeVariables(append(make(Identifiers, 0), astPtr.FreeVariables()...)) } +func cloneCommaSeparatedExprs(list []CommaSeparatedExpr) []CommaSeparatedExpr { + r := append(make([]CommaSeparatedExpr, 0), list...) + for i := range list { + clone(&r[i].Expr) + } + return r +} + // Updates *astPtr to point to a deep clone of what it originally pointed at. func clone(astPtr *Node) { node := *astPtr @@ -93,10 +83,7 @@ func clone(astPtr *Node) { *astPtr = r *r = *node clone(&r.Target) - r.Arguments.Positional = append(make(Nodes, 0), r.Arguments.Positional...) - for i := range r.Arguments.Positional { - clone(&r.Arguments.Positional[i]) - } + r.Arguments.Positional = cloneCommaSeparatedExprs(r.Arguments.Positional) r.Arguments.Named = append(make([]NamedArgument, 0), r.Arguments.Named...) for i := range r.Arguments.Named { clone(&r.Arguments.Named[i].Arg) @@ -113,10 +100,7 @@ func clone(astPtr *Node) { r := new(Array) *astPtr = r *r = *node - r.Elements = append(make(Nodes, 0), r.Elements...) - for i := range r.Elements { - clone(&r.Elements[i]) - } + r.Elements = cloneCommaSeparatedExprs(r.Elements) case *ArrayComp: r := new(ArrayComp) @@ -163,7 +147,12 @@ func clone(astPtr *Node) { r := new(Function) *astPtr = r *r = *node - cloneParameters(&r.Parameters) + if r.Parameters != nil { + r.Parameters = append(make([]Parameter, 0), r.Parameters...) + for i := range r.Parameters { + clone(&r.Parameters[i].DefaultArg) + } + } clone(&r.Body) case *Import: diff --git a/vendor/github.com/google/go-jsonnet/ast/fodder.go b/vendor/github.com/google/go-jsonnet/ast/fodder.go index 22eaa13a2b..ab6c2fe55c 100644 --- a/vendor/github.com/google/go-jsonnet/ast/fodder.go +++ b/vendor/github.com/google/go-jsonnet/ast/fodder.go @@ -87,7 +87,7 @@ func MakeFodderElement(kind FodderKind, blanks int, indent int, comment []string panic(fmt.Sprintf("FodderInterstitial but comment == %v.", comment)) } if kind == FodderParagraph && len(comment) == 0 { - panic(fmt.Sprintf("FodderParagraph but comment was empty")) + panic("FodderParagraph but comment was empty") } return FodderElement{Kind: kind, Blanks: blanks, Indent: indent, Comment: comment} } diff --git a/vendor/github.com/google/go-jsonnet/ast/location.go b/vendor/github.com/google/go-jsonnet/ast/location.go index 2ac8875144..e7d08f8602 100644 --- a/vendor/github.com/google/go-jsonnet/ast/location.go +++ b/vendor/github.com/google/go-jsonnet/ast/location.go @@ -21,9 +21,17 @@ import ( "fmt" ) +// DiagnosticFileName is a file name used for diagnostics. +// It might be a dummy value, such as or . +// It should never be passed to an importer. +type DiagnosticFileName string + // Source represents a source file. type Source struct { Lines []string + // DiagnosticFileName is the imported path or a special string + // for indicating stdin, extvars and other non-imported sources. + DiagnosticFileName DiagnosticFileName } ////////////////////////////////////////////////////////////////////////////// @@ -45,7 +53,10 @@ func (l *Location) String() string { return fmt.Sprintf("%v:%v", l.Line, l.Column) } -func locationBefore(a Location, b Location) bool { +// LocationBefore returns whether one code location +// refers to the location closer to the beginning +// of the file than the other one. +func LocationBefore(a Location, b Location) bool { if a.Line != b.Line { return a.Line < b.Line } @@ -57,6 +68,7 @@ func locationBefore(a Location, b Location) bool { // LocationRange represents a range of a source file. type LocationRange struct { + // FileName should be the imported path or "" for snippets etc. FileName string Begin Location End Location // TODO(sbarzowski) inclusive? exclusive? a gap? @@ -78,12 +90,13 @@ func (lr *LocationRange) IsSet() bool { func (lr *LocationRange) String() string { if !lr.IsSet() { + // TODO(sbarzowski) when could this happen? return lr.FileName } var filePrefix string - if len(lr.FileName) > 0 { - filePrefix = lr.FileName + ":" + if len(lr.File.DiagnosticFileName) > 0 { + filePrefix = string(lr.File.DiagnosticFileName) + ":" } if lr.Begin.Line == lr.End.Line { if lr.Begin.Column == lr.End.Column { @@ -138,7 +151,7 @@ func (sp *SourceProvider) GetSnippet(loc LocationRange) string { // BuildSource transforms a source file string into a Source struct. // TODO: This seems like a job for strings.Split() with a final \n touch-up. -func BuildSource(s string) *Source { +func BuildSource(dFilename DiagnosticFileName, s string) *Source { var result []string var lineBuf bytes.Buffer for _, runeValue := range s { @@ -151,7 +164,7 @@ func BuildSource(s string) *Source { rest := lineBuf.String() // Stuff after last end-of-line (EOF or some more code) result = append(result, rest+"\n") - return &Source{result} + return &Source{result, dFilename} } func trimToLine(loc LocationRange, line int) LocationRange { diff --git a/vendor/github.com/google/go-jsonnet/ast/util.go b/vendor/github.com/google/go-jsonnet/ast/util.go index f086b0155d..e105a36580 100644 --- a/vendor/github.com/google/go-jsonnet/ast/util.go +++ b/vendor/github.com/google/go-jsonnet/ast/util.go @@ -16,7 +16,9 @@ limitations under the License. package ast -import "sort" +import ( + "sort" +) // AddIdentifiers adds a slice of identifiers to an identifier set. func (i IdentifierSet) AddIdentifiers(idents Identifiers) { diff --git a/vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel b/vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel index 0bec2f1d42..2d0a4b5782 100644 --- a/vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel +++ b/vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel @@ -2,7 +2,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library") genrule( name = "dumpstdlibast", - srcs = ["//cpp-jsonnet/stdlib"], + srcs = ["@cpp_jsonnet//stdlib"], outs = ["stdast.go"], cmd = "./$(location //cmd/dumpstdlibast) \"$<\" > \"$@\"", tools = ["//cmd/dumpstdlibast"], diff --git a/vendor/github.com/google/go-jsonnet/astgen/stdast.go b/vendor/github.com/google/go-jsonnet/astgen/stdast.go index f1e9e2733f..f538fc720a 100644 --- a/vendor/github.com/google/go-jsonnet/astgen/stdast.go +++ b/vendor/github.com/google/go-jsonnet/astgen/stdast.go @@ -11,2220 +11,2372 @@ import ( "github.com/google/go-jsonnet/ast" ) -var p3Var = "$" -var p3 = &p3Var -var p8Var = "object " -var p8 = &p8Var -var p12Var = "function " -var p12 = &p12Var -var p23Var = "thunk from >" -var p23 = &p23Var -var p31Var = "function " -var p31 = &p31Var -var p42Var = "thunk from >" -var p42 = &p42Var -var p50Var = "function " -var p50 = &p50Var -var p61Var = "thunk from >" -var p61 = &p61Var -var p69Var = "function " -var p69 = &p69Var -var p80Var = "thunk from >" -var p80 = &p80Var -var p88Var = "function " -var p88 = &p88Var -var p99Var = "thunk from >" -var p99 = &p99Var -var p107Var = "function " -var p107 = &p107Var -var p118Var = "thunk from >" -var p118 = &p118Var -var p126Var = "function " -var p126 = &p126Var -var p139Var = "thunk from >" -var p139 = &p139Var -var p154Var = "function " -var p154 = &p154Var -var p167Var = "thunk from >" -var p167 = &p167Var -var p184Var = "thunk from >" -var p184 = &p184Var -var p199Var = "thunk from >" -var p199 = &p199Var -var p216Var = "thunk from >" -var p216 = &p216Var -var p231Var = "thunk from >" -var p231 = &p231Var -var p248Var = "thunk from >" -var p248 = &p248Var -var p273Var = "thunk from >" -var p273 = &p273Var -var p283Var = "thunk from >>" -var p283 = &p283Var -var p292Var = "thunk from >>>" -var p292 = &p292Var -var p302Var = "thunk from >>>>" -var p302 = &p302Var -var p315Var = "thunk from >>>>>" -var p315 = &p315Var -var p323Var = "function " -var p323 = &p323Var -var p338Var = "function " -var p338 = &p338Var -var p351Var = "thunk from >" -var p351 = &p351Var -var p362Var = "thunk from >" -var p362 = &p362Var +var p7Var = "$" +var p7 = &p7Var +var p11Var = "object " +var p11 = &p11Var +var p15Var = "function " +var p15 = &p15Var +var p26Var = "thunk from >" +var p26 = &p26Var +var p34Var = "function " +var p34 = &p34Var +var p45Var = "thunk from >" +var p45 = &p45Var +var p53Var = "function " +var p53 = &p53Var +var p64Var = "thunk from >" +var p64 = &p64Var +var p72Var = "function " +var p72 = &p72Var +var p83Var = "thunk from >" +var p83 = &p83Var +var p91Var = "function " +var p91 = &p91Var +var p102Var = "thunk from >" +var p102 = &p102Var +var p110Var = "function " +var p110 = &p110Var +var p121Var = "thunk from >" +var p121 = &p121Var +var p130Var = "function " +var p130 = &p130Var +var p143Var = "thunk from >" +var p143 = &p143Var +var p160Var = "function " +var p160 = &p160Var +var p169Var = "thunk from >" +var p169 = &p169Var +var p182Var = "thunk from >" +var p182 = &p182Var +var p195Var = "thunk from >" +var p195 = &p195Var +var p214Var = "thunk from >" +var p214 = &p214Var +var p224Var = "thunk from >>" +var p224 = &p224Var +var p233Var = "thunk from >>>" +var p233 = &p233Var +var p243Var = "thunk from >>>>" +var p243 = &p243Var +var p256Var = "thunk from >>>>>" +var p256 = &p256Var +var p264Var = "function " +var p264 = &p264Var +var p295Var = "thunk from >" +var p295 = &p295Var +var p311Var = "thunk from >" +var p311 = &p311Var +var p327Var = "thunk from >" +var p327 = &p327Var +var p335Var = "function " +var p335 = &p335Var +var p348Var = "thunk from >" +var p348 = &p348Var +var p359Var = "thunk from >" +var p359 = &p359Var var p376Var = "thunk from >" var p376 = &p376Var var p388Var = "thunk from >>" var p388 = &p388Var -var p397Var = "function " -var p397 = &p397Var -var p410Var = "thunk from >" -var p410 = &p410Var -var p421Var = "thunk from >" -var p421 = &p421Var -var p435Var = "thunk from >" -var p435 = &p435Var -var p448Var = "thunk from >>" -var p448 = &p448Var -var p459Var = "thunk from >>" -var p459 = &p459Var -var p470Var = "thunk from >>" -var p470 = &p470Var -var p479Var = "function " -var p479 = &p479Var -var p488Var = "thunk from >" -var p488 = &p488Var -var p497Var = "thunk from >>" -var p497 = &p497Var -var p503Var = "function " -var p503 = &p503Var -var p516Var = "function " -var p516 = &p516Var -var p525Var = "thunk from >" -var p525 = &p525Var -var p542Var = "thunk from >" -var p542 = &p542Var -var p576Var = "thunk from >" -var p576 = &p576Var -var p588Var = "thunk from >" -var p588 = &p588Var -var p606Var = "thunk from >" -var p606 = &p606Var -var p622Var = "thunk from >" -var p622 = &p622Var -var p631Var = "function " -var p631 = &p631Var -var p640Var = "thunk from >" -var p640 = &p640Var -var p655Var = "thunk from >" +var p398Var = "function " +var p398 = &p398Var +var p411Var = "thunk from >" +var p411 = &p411Var +var p422Var = "thunk from >" +var p422 = &p422Var +var p439Var = "thunk from >" +var p439 = &p439Var +var p452Var = "thunk from >>" +var p452 = &p452Var +var p463Var = "thunk from >>" +var p463 = &p463Var +var p474Var = "thunk from >>" +var p474 = &p474Var +var p484Var = "function " +var p484 = &p484Var +var p499Var = "thunk from >" +var p499 = &p499Var +var p511Var = "thunk from >" +var p511 = &p511Var +var p536Var = "thunk from >" +var p536 = &p536Var +var p553Var = "function " +var p553 = &p553Var +var p557Var = "thunk from >" +var p557 = &p557Var +var p566Var = "thunk from from >>" +var p566 = &p566Var +var p587Var = "thunk from >" +var p587 = &p587Var +var p616Var = "thunk from >" +var p616 = &p616Var +var p636Var = "function " +var p636 = &p636Var +var p646Var = "thunk from >" +var p646 = &p646Var +var p655Var = "thunk from >>" var p655 = &p655Var -var p664Var = "thunk from >" -var p664 = &p664Var -var p683Var = "thunk from >" -var p683 = &p683Var -var p692Var = "function " -var p692 = &p692Var -var p701Var = "thunk from >" -var p701 = &p701Var -var p716Var = "thunk from >" -var p716 = &p716Var -var p725Var = "thunk from >" -var p725 = &p725Var -var p744Var = "thunk from >" -var p744 = &p744Var -var p751Var = "function " -var p751 = &p751Var -var p764Var = "thunk from >" -var p764 = &p764Var -var p781Var = "thunk from >" -var p781 = &p781Var -var p796Var = "thunk from >" -var p796 = &p796Var -var p813Var = "thunk from >" -var p813 = &p813Var -var p828Var = "thunk from >" -var p828 = &p828Var -var p845Var = "thunk from >" -var p845 = &p845Var -var p856Var = "thunk from >" -var p856 = &p856Var -var p867Var = "function " -var p867 = &p867Var -var p880Var = "thunk from >" -var p880 = &p880Var -var p897Var = "thunk from >" -var p897 = &p897Var -var p912Var = "thunk from >" -var p912 = &p912Var -var p929Var = "thunk from >" -var p929 = &p929Var -var p944Var = "thunk from >" -var p944 = &p944Var -var p961Var = "thunk from >" -var p961 = &p961Var -var p976Var = "thunk from >" -var p976 = &p976Var -var p993Var = "thunk from >" -var p993 = &p993Var -var p999Var = "thunk from >" -var p999 = &p999Var -var p1003Var = "function " -var p1003 = &p1003Var -var p1007Var = "thunk from >" -var p1007 = &p1007Var -var p1017Var = "thunk from >" +var p666Var = "function " +var p666 = &p666Var +var p676Var = "thunk from >" +var p676 = &p676Var +var p685Var = "thunk from >>" +var p685 = &p685Var +var p691Var = "function " +var p691 = &p691Var +var p704Var = "function " +var p704 = &p704Var +var p713Var = "thunk from >" +var p713 = &p713Var +var p730Var = "thunk from >" +var p730 = &p730Var +var p766Var = "thunk from >" +var p766 = &p766Var +var p780Var = "thunk from >" +var p780 = &p780Var +var p798Var = "thunk from >" +var p798 = &p798Var +var p814Var = "thunk from >" +var p814 = &p814Var +var p823Var = "function " +var p823 = &p823Var +var p832Var = "thunk from >" +var p832 = &p832Var +var p847Var = "thunk from >" +var p847 = &p847Var +var p857Var = "thunk from >" +var p857 = &p857Var +var p876Var = "thunk from >" +var p876 = &p876Var +var p885Var = "function " +var p885 = &p885Var +var p894Var = "thunk from >" +var p894 = &p894Var +var p909Var = "thunk from >" +var p909 = &p909Var +var p919Var = "thunk from >" +var p919 = &p919Var +var p938Var = "thunk from >" +var p938 = &p938Var +var p947Var = "function " +var p947 = &p947Var +var p956Var = "thunk from >" +var p956 = &p956Var +var p969Var = "thunk from >" +var p969 = &p969Var +var p984Var = "thunk from >" +var p984 = &p984Var +var p997Var = "thunk from >" +var p997 = &p997Var +var p1017Var = "thunk from >" var p1017 = &p1017Var -var p1037Var = "thunk from >" -var p1037 = &p1037Var -var p1047Var = "thunk from >" -var p1047 = &p1047Var -var p1078Var = "thunk from >" -var p1078 = &p1078Var -var p1088Var = "thunk from >" -var p1088 = &p1088Var -var p1102Var = "thunk from >>" -var p1102 = &p1102Var -var p1111Var = "thunk from >" -var p1111 = &p1111Var -var p1131Var = "thunk from >" -var p1131 = &p1131Var -var p1145Var = "function " -var p1145 = &p1145Var -var p1156Var = "thunk from >" -var p1156 = &p1156Var -var p1172Var = "thunk from >" -var p1172 = &p1172Var -var p1188Var = "thunk from >" -var p1188 = &p1188Var -var p1202Var = "thunk from >" -var p1202 = &p1202Var -var p1211Var = "thunk from from >>" +var p1033Var = "thunk from >" +var p1033 = &p1033Var +var p1049Var = "thunk from >" +var p1049 = &p1049Var +var p1058Var = "function " +var p1058 = &p1058Var +var p1067Var = "thunk from >" +var p1067 = &p1067Var +var p1080Var = "thunk from >" +var p1080 = &p1080Var +var p1095Var = "thunk from >" +var p1095 = &p1095Var +var p1109Var = "thunk from >" +var p1109 = &p1109Var +var p1116Var = "thunk from >" +var p1116 = &p1116Var +var p1121Var = "function " +var p1121 = &p1121Var +var p1125Var = "thunk from >" +var p1125 = &p1125Var +var p1136Var = "thunk from >" +var p1136 = &p1136Var +var p1157Var = "thunk from >" +var p1157 = &p1157Var +var p1168Var = "thunk from >" +var p1168 = &p1168Var +var p1200Var = "thunk from >" +var p1200 = &p1200Var +var p1211Var = "thunk from >" var p1211 = &p1211Var -var p1217Var = "thunk from >" -var p1217 = &p1217Var -var p1226Var = "thunk from from >>" -var p1226 = &p1226Var -var p1232Var = "thunk from >" -var p1232 = &p1232Var -var p1236Var = "function " +var p1225Var = "thunk from >>" +var p1225 = &p1225Var +var p1236Var = "thunk from >" var p1236 = &p1236Var -var p1263Var = "thunk from >" -var p1263 = &p1263Var -var p1267Var = "function " -var p1267 = &p1267Var -var p1302Var = "thunk from >" -var p1302 = &p1302Var -var p1308Var = "thunk from >" -var p1308 = &p1308Var -var p1321Var = "thunk from from >>" -var p1321 = &p1321Var -var p1329Var = "thunk from >" -var p1329 = &p1329Var -var p1362Var = "thunk from >" -var p1362 = &p1362Var -var p1387Var = "thunk from >" -var p1387 = &p1387Var -var p1398Var = "thunk from >>" -var p1398 = &p1398Var -var p1408Var = "thunk from >" -var p1408 = &p1408Var -var p1424Var = "function " -var p1424 = &p1424Var -var p1428Var = "thunk from >" -var p1428 = &p1428Var -var p1437Var = "thunk from >" -var p1437 = &p1437Var -var p1441Var = "function " -var p1441 = &p1441Var -var p1453Var = "thunk from >" -var p1453 = &p1453Var -var p1464Var = "thunk from >" -var p1464 = &p1464Var -var p1476Var = "thunk from >" -var p1476 = &p1476Var -var p1484Var = "thunk from >>" -var p1484 = &p1484Var -var p1498Var = "thunk from >" -var p1498 = &p1498Var -var p1508Var = "thunk from >>" -var p1508 = &p1508Var -var p1519Var = "thunk from >>>" -var p1519 = &p1519Var -var p1526Var = "function " -var p1526 = &p1526Var -var p1530Var = "thunk from >" -var p1530 = &p1530Var -var p1539Var = "thunk from >" -var p1539 = &p1539Var -var p1543Var = "function " -var p1543 = &p1543Var -var p1555Var = "thunk from >" -var p1555 = &p1555Var -var p1566Var = "thunk from >" -var p1566 = &p1566Var -var p1578Var = "thunk from >" -var p1578 = &p1578Var -var p1586Var = "thunk from >>" -var p1586 = &p1586Var -var p1600Var = "thunk from >" -var p1600 = &p1600Var -var p1610Var = "thunk from >>" +var p1257Var = "thunk from >" +var p1257 = &p1257Var +var p1278Var = "thunk from >" +var p1278 = &p1278Var +var p1294Var = "thunk from >" +var p1294 = &p1294Var +var p1310Var = "thunk from >" +var p1310 = &p1310Var +var p1326Var = "thunk from >" +var p1326 = &p1326Var +var p1335Var = "function " +var p1335 = &p1335Var +var p1344Var = "thunk from >" +var p1344 = &p1344Var +var p1357Var = "thunk from >" +var p1357 = &p1357Var +var p1370Var = "thunk from >" +var p1370 = &p1370Var +var p1385Var = "thunk from >" +var p1385 = &p1385Var +var p1394Var = "thunk from from >>" +var p1394 = &p1394Var +var p1401Var = "thunk from >" +var p1401 = &p1401Var +var p1410Var = "thunk from from >>" +var p1410 = &p1410Var +var p1418Var = "thunk from >" +var p1418 = &p1418Var +var p1422Var = "function " +var p1422 = &p1422Var +var p1452Var = "thunk from >" +var p1452 = &p1452Var +var p1457Var = "function " +var p1457 = &p1457Var +var p1494Var = "thunk from >" +var p1494 = &p1494Var +var p1501Var = "thunk from >" +var p1501 = &p1501Var +var p1514Var = "thunk from from >>" +var p1514 = &p1514Var +var p1523Var = "thunk from >" +var p1523 = &p1523Var +var p1558Var = "thunk from >" +var p1558 = &p1558Var +var p1587Var = "thunk from >" +var p1587 = &p1587Var +var p1598Var = "thunk from >>" +var p1598 = &p1598Var +var p1610Var = "thunk from >" var p1610 = &p1610Var -var p1621Var = "thunk from >>>" -var p1621 = &p1621Var -var p1628Var = "function " -var p1628 = &p1628Var -var p1637Var = "thunk from >" -var p1637 = &p1637Var -var p1650Var = "function " -var p1650 = &p1650Var -var p1661Var = "function " -var p1661 = &p1661Var -var p1665Var = "thunk from >" -var p1665 = &p1665Var -var p1670Var = "object " -var p1670 = &p1670Var -var p1700Var = "thunk from >" -var p1700 = &p1700Var -var p1725Var = "thunk from >" -var p1725 = &p1725Var -var p1737Var = "thunk from >" -var p1737 = &p1737Var -var p1784Var = "thunk from >" -var p1784 = &p1784Var -var p1834Var = "thunk from >" -var p1834 = &p1834Var -var p1848Var = "thunk from >" -var p1848 = &p1848Var -var p1871Var = "thunk from >" -var p1871 = &p1871Var -var p1877Var = "thunk from >" +var p1627Var = "function " +var p1627 = &p1627Var +var p1631Var = "thunk from >" +var p1631 = &p1631Var +var p1641Var = "thunk from >" +var p1641 = &p1641Var +var p1645Var = "function " +var p1645 = &p1645Var +var p1657Var = "thunk from >" +var p1657 = &p1657Var +var p1668Var = "thunk from >" +var p1668 = &p1668Var +var p1681Var = "thunk from >" +var p1681 = &p1681Var +var p1689Var = "thunk from >>" +var p1689 = &p1689Var +var p1706Var = "thunk from >" +var p1706 = &p1706Var +var p1716Var = "thunk from >>" +var p1716 = &p1716Var +var p1727Var = "thunk from >>>" +var p1727 = &p1727Var +var p1735Var = "function " +var p1735 = &p1735Var +var p1739Var = "thunk from >" +var p1739 = &p1739Var +var p1749Var = "thunk from >" +var p1749 = &p1749Var +var p1753Var = "function " +var p1753 = &p1753Var +var p1765Var = "thunk from >" +var p1765 = &p1765Var +var p1776Var = "thunk from >" +var p1776 = &p1776Var +var p1789Var = "thunk from >" +var p1789 = &p1789Var +var p1797Var = "thunk from >>" +var p1797 = &p1797Var +var p1814Var = "thunk from >" +var p1814 = &p1814Var +var p1824Var = "thunk from >>" +var p1824 = &p1824Var +var p1835Var = "thunk from >>>" +var p1835 = &p1835Var +var p1842Var = "function " +var p1842 = &p1842Var +var p1852Var = "thunk from >" +var p1852 = &p1852Var +var p1865Var = "function " +var p1865 = &p1865Var +var p1877Var = "function " var p1877 = &p1877Var -var p1881Var = "function " -var p1881 = &p1881Var -var p1911Var = "thunk from >" -var p1911 = &p1911Var -var p1942Var = "thunk from >>" -var p1942 = &p1942Var -var p1966Var = "thunk from >" -var p1966 = &p1966Var -var p1988Var = "function " -var p1988 = &p1988Var -var p1997Var = "thunk from >" -var p1997 = &p1997Var -var p2006Var = "thunk from >>" -var p2006 = &p2006Var -var p2010Var = "function " -var p2010 = &p2010Var -var p2023Var = "function " -var p2023 = &p2023Var -var p2038Var = "thunk from >" -var p2038 = &p2038Var -var p2052Var = "thunk from >" -var p2052 = &p2052Var -var p2064Var = "thunk from >" -var p2064 = &p2064Var -var p2081Var = "thunk from >" -var p2081 = &p2081Var -var p2093Var = "thunk from >" -var p2093 = &p2093Var -var p2117Var = "thunk from >" -var p2117 = &p2117Var -var p2129Var = "thunk from >" -var p2129 = &p2129Var -var p2137Var = "function " -var p2137 = &p2137Var -var p2150Var = "thunk from >" -var p2150 = &p2150Var -var p2167Var = "thunk from >" -var p2167 = &p2167Var -var p2184Var = "thunk from >" -var p2184 = &p2184Var -var p2198Var = "thunk from >" -var p2198 = &p2198Var -var p2215Var = "thunk from >" -var p2215 = &p2215Var -var p2226Var = "thunk from >" -var p2226 = &p2226Var -var p2235Var = "thunk from >>" -var p2235 = &p2235Var -var p2241Var = "function " -var p2241 = &p2241Var -var p2247Var = "thunk from >" -var p2247 = &p2247Var -var p2258Var = "function " -var p2258 = &p2258Var -var p2271Var = "thunk from >" -var p2271 = &p2271Var -var p2288Var = "thunk from >" -var p2288 = &p2288Var -var p2305Var = "thunk from >" -var p2305 = &p2305Var -var p2319Var = "thunk from >" -var p2319 = &p2319Var -var p2336Var = "thunk from >" -var p2336 = &p2336Var +var p1882Var = "thunk from >" +var p1882 = &p1882Var +var p1893Var = "thunk from from >>" +var p1893 = &p1893Var +var p1908Var = "thunk from from >>" +var p1908 = &p1908Var +var p1924Var = "thunk from >" +var p1924 = &p1924Var +var p1935Var = "thunk from >>" +var p1935 = &p1935Var +var p1941Var = "function " +var p1941 = &p1941Var +var p1949Var = "function " +var p1949 = &p1949Var +var p1955Var = "thunk from >" +var p1955 = &p1955Var +var p1960Var = "object " +var p1960 = &p1960Var +var p1993Var = "thunk from >" +var p1993 = &p1993Var +var p2021Var = "thunk from >" +var p2021 = &p2021Var +var p2033Var = "thunk from >" +var p2033 = &p2033Var +var p2085Var = "thunk from >" +var p2085 = &p2085Var +var p2096Var = "thunk from >" +var p2096 = &p2096Var +var p2103Var = "thunk from >" +var p2103 = &p2103Var +var p2108Var = "function " +var p2108 = &p2108Var +var p2142Var = "thunk from >" +var p2142 = &p2142Var +var p2176Var = "thunk from >>" +var p2176 = &p2176Var +var p2203Var = "thunk from >" +var p2203 = &p2203Var +var p2240Var = "thunk from >" +var p2240 = &p2240Var +var p2270Var = "thunk from >" +var p2270 = &p2270Var +var p2291Var = "function " +var p2291 = &p2291Var +var p2302Var = "thunk from >" +var p2302 = &p2302Var +var p2316Var = "thunk from >" +var p2316 = &p2316Var +var p2333Var = "thunk from >" +var p2333 = &p2333Var var p2347Var = "thunk from >" var p2347 = &p2347Var var p2356Var = "thunk from >>" var p2356 = &p2356Var -var p2362Var = "function " -var p2362 = &p2362Var -var p2368Var = "thunk from >" -var p2368 = &p2368Var -var p2381Var = "function " -var p2381 = &p2381Var -var p2394Var = "thunk from >" -var p2394 = &p2394Var -var p2411Var = "thunk from >" -var p2411 = &p2411Var -var p2426Var = "thunk from >" -var p2426 = &p2426Var -var p2443Var = "thunk from >" -var p2443 = &p2443Var -var p2473Var = "object " -var p2473 = &p2473Var -var p2479Var = "thunk from >" -var p2479 = &p2479Var -var p2496Var = "thunk from >" -var p2496 = &p2496Var -var p2503Var = "function " -var p2503 = &p2503Var -var p2507Var = "thunk from >" +var p2369Var = "function " +var p2369 = &p2369Var +var p2378Var = "thunk from >" +var p2378 = &p2378Var +var p2387Var = "thunk from >>" +var p2387 = &p2387Var +var p2391Var = "function " +var p2391 = &p2391Var +var p2405Var = "function " +var p2405 = &p2405Var +var p2418Var = "thunk from >" +var p2418 = &p2418Var +var p2429Var = "thunk from >" +var p2429 = &p2429Var +var p2441Var = "thunk from >" +var p2441 = &p2441Var +var p2457Var = "thunk from >" +var p2457 = &p2457Var +var p2469Var = "thunk from >" +var p2469 = &p2469Var +var p2495Var = "thunk from >" +var p2495 = &p2495Var +var p2507Var = "thunk from >" var p2507 = &p2507Var -var p2511Var = "function " -var p2511 = &p2511Var -var p2526Var = "thunk from >" -var p2526 = &p2526Var -var p2547Var = "thunk from >" -var p2547 = &p2547Var -var p2571Var = "thunk from >" -var p2571 = &p2571Var -var p2586Var = "thunk from >" -var p2586 = &p2586Var -var p2603Var = "thunk from >" -var p2603 = &p2603Var -var p2612Var = "thunk from >>" -var p2612 = &p2612Var -var p2625Var = "thunk from >>" -var p2625 = &p2625Var -var p2641Var = "thunk from >" -var p2641 = &p2641Var -var p2665Var = "thunk from >" -var p2665 = &p2665Var -var p2700Var = "thunk from >" -var p2700 = &p2700Var -var p2717Var = "thunk from >" -var p2717 = &p2717Var -var p2732Var = "thunk from >" -var p2732 = &p2732Var -var p2741Var = "thunk from >" -var p2741 = &p2741Var -var p2759Var = "thunk from >" -var p2759 = &p2759Var -var p2768Var = "thunk from >" -var p2768 = &p2768Var -var p2787Var = "thunk from >" -var p2787 = &p2787Var -var p2794Var = "function " -var p2794 = &p2794Var -var p2803Var = "thunk from >" -var p2803 = &p2803Var -var p2811Var = "thunk from >>" -var p2811 = &p2811Var -var p2817Var = "function " -var p2817 = &p2817Var -var p2828Var = "thunk from >" -var p2828 = &p2828Var -var p2843Var = "thunk from >" -var p2843 = &p2843Var -var p2854Var = "thunk from >" -var p2854 = &p2854Var -var p2870Var = "thunk from >>" -var p2870 = &p2870Var -var p2879Var = "thunk from >>>" -var p2879 = &p2879Var -var p2903Var = "thunk from >" -var p2903 = &p2903Var -var p2910Var = "function " -var p2910 = &p2910Var -var p2914Var = "thunk from >" -var p2914 = &p2914Var -var p2918Var = "function " -var p2918 = &p2918Var -var p2933Var = "thunk from >" -var p2933 = &p2933Var -var p2941Var = "thunk from >" -var p2941 = &p2941Var -var p2958Var = "thunk from >" -var p2958 = &p2958Var -var p2962Var = "function " -var p2962 = &p2962Var -var p2977Var = "thunk from >" -var p2977 = &p2977Var -var p2985Var = "thunk from >" -var p2985 = &p2985Var -var p3004Var = "thunk from >" -var p3004 = &p3004Var -var p3022Var = "object " -var p3022 = &p3022Var -var p3036Var = "thunk from >" -var p3036 = &p3036Var -var p3049Var = "object " -var p3049 = &p3049Var -var p3057Var = "thunk from >" -var p3057 = &p3057Var -var p3061Var = "function " -var p3061 = &p3061Var -var p3065Var = "thunk from >" -var p3065 = &p3065Var -var p3069Var = "function " -var p3069 = &p3069Var -var p3084Var = "thunk from >" -var p3084 = &p3084Var -var p3092Var = "thunk from >" +var p2516Var = "function " +var p2516 = &p2516Var +var p2529Var = "thunk from >" +var p2529 = &p2529Var +var p2546Var = "thunk from >" +var p2546 = &p2546Var +var p2564Var = "thunk from >" +var p2564 = &p2564Var +var p2577Var = "thunk from >" +var p2577 = &p2577Var +var p2594Var = "thunk from >" +var p2594 = &p2594Var +var p2607Var = "thunk from >" +var p2607 = &p2607Var +var p2616Var = "thunk from >>" +var p2616 = &p2616Var +var p2622Var = "function " +var p2622 = &p2622Var +var p2628Var = "thunk from >" +var p2628 = &p2628Var +var p2640Var = "function " +var p2640 = &p2640Var +var p2653Var = "thunk from >" +var p2653 = &p2653Var +var p2670Var = "thunk from >" +var p2670 = &p2670Var +var p2688Var = "thunk from >" +var p2688 = &p2688Var +var p2701Var = "thunk from >" +var p2701 = &p2701Var +var p2718Var = "thunk from >" +var p2718 = &p2718Var +var p2731Var = "thunk from >" +var p2731 = &p2731Var +var p2740Var = "thunk from >>" +var p2740 = &p2740Var +var p2746Var = "function " +var p2746 = &p2746Var +var p2752Var = "thunk from >" +var p2752 = &p2752Var +var p2766Var = "function " +var p2766 = &p2766Var +var p2779Var = "thunk from >" +var p2779 = &p2779Var +var p2796Var = "thunk from >" +var p2796 = &p2796Var +var p2812Var = "thunk from >" +var p2812 = &p2812Var +var p2829Var = "thunk from >" +var p2829 = &p2829Var +var p2861Var = "object " +var p2861 = &p2861Var +var p2867Var = "thunk from >" +var p2867 = &p2867Var +var p2884Var = "thunk from >" +var p2884 = &p2884Var +var p2892Var = "function " +var p2892 = &p2892Var +var p2905Var = "thunk from >" +var p2905 = &p2905Var +var p2922Var = "thunk from >" +var p2922 = &p2922Var +var p2936Var = "thunk from >" +var p2936 = &p2936Var +var p2948Var = "thunk from >" +var p2948 = &p2948Var +var p2957Var = "thunk from >>" +var p2957 = &p2957Var +var p2966Var = "thunk from >>>" +var p2966 = &p2966Var +var p2972Var = "function " +var p2972 = &p2972Var +var p2978Var = "thunk from >" +var p2978 = &p2978Var +var p2996Var = "thunk from >" +var p2996 = &p2996Var +var p3008Var = "thunk from >" +var p3008 = &p3008Var +var p3018Var = "thunk from >>" +var p3018 = &p3018Var +var p3027Var = "thunk from >>>" +var p3027 = &p3027Var +var p3033Var = "function " +var p3033 = &p3033Var +var p3039Var = "thunk from >" +var p3039 = &p3039Var +var p3060Var = "thunk from >" +var p3060 = &p3060Var +var p3068Var = "function " +var p3068 = &p3068Var +var p3072Var = "thunk from >" +var p3072 = &p3072Var +var p3077Var = "function " +var p3077 = &p3077Var +var p3092Var = "thunk from >" var p3092 = &p3092Var -var p3111Var = "thunk from >" -var p3111 = &p3111Var -var p3126Var = "object " -var p3126 = &p3126Var -var p3140Var = "thunk from >" -var p3140 = &p3140Var -var p3155Var = "object " -var p3155 = &p3155Var -var p3169Var = "thunk from >" -var p3169 = &p3169Var -var p3184Var = "object " -var p3184 = &p3184Var -var p3198Var = "thunk from >" -var p3198 = &p3198Var -var p3213Var = "object " -var p3213 = &p3213Var -var p3227Var = "thunk from >" -var p3227 = &p3227Var -var p3242Var = "object " -var p3242 = &p3242Var -var p3248Var = "object " -var p3248 = &p3248Var -var p3259Var = "thunk from >" -var p3259 = &p3259Var -var p3267Var = "object " -var p3267 = &p3267Var -var p3280Var = "thunk from >" -var p3280 = &p3280Var -var p3284Var = "function " -var p3284 = &p3284Var -var p3301Var = "thunk from >" -var p3301 = &p3301Var -var p3317Var = "object " -var p3317 = &p3317Var -var p3328Var = "thunk from >" -var p3328 = &p3328Var -var p3332Var = "function " -var p3332 = &p3332Var -var p3347Var = "thunk from >" -var p3347 = &p3347Var -var p3355Var = "thunk from >" -var p3355 = &p3355Var -var p3374Var = "thunk from >" -var p3374 = &p3374Var -var p3402Var = "thunk from >" -var p3402 = &p3402Var -var p3430Var = "thunk from >" -var p3430 = &p3430Var -var p3458Var = "thunk from >" -var p3458 = &p3458Var -var p3486Var = "thunk from >" +var p3116Var = "thunk from >" +var p3116 = &p3116Var +var p3141Var = "thunk from >" +var p3141 = &p3141Var +var p3156Var = "thunk from >" +var p3156 = &p3156Var +var p3174Var = "thunk from >" +var p3174 = &p3174Var +var p3183Var = "thunk from >>" +var p3183 = &p3183Var +var p3196Var = "thunk from >>" +var p3196 = &p3196Var +var p3214Var = "thunk from >" +var p3214 = &p3214Var +var p3240Var = "thunk from >" +var p3240 = &p3240Var +var p3276Var = "thunk from >" +var p3276 = &p3276Var +var p3293Var = "thunk from >" +var p3293 = &p3293Var +var p3307Var = "thunk from >" +var p3307 = &p3307Var +var p3316Var = "thunk from >" +var p3316 = &p3316Var +var p3333Var = "thunk from >" +var p3333 = &p3333Var +var p3342Var = "thunk from >" +var p3342 = &p3342Var +var p3363Var = "thunk from >" +var p3363 = &p3363Var +var p3370Var = "function " +var p3370 = &p3370Var +var p3380Var = "thunk from >" +var p3380 = &p3380Var +var p3388Var = "thunk from >>" +var p3388 = &p3388Var +var p3395Var = "function " +var p3395 = &p3395Var +var p3406Var = "thunk from >" +var p3406 = &p3406Var +var p3423Var = "thunk from >" +var p3423 = &p3423Var +var p3435Var = "thunk from >" +var p3435 = &p3435Var +var p3451Var = "thunk from >>" +var p3451 = &p3451Var +var p3460Var = "thunk from >>>" +var p3460 = &p3460Var +var p3486Var = "thunk from >" var p3486 = &p3486Var -var p3514Var = "thunk from >" -var p3514 = &p3514Var -var p3542Var = "thunk from >" -var p3542 = &p3542Var -var p3570Var = "thunk from >" -var p3570 = &p3570Var +var p3497Var = "function " +var p3497 = &p3497Var +var p3501Var = "thunk from >" +var p3501 = &p3501Var +var p3507Var = "function " +var p3507 = &p3507Var +var p3520Var = "thunk from >" +var p3520 = &p3520Var +var p3527Var = "thunk from >" +var p3527 = &p3527Var +var p3546Var = "thunk from >" +var p3546 = &p3546Var +var p3551Var = "function " +var p3551 = &p3551Var +var p3566Var = "thunk from >" +var p3566 = &p3566Var +var p3577Var = "thunk from >" +var p3577 = &p3577Var var p3598Var = "thunk from >" var p3598 = &p3598Var -var p3626Var = "thunk from >" -var p3626 = &p3626Var -var p3646Var = "object " -var p3646 = &p3646Var -var p3657Var = "thunk from >" -var p3657 = &p3657Var -var p3666Var = "thunk from >" -var p3666 = &p3666Var -var p3670Var = "function " -var p3670 = &p3670Var -var p3685Var = "thunk from >" -var p3685 = &p3685Var -var p3693Var = "thunk from >" -var p3693 = &p3693Var -var p3712Var = "thunk from >" -var p3712 = &p3712Var -var p3724Var = "object " -var p3724 = &p3724Var -var p3732Var = "thunk from >" -var p3732 = &p3732Var -var p3736Var = "function " -var p3736 = &p3736Var -var p3751Var = "thunk from >" -var p3751 = &p3751Var -var p3759Var = "thunk from >" -var p3759 = &p3759Var -var p3797Var = "thunk from >" -var p3797 = &p3797Var -var p3801Var = "function " -var p3801 = &p3801Var -var p3816Var = "thunk from >" -var p3816 = &p3816Var -var p3824Var = "thunk from >" -var p3824 = &p3824Var -var p3856Var = "object " -var p3856 = &p3856Var -var p3877Var = "object " -var p3877 = &p3877Var -var p3898Var = "object " +var p3618Var = "object " +var p3618 = &p3618Var +var p3633Var = "thunk from >" +var p3633 = &p3633Var +var p3648Var = "object " +var p3648 = &p3648Var +var p3659Var = "thunk from >" +var p3659 = &p3659Var +var p3664Var = "function " +var p3664 = &p3664Var +var p3668Var = "thunk from >" +var p3668 = &p3668Var +var p3674Var = "function " +var p3674 = &p3674Var +var p3687Var = "thunk from >" +var p3687 = &p3687Var +var p3694Var = "thunk from >" +var p3694 = &p3694Var +var p3715Var = "thunk from >" +var p3715 = &p3715Var +var p3730Var = "object " +var p3730 = &p3730Var +var p3746Var = "thunk from >" +var p3746 = &p3746Var +var p3761Var = "object " +var p3761 = &p3761Var +var p3777Var = "thunk from >" +var p3777 = &p3777Var +var p3792Var = "object " +var p3792 = &p3792Var +var p3808Var = "thunk from >" +var p3808 = &p3808Var +var p3823Var = "object " +var p3823 = &p3823Var +var p3839Var = "thunk from >" +var p3839 = &p3839Var +var p3854Var = "object " +var p3854 = &p3854Var +var p3862Var = "object " +var p3862 = &p3862Var +var p3876Var = "thunk from >" +var p3876 = &p3876Var +var p3884Var = "object " +var p3884 = &p3884Var +var p3898Var = "thunk from >" var p3898 = &p3898Var -var p3919Var = "object " -var p3919 = &p3919Var -var p3940Var = "object " -var p3940 = &p3940Var -var p3961Var = "object " -var p3961 = &p3961Var -var p3982Var = "object " -var p3982 = &p3982Var -var p4003Var = "object " -var p4003 = &p4003Var -var p4024Var = "object " -var p4024 = &p4024Var -var p4045Var = "object " -var p4045 = &p4045Var -var p4066Var = "object " -var p4066 = &p4066Var -var p4087Var = "object " +var p3903Var = "function " +var p3903 = &p3903Var +var p3920Var = "thunk from >" +var p3920 = &p3920Var +var p3937Var = "object " +var p3937 = &p3937Var +var p3950Var = "thunk from >" +var p3950 = &p3950Var +var p3956Var = "function " +var p3956 = &p3956Var +var p3969Var = "thunk from >" +var p3969 = &p3969Var +var p3976Var = "thunk from >" +var p3976 = &p3976Var +var p3997Var = "thunk from >" +var p3997 = &p3997Var +var p4027Var = "thunk from >" +var p4027 = &p4027Var +var p4057Var = "thunk from >" +var p4057 = &p4057Var +var p4087Var = "thunk from >" var p4087 = &p4087Var -var p4108Var = "object " -var p4108 = &p4108Var -var p4128Var = "thunk from >" -var p4128 = &p4128Var -var p4132Var = "function " -var p4132 = &p4132Var -var p4147Var = "thunk from >" +var p4117Var = "thunk from >" +var p4117 = &p4117Var +var p4147Var = "thunk from >" var p4147 = &p4147Var -var p4155Var = "thunk from >" -var p4155 = &p4155Var -var p4161Var = "thunk from from >>" -var p4161 = &p4161Var -var p4169Var = "thunk from >" -var p4169 = &p4169Var -var p4175Var = "thunk from from >>" -var p4175 = &p4175Var -var p4186Var = "thunk from >" -var p4186 = &p4186Var -var p4192Var = "thunk from from >>" -var p4192 = &p4192Var -var p4203Var = "thunk from >" -var p4203 = &p4203Var -var p4209Var = "thunk from from >>" -var p4209 = &p4209Var -var p4220Var = "thunk from >" -var p4220 = &p4220Var -var p4226Var = "thunk from from >>" -var p4226 = &p4226Var -var p4237Var = "thunk from >" +var p4177Var = "thunk from >" +var p4177 = &p4177Var +var p4207Var = "thunk from >" +var p4207 = &p4207Var +var p4237Var = "thunk from >" var p4237 = &p4237Var -var p4243Var = "thunk from from >>" -var p4243 = &p4243Var -var p4252Var = "object " -var p4252 = &p4252Var -var p4263Var = "object " -var p4263 = &p4263Var -var p4302Var = "thunk from >" -var p4302 = &p4302Var -var p4306Var = "function " -var p4306 = &p4306Var -var p4321Var = "thunk from >" -var p4321 = &p4321Var -var p4331Var = "thunk from >" -var p4331 = &p4331Var -var p4337Var = "thunk from >" -var p4337 = &p4337Var -var p4354Var = "thunk from >" -var p4354 = &p4354Var -var p4360Var = "thunk from from >>" +var p4267Var = "thunk from >" +var p4267 = &p4267Var +var p4289Var = "object " +var p4289 = &p4289Var +var p4303Var = "thunk from >" +var p4303 = &p4303Var +var p4313Var = "thunk from >" +var p4313 = &p4313Var +var p4319Var = "function " +var p4319 = &p4319Var +var p4332Var = "thunk from >" +var p4332 = &p4332Var +var p4339Var = "thunk from >" +var p4339 = &p4339Var +var p4360Var = "thunk from >" var p4360 = &p4360Var -var p4373Var = "thunk from >" -var p4373 = &p4373Var -var p4388Var = "thunk from >>" -var p4388 = &p4388Var -var p4402Var = "thunk from >" -var p4402 = &p4402Var -var p4421Var = "thunk from >" -var p4421 = &p4421Var -var p4427Var = "thunk from from >>" -var p4427 = &p4427Var -var p4436Var = "thunk from >" -var p4436 = &p4436Var -var p4439Var = "function " -var p4439 = &p4439Var -var p4443Var = "thunk from >" -var p4443 = &p4443Var -var p4447Var = "function " -var p4447 = &p4447Var -var p4462Var = "thunk from >" -var p4462 = &p4462Var -var p4479Var = "thunk from >" -var p4479 = &p4479Var -var p4486Var = "thunk from >" -var p4486 = &p4486Var -var p4490Var = "function " -var p4490 = &p4490Var -var p4498Var = "thunk from >" -var p4498 = &p4498Var -var p4511Var = "thunk from >>" -var p4511 = &p4511Var -var p4521Var = "thunk from >" -var p4521 = &p4521Var -var p4525Var = "function " -var p4525 = &p4525Var -var p4535Var = "thunk from >" -var p4535 = &p4535Var -var p4548Var = "thunk from >>" -var p4548 = &p4548Var -var p4556Var = "thunk from >" -var p4556 = &p4556Var -var p4560Var = "function " -var p4560 = &p4560Var -var p4564Var = "thunk from >" -var p4564 = &p4564Var -var p4573Var = "thunk from from >>" -var p4573 = &p4573Var -var p4579Var = "thunk from >" -var p4579 = &p4579Var -var p4583Var = "function " -var p4583 = &p4583Var -var p4600Var = "thunk from >" -var p4600 = &p4600Var -var p4609Var = "thunk from >>" +var p4374Var = "object " +var p4374 = &p4374Var +var p4386Var = "thunk from >" +var p4386 = &p4386Var +var p4392Var = "function " +var p4392 = &p4392Var +var p4405Var = "thunk from >" +var p4405 = &p4405Var +var p4412Var = "thunk from >" +var p4412 = &p4412Var +var p4457Var = "thunk from >" +var p4457 = &p4457Var +var p4463Var = "function " +var p4463 = &p4463Var +var p4476Var = "thunk from >" +var p4476 = &p4476Var +var p4483Var = "thunk from >" +var p4483 = &p4483Var +var p4517Var = "object " +var p4517 = &p4517Var +var p4540Var = "object " +var p4540 = &p4540Var +var p4563Var = "object " +var p4563 = &p4563Var +var p4586Var = "object " +var p4586 = &p4586Var +var p4609Var = "object " var p4609 = &p4609Var -var p4631Var = "thunk from >" -var p4631 = &p4631Var -var p4644Var = "thunk from from >>" -var p4644 = &p4644Var -var p4654Var = "thunk from from >>" -var p4654 = &p4654Var -var p4663Var = "thunk from from >>>" -var p4663 = &p4663Var -var p4669Var = "thunk from >" -var p4669 = &p4669Var -var p4678Var = "thunk from >" +var p4632Var = "object " +var p4632 = &p4632Var +var p4655Var = "object " +var p4655 = &p4655Var +var p4678Var = "object " var p4678 = &p4678Var -var p4700Var = "thunk from >" -var p4700 = &p4700Var -var p4709Var = "thunk from from >>" -var p4709 = &p4709Var -var p4717Var = "thunk from >" -var p4717 = &p4717Var -var p4723Var = "thunk from from >>" -var p4723 = &p4723Var -var p4752Var = "thunk from >" -var p4752 = &p4752Var -var p4756Var = "function " -var p4756 = &p4756Var -var p4760Var = "thunk from >" -var p4760 = &p4760Var -var p4765Var = "thunk from from >>" -var p4765 = &p4765Var -var p4782Var = "thunk from from >>" -var p4782 = &p4782Var -var p4791Var = "thunk from from >>" -var p4791 = &p4791Var -var p4801Var = "thunk from >" -var p4801 = &p4801Var -var p4810Var = "thunk from from >>" -var p4810 = &p4810Var -var p4816Var = "thunk from >" -var p4816 = &p4816Var -var p4820Var = "function " -var p4820 = &p4820Var -var p4836Var = "thunk from >" -var p4836 = &p4836Var -var p4845Var = "thunk from >>" +var p4701Var = "object " +var p4701 = &p4701Var +var p4724Var = "object " +var p4724 = &p4724Var +var p4747Var = "object " +var p4747 = &p4747Var +var p4770Var = "object " +var p4770 = &p4770Var +var p4793Var = "object " +var p4793 = &p4793Var +var p4819Var = "thunk from >" +var p4819 = &p4819Var +var p4825Var = "function " +var p4825 = &p4825Var +var p4838Var = "thunk from >" +var p4838 = &p4838Var +var p4845Var = "thunk from >" var p4845 = &p4845Var -var p4869Var = "thunk from >" -var p4869 = &p4869Var -var p4882Var = "thunk from from >>" -var p4882 = &p4882Var -var p4892Var = "thunk from from >>" -var p4892 = &p4892Var -var p4901Var = "thunk from from >>>" -var p4901 = &p4901Var -var p4907Var = "thunk from >" -var p4907 = &p4907Var -var p4916Var = "thunk from >" -var p4916 = &p4916Var -var p4946Var = "thunk from >" -var p4946 = &p4946Var -var p4955Var = "thunk from from >>" -var p4955 = &p4955Var -var p4963Var = "thunk from >" -var p4963 = &p4963Var -var p4982Var = "thunk from from >>" -var p4982 = &p4982Var -var p5011Var = "thunk from >" -var p5011 = &p5011Var -var p5015Var = "function " -var p5015 = &p5015Var -var p5019Var = "thunk from >" -var p5019 = &p5019Var -var p5023Var = "function " -var p5023 = &p5023Var -var p5048Var = "thunk from >" -var p5048 = &p5048Var -var p5064Var = "thunk from >" -var p5064 = &p5064Var -var p5078Var = "thunk from >" -var p5078 = &p5078Var -var p5091Var = "thunk from >>" -var p5091 = &p5091Var -var p5098Var = "thunk from >" -var p5098 = &p5098Var -var p5102Var = "function " -var p5102 = &p5102Var -var p5106Var = "thunk from >" -var p5106 = &p5106Var -var p5115Var = "thunk from from >>" -var p5115 = &p5115Var -var p5121Var = "thunk from >" -var p5121 = &p5121Var -var p5130Var = "thunk from from >>" -var p5130 = &p5130Var -var p5136Var = "thunk from >" -var p5136 = &p5136Var -var p5155Var = "thunk from >" +var p4851Var = "thunk from from >>" +var p4851 = &p4851Var +var p4860Var = "thunk from >" +var p4860 = &p4860Var +var p4866Var = "thunk from from >>" +var p4866 = &p4866Var +var p4878Var = "thunk from >" +var p4878 = &p4878Var +var p4884Var = "thunk from from >>" +var p4884 = &p4884Var +var p4896Var = "thunk from >" +var p4896 = &p4896Var +var p4902Var = "thunk from from >>" +var p4902 = &p4902Var +var p4914Var = "thunk from >" +var p4914 = &p4914Var +var p4920Var = "thunk from from >>" +var p4920 = &p4920Var +var p4932Var = "thunk from >" +var p4932 = &p4932Var +var p4938Var = "thunk from from >>" +var p4938 = &p4938Var +var p4948Var = "object " +var p4948 = &p4948Var +var p4959Var = "object " +var p4959 = &p4959Var +var p5002Var = "thunk from >" +var p5002 = &p5002Var +var p5007Var = "function " +var p5007 = &p5007Var +var p5022Var = "thunk from >" +var p5022 = &p5022Var +var p5033Var = "thunk from >" +var p5033 = &p5033Var +var p5041Var = "thunk from >" +var p5041 = &p5041Var +var p5060Var = "thunk from >" +var p5060 = &p5060Var +var p5066Var = "thunk from from >>" +var p5066 = &p5066Var +var p5080Var = "thunk from >" +var p5080 = &p5080Var +var p5095Var = "thunk from >>" +var p5095 = &p5095Var +var p5111Var = "thunk from >" +var p5111 = &p5111Var +var p5131Var = "thunk from >" +var p5131 = &p5131Var +var p5137Var = "thunk from from >>" +var p5137 = &p5137Var +var p5151Var = "thunk from >" +var p5151 = &p5151Var +var p5155Var = "function " var p5155 = &p5155Var -var p5169Var = "thunk from >" -var p5169 = &p5169Var -var p5175Var = "thunk from from >>" -var p5175 = &p5175Var -var p5186Var = "thunk from from >>>" -var p5186 = &p5186Var -var p5220Var = "thunk from >" -var p5220 = &p5220Var -var p5229Var = "thunk from from >>" -var p5229 = &p5229Var -var p5248Var = "thunk from from >>>" -var p5248 = &p5248Var -var p5267Var = "thunk from >" -var p5267 = &p5267Var -var p5273Var = "thunk from from >>" -var p5273 = &p5273Var -var p5301Var = "thunk from >" -var p5301 = &p5301Var -var p5311Var = "thunk from >" -var p5311 = &p5311Var -var p5315Var = "function " -var p5315 = &p5315Var -var p5319Var = "thunk from >" -var p5319 = &p5319Var -var p5336Var = "thunk from from >>" -var p5336 = &p5336Var -var p5347Var = "thunk from from >>>" -var p5347 = &p5347Var -var p5356Var = "thunk from from >>>>" -var p5356 = &p5356Var -var p5367Var = "thunk from from >>>" -var p5367 = &p5367Var -var p5372Var = "thunk from >" -var p5372 = &p5372Var -var p5386Var = "thunk from from >>" -var p5386 = &p5386Var -var p5398Var = "thunk from >" -var p5398 = &p5398Var -var p5422Var = "thunk from from >>" -var p5422 = &p5422Var -var p5441Var = "thunk from from >>" -var p5441 = &p5441Var -var p5448Var = "thunk from >" -var p5448 = &p5448Var -var p5461Var = "thunk from from >>" -var p5461 = &p5461Var -var p5471Var = "thunk from >" -var p5471 = &p5471Var -var p5491Var = "thunk from >" -var p5491 = &p5491Var -var p5495Var = "function " -var p5495 = &p5495Var -var p5499Var = "thunk from >" +var p5159Var = "thunk from >" +var p5159 = &p5159Var +var p5164Var = "function " +var p5164 = &p5164Var +var p5182Var = "thunk from >" +var p5182 = &p5182Var +var p5200Var = "thunk from >" +var p5200 = &p5200Var +var p5209Var = "thunk from >" +var p5209 = &p5209Var +var p5213Var = "function " +var p5213 = &p5213Var +var p5222Var = "thunk from >" +var p5222 = &p5222Var +var p5235Var = "thunk from >>" +var p5235 = &p5235Var +var p5247Var = "thunk from >" +var p5247 = &p5247Var +var p5251Var = "function " +var p5251 = &p5251Var +var p5262Var = "thunk from >" +var p5262 = &p5262Var +var p5275Var = "thunk from >>" +var p5275 = &p5275Var +var p5297Var = "thunk from >" +var p5297 = &p5297Var +var p5303Var = "function " +var p5303 = &p5303Var +var p5308Var = "thunk from >" +var p5308 = &p5308Var +var p5323Var = "thunk from from >>" +var p5323 = &p5323Var +var p5328Var = "function " +var p5328 = &p5328Var +var p5348Var = "thunk from >" +var p5348 = &p5348Var +var p5357Var = "thunk from >>" +var p5357 = &p5357Var +var p5382Var = "thunk from from >>" +var p5382 = &p5382Var +var p5389Var = "thunk from >" +var p5389 = &p5389Var +var p5412Var = "thunk from >" +var p5412 = &p5412Var +var p5421Var = "thunk from from >>" +var p5421 = &p5421Var +var p5430Var = "thunk from >" +var p5430 = &p5430Var +var p5436Var = "thunk from from >>" +var p5436 = &p5436Var +var p5467Var = "thunk from >" +var p5467 = &p5467Var +var p5472Var = "function " +var p5472 = &p5472Var +var p5476Var = "thunk from >" +var p5476 = &p5476Var +var p5481Var = "thunk from from >>" +var p5481 = &p5481Var +var p5499Var = "thunk from from >>" var p5499 = &p5499Var -var p5508Var = "thunk from >" -var p5508 = &p5508Var -var p5522Var = "thunk from >" -var p5522 = &p5522Var -var p5536Var = "thunk from >" +var p5509Var = "thunk from from >>" +var p5509 = &p5509Var +var p5520Var = "thunk from >" +var p5520 = &p5520Var +var p5529Var = "thunk from from >>" +var p5529 = &p5529Var +var p5536Var = "thunk from >" var p5536 = &p5536Var -var p5574Var = "thunk from >" -var p5574 = &p5574Var -var p5599Var = "thunk from >" -var p5599 = &p5599Var -var p5623Var = "thunk from >" -var p5623 = &p5623Var -var p5631Var = "thunk from >" -var p5631 = &p5631Var -var p5672Var = "thunk from >" -var p5672 = &p5672Var -var p5696Var = "thunk from >" -var p5696 = &p5696Var -var p5702Var = "thunk from >" -var p5702 = &p5702Var -var p5717Var = "thunk from >" -var p5717 = &p5717Var -var p5759Var = "thunk from >" -var p5759 = &p5759Var -var p5783Var = "thunk from >" -var p5783 = &p5783Var -var p5791Var = "thunk from >" -var p5791 = &p5791Var -var p5840Var = "thunk from >" -var p5840 = &p5840Var -var p5864Var = "thunk from >" -var p5864 = &p5864Var -var p5872Var = "thunk from >" -var p5872 = &p5872Var -var p5917Var = "thunk from >" +var p5541Var = "function " +var p5541 = &p5541Var +var p5560Var = "thunk from >" +var p5560 = &p5560Var +var p5569Var = "thunk from >>" +var p5569 = &p5569Var +var p5594Var = "thunk from >" +var p5594 = &p5594Var +var p5607Var = "thunk from from >>" +var p5607 = &p5607Var +var p5617Var = "thunk from from >>" +var p5617 = &p5617Var +var p5626Var = "thunk from from >>>" +var p5626 = &p5626Var +var p5633Var = "thunk from >" +var p5633 = &p5633Var +var p5643Var = "thunk from >" +var p5643 = &p5643Var +var p5675Var = "thunk from >" +var p5675 = &p5675Var +var p5684Var = "thunk from from >>" +var p5684 = &p5684Var +var p5693Var = "thunk from >" +var p5693 = &p5693Var +var p5713Var = "thunk from from >>" +var p5713 = &p5713Var +var p5743Var = "thunk from >" +var p5743 = &p5743Var +var p5748Var = "function " +var p5748 = &p5748Var +var p5752Var = "thunk from >" +var p5752 = &p5752Var +var p5757Var = "function " +var p5757 = &p5757Var +var p5786Var = "thunk from >" +var p5786 = &p5786Var +var p5804Var = "thunk from >" +var p5804 = &p5804Var +var p5819Var = "thunk from >" +var p5819 = &p5819Var +var p5832Var = "thunk from >>" +var p5832 = &p5832Var +var p5841Var = "thunk from >" +var p5841 = &p5841Var +var p5846Var = "function " +var p5846 = &p5846Var +var p5850Var = "thunk from >" +var p5850 = &p5850Var +var p5859Var = "thunk from from >>" +var p5859 = &p5859Var +var p5866Var = "thunk from >" +var p5866 = &p5866Var +var p5875Var = "thunk from from >>" +var p5875 = &p5875Var +var p5882Var = "thunk from >" +var p5882 = &p5882Var +var p5902Var = "thunk from >" +var p5902 = &p5902Var +var p5917Var = "thunk from >" var p5917 = &p5917Var -var p5941Var = "thunk from >" -var p5941 = &p5941Var -var p5949Var = "thunk from >" -var p5949 = &p5949Var -var p5999Var = "thunk from >" -var p5999 = &p5999Var -var p6023Var = "thunk from >" -var p6023 = &p6023Var -var p6029Var = "thunk from >" -var p6029 = &p6029Var -var p6038Var = "thunk from from >>" -var p6038 = &p6038Var -var p6049Var = "thunk from from >>>" +var p5923Var = "thunk from from >>" +var p5923 = &p5923Var +var p5964Var = "thunk from >" +var p5964 = &p5964Var +var p5973Var = "thunk from from >>" +var p5973 = &p5973Var +var p5992Var = "thunk from from >>>" +var p5992 = &p5992Var +var p6013Var = "thunk from >" +var p6013 = &p6013Var +var p6019Var = "thunk from from >>" +var p6019 = &p6019Var +var p6049Var = "thunk from >" var p6049 = &p6049Var -var p6058Var = "thunk from from >>>>" -var p6058 = &p6058Var -var p6069Var = "thunk from from >>>" -var p6069 = &p6069Var -var p6092Var = "thunk from >" -var p6092 = &p6092Var -var p6130Var = "thunk from >" -var p6130 = &p6130Var -var p6139Var = "thunk from from >>" -var p6139 = &p6139Var -var p6151Var = "thunk from >" -var p6151 = &p6151Var -var p6204Var = "thunk from >" -var p6204 = &p6204Var -var p6216Var = "thunk from >" +var p6063Var = "thunk from >" +var p6063 = &p6063Var +var p6068Var = "function " +var p6068 = &p6068Var +var p6072Var = "thunk from >" +var p6072 = &p6072Var +var p6089Var = "thunk from from >>" +var p6089 = &p6089Var +var p6100Var = "thunk from from >>>" +var p6100 = &p6100Var +var p6109Var = "thunk from from >>>>" +var p6109 = &p6109Var +var p6120Var = "thunk from from >>>" +var p6120 = &p6120Var +var p6126Var = "thunk from >" +var p6126 = &p6126Var +var p6141Var = "thunk from from >>" +var p6141 = &p6141Var +var p6155Var = "thunk from from >>>" +var p6155 = &p6155Var +var p6168Var = "thunk from >" +var p6168 = &p6168Var +var p6195Var = "thunk from from >>" +var p6195 = &p6195Var +var p6216Var = "thunk from from >>" var p6216 = &p6216Var -var p6231Var = "thunk from >" -var p6231 = &p6231Var -var p6247Var = "thunk from >" -var p6247 = &p6247Var -var p6266Var = "thunk from >" -var p6266 = &p6266Var -var p6282Var = "thunk from >" -var p6282 = &p6282Var -var p6298Var = "thunk from >" -var p6298 = &p6298Var -var p6302Var = "function " -var p6302 = &p6302Var -var p6317Var = "thunk from >" -var p6317 = &p6317Var -var p6334Var = "thunk from >" -var p6334 = &p6334Var -var p6354Var = "thunk from >" -var p6354 = &p6354Var -var p6365Var = "thunk from >" -var p6365 = &p6365Var -var p6384Var = "thunk from >" -var p6384 = &p6384Var -var p6393Var = "thunk from >" -var p6393 = &p6393Var -var p6414Var = "thunk from >" -var p6414 = &p6414Var -var p6429Var = "object " -var p6429 = &p6429Var -var p6450Var = "thunk from >" -var p6450 = &p6450Var -var p6470Var = "thunk from >" -var p6470 = &p6470Var -var p6486Var = "object " -var p6486 = &p6486Var -var p6498Var = "thunk from >" -var p6498 = &p6498Var -var p6513Var = "object " -var p6513 = &p6513Var -var p6540Var = "thunk from >" -var p6540 = &p6540Var -var p6560Var = "thunk from >" -var p6560 = &p6560Var -var p6582Var = "object " -var p6582 = &p6582Var -var p6597Var = "thunk from >" -var p6597 = &p6597Var -var p6606Var = "thunk from >" -var p6606 = &p6606Var -var p6621Var = "thunk from from >>" -var p6621 = &p6621Var -var p6647Var = "thunk from from >>" -var p6647 = &p6647Var -var p6656Var = "thunk from >" -var p6656 = &p6656Var -var p6673Var = "thunk from from >>" -var p6673 = &p6673Var -var p6693Var = "thunk from >" -var p6693 = &p6693Var -var p6709Var = "thunk from from >>" +var p6224Var = "thunk from >" +var p6224 = &p6224Var +var p6237Var = "thunk from from >>" +var p6237 = &p6237Var +var p6248Var = "thunk from >" +var p6248 = &p6248Var +var p6270Var = "thunk from >" +var p6270 = &p6270Var +var p6275Var = "function " +var p6275 = &p6275Var +var p6279Var = "thunk from >" +var p6279 = &p6279Var +var p6289Var = "thunk from >" +var p6289 = &p6289Var +var p6304Var = "thunk from >" +var p6304 = &p6304Var +var p6319Var = "thunk from >" +var p6319 = &p6319Var +var p6359Var = "thunk from >" +var p6359 = &p6359Var +var p6386Var = "thunk from >" +var p6386 = &p6386Var +var p6412Var = "thunk from >" +var p6412 = &p6412Var +var p6422Var = "thunk from >" +var p6422 = &p6422Var +var p6437Var = "thunk from >>" +var p6437 = &p6437Var +var p6446Var = "thunk from >>>" +var p6446 = &p6446Var +var p6489Var = "thunk from >" +var p6489 = &p6489Var +var p6515Var = "thunk from >" +var p6515 = &p6515Var +var p6523Var = "thunk from >" +var p6523 = &p6523Var +var p6539Var = "thunk from >" +var p6539 = &p6539Var +var p6554Var = "thunk from >>" +var p6554 = &p6554Var +var p6563Var = "thunk from >>>" +var p6563 = &p6563Var +var p6607Var = "thunk from >" +var p6607 = &p6607Var +var p6633Var = "thunk from >" +var p6633 = &p6633Var +var p6643Var = "thunk from >" +var p6643 = &p6643Var +var p6652Var = "thunk from >>" +var p6652 = &p6652Var +var p6709Var = "thunk from >" var p6709 = &p6709Var -var p6723Var = "thunk from from >>" -var p6723 = &p6723Var -var p6735Var = "thunk from >" +var p6735Var = "thunk from >" var p6735 = &p6735Var -var p6758Var = "thunk from >" -var p6758 = &p6758Var -var p6779Var = "thunk from >" -var p6779 = &p6779Var -var p6783Var = "function " -var p6783 = &p6783Var -var p6798Var = "thunk from >" +var p6745Var = "thunk from >" +var p6745 = &p6745Var +var p6798Var = "thunk from >" var p6798 = &p6798Var -var p6806Var = "thunk from >" -var p6806 = &p6806Var -var p6825Var = "thunk from >" -var p6825 = &p6825Var -var p6834Var = "thunk from >" +var p6824Var = "thunk from >" +var p6824 = &p6824Var +var p6834Var = "thunk from >" var p6834 = &p6834Var -var p6853Var = "thunk from >" -var p6853 = &p6853Var -var p6874Var = "thunk from >" -var p6874 = &p6874Var -var p6895Var = "thunk from >" -var p6895 = &p6895Var -var p6916Var = "thunk from >" -var p6916 = &p6916Var -var p6927Var = "thunk from from >>" +var p6893Var = "thunk from >" +var p6893 = &p6893Var +var p6919Var = "thunk from >" +var p6919 = &p6919Var +var p6927Var = "thunk from >" var p6927 = &p6927Var -var p6948Var = "thunk from >" -var p6948 = &p6948Var -var p6965Var = "thunk from from >>" -var p6965 = &p6965Var -var p6979Var = "thunk from >" -var p6979 = &p6979Var -var p6995Var = "thunk from from >>" -var p6995 = &p6995Var -var p7006Var = "thunk from from >>" -var p7006 = &p7006Var -var p7017Var = "thunk from >" -var p7017 = &p7017Var -var p7045Var = "thunk from >" -var p7045 = &p7045Var -var p7054Var = "thunk from >" -var p7054 = &p7054Var -var p7074Var = "thunk from >" -var p7074 = &p7074Var -var p7083Var = "thunk from >" -var p7083 = &p7083Var -var p7095Var = "thunk from >" -var p7095 = &p7095Var -var p7101Var = "thunk from >>" -var p7101 = &p7101Var -var p7111Var = "function " -var p7111 = &p7111Var -var p7115Var = "thunk from >" -var p7115 = &p7115Var -var p7119Var = "function " -var p7119 = &p7119Var -var p7134Var = "thunk from >" -var p7134 = &p7134Var -var p7144Var = "thunk from >>" -var p7144 = &p7144Var -var p7163Var = "thunk from >" -var p7163 = &p7163Var -var p7180Var = "thunk from >>" -var p7180 = &p7180Var -var p7188Var = "function " -var p7188 = &p7188Var -var p7192Var = "thunk from >" -var p7192 = &p7192Var -var p7196Var = "function " -var p7196 = &p7196Var -var p7211Var = "thunk from >" -var p7211 = &p7211Var -var p7221Var = "thunk from >" -var p7221 = &p7221Var -var p7231Var = "thunk from >>" -var p7231 = &p7231Var -var p7250Var = "thunk from >" -var p7250 = &p7250Var -var p7262Var = "function " -var p7262 = &p7262Var -var p7275Var = "thunk from >" -var p7275 = &p7275Var -var p7292Var = "thunk from >" -var p7292 = &p7292Var -var p7307Var = "thunk from >" -var p7307 = &p7307Var -var p7324Var = "thunk from >" -var p7324 = &p7324Var -var p7339Var = "thunk from >" -var p7339 = &p7339Var -var p7356Var = "thunk from >" -var p7356 = &p7356Var -var p7367Var = "thunk from >" -var p7367 = &p7367Var -var p7378Var = "thunk from >>" -var p7378 = &p7378Var -var p7386Var = "function " -var p7386 = &p7386Var -var p7414Var = "function " -var p7414 = &p7414Var -var p7427Var = "thunk from >" -var p7427 = &p7427Var -var p7444Var = "thunk from >" -var p7444 = &p7444Var -var p7464Var = "function " -var p7464 = &p7464Var -var p7477Var = "thunk from >" -var p7477 = &p7477Var -var p7494Var = "thunk from >" -var p7494 = &p7494Var -var p7519Var = "function " -var p7519 = &p7519Var -var p7532Var = "thunk from >" -var p7532 = &p7532Var -var p7549Var = "thunk from >" -var p7549 = &p7549Var -var p7564Var = "thunk from >" -var p7564 = &p7564Var -var p7581Var = "thunk from >" -var p7581 = &p7581Var -var p7600Var = "function " -var p7600 = &p7600Var -var p7613Var = "thunk from >" -var p7613 = &p7613Var -var p7630Var = "thunk from >" -var p7630 = &p7630Var -var p7645Var = "thunk from >" -var p7645 = &p7645Var -var p7662Var = "thunk from >" -var p7662 = &p7662Var -var p7681Var = "function " -var p7681 = &p7681Var -var p7690Var = "thunk from >" -var p7690 = &p7690Var -var p7693Var = "function " -var p7693 = &p7693Var -var p7707Var = "function " -var p7707 = &p7707Var -var p7711Var = "thunk from >" -var p7711 = &p7711Var -var p7715Var = "function " -var p7715 = &p7715Var -var p7724Var = "thunk from >" -var p7724 = &p7724Var -var p7740Var = "thunk from >>" -var p7740 = &p7740Var -var p7744Var = "thunk from >>>" -var p7744 = &p7744Var -var p7763Var = "thunk from >>>" -var p7763 = &p7763Var -var p7789Var = "thunk from >>>" -var p7789 = &p7789Var -var p7794Var = "thunk from >>>>" -var p7794 = &p7794Var -var p7812Var = "thunk from >>>" +var p6936Var = "thunk from from >>" +var p6936 = &p6936Var +var p6947Var = "thunk from from >>>" +var p6947 = &p6947Var +var p6956Var = "thunk from from >>>>" +var p6956 = &p6956Var +var p6967Var = "thunk from from >>>" +var p6967 = &p6967Var +var p6992Var = "thunk from >" +var p6992 = &p6992Var +var p7039Var = "thunk from >" +var p7039 = &p7039Var +var p7048Var = "thunk from from >>" +var p7048 = &p7048Var +var p7061Var = "thunk from >" +var p7061 = &p7061Var +var p7122Var = "thunk from >" +var p7122 = &p7122Var +var p7135Var = "thunk from >" +var p7135 = &p7135Var +var p7151Var = "thunk from >" +var p7151 = &p7151Var +var p7168Var = "thunk from >" +var p7168 = &p7168Var +var p7190Var = "thunk from >" +var p7190 = &p7190Var +var p7208Var = "thunk from >" +var p7208 = &p7208Var +var p7228Var = "thunk from >" +var p7228 = &p7228Var +var p7233Var = "function " +var p7233 = &p7233Var +var p7248Var = "thunk from >" +var p7248 = &p7248Var +var p7266Var = "thunk from >" +var p7266 = &p7266Var +var p7287Var = "thunk from >" +var p7287 = &p7287Var +var p7302Var = "thunk from >" +var p7302 = &p7302Var +var p7322Var = "thunk from >" +var p7322 = &p7322Var +var p7332Var = "thunk from >" +var p7332 = &p7332Var +var p7355Var = "thunk from >" +var p7355 = &p7355Var +var p7370Var = "object " +var p7370 = &p7370Var +var p7391Var = "thunk from >" +var p7391 = &p7391Var +var p7412Var = "thunk from >" +var p7412 = &p7412Var +var p7430Var = "object " +var p7430 = &p7430Var +var p7443Var = "thunk from >" +var p7443 = &p7443Var +var p7458Var = "object " +var p7458 = &p7458Var +var p7485Var = "thunk from >" +var p7485 = &p7485Var +var p7506Var = "thunk from >" +var p7506 = &p7506Var +var p7530Var = "object " +var p7530 = &p7530Var +var p7546Var = "thunk from >" +var p7546 = &p7546Var +var p7557Var = "thunk from >" +var p7557 = &p7557Var +var p7572Var = "thunk from from >>" +var p7572 = &p7572Var +var p7601Var = "thunk from from >>" +var p7601 = &p7601Var +var p7612Var = "thunk from >" +var p7612 = &p7612Var +var p7632Var = "thunk from from >>" +var p7632 = &p7632Var +var p7654Var = "thunk from >" +var p7654 = &p7654Var +var p7671Var = "thunk from from >>" +var p7671 = &p7671Var +var p7687Var = "thunk from from >>" +var p7687 = &p7687Var +var p7701Var = "thunk from >" +var p7701 = &p7701Var +var p7728Var = "thunk from >" +var p7728 = &p7728Var +var p7751Var = "thunk from >" +var p7751 = &p7751Var +var p7756Var = "function " +var p7756 = &p7756Var +var p7771Var = "thunk from >" +var p7771 = &p7771Var +var p7782Var = "thunk from >" +var p7782 = &p7782Var +var p7802Var = "thunk from >" +var p7802 = &p7802Var +var p7812Var = "thunk from >" var p7812 = &p7812Var -var p7817Var = "thunk from >>>>" -var p7817 = &p7817Var -var p7830Var = "thunk from >>" -var p7830 = &p7830Var -var p7836Var = "thunk from >" -var p7836 = &p7836Var -var p7840Var = "function " -var p7840 = &p7840Var -var p7854Var = "thunk from >" -var p7854 = &p7854Var -var p7859Var = "thunk from >>" -var p7859 = &p7859Var -var p7867Var = "thunk from >" -var p7867 = &p7867Var -var p7870Var = "thunk from >" -var p7870 = &p7870Var -var p7881Var = "thunk from from >>" -var p7881 = &p7881Var -var p7890Var = "thunk from from >>" -var p7890 = &p7890Var -var p7911Var = "thunk from from >>" -var p7911 = &p7911Var -var p7917Var = "thunk from from >>>" -var p7917 = &p7917Var -var p7929Var = "thunk from >" -var p7929 = &p7929Var -var p7938Var = "thunk from from >>" -var p7938 = &p7938Var -var p7952Var = "thunk from >" -var p7952 = &p7952Var -var p7968Var = "thunk from >>" -var p7968 = &p7968Var -var p7973Var = "thunk from >>" -var p7973 = &p7973Var -var p7979Var = "function " -var p7979 = &p7979Var -var p7983Var = "thunk from >" -var p7983 = &p7983Var -var p7992Var = "thunk from from >>" -var p7992 = &p7992Var -var p7998Var = "thunk from >" -var p7998 = &p7998Var -var p8002Var = "function " +var p7834Var = "thunk from >" +var p7834 = &p7834Var +var p7860Var = "thunk from >" +var p7860 = &p7860Var +var p7886Var = "thunk from >" +var p7886 = &p7886Var +var p7912Var = "thunk from >" +var p7912 = &p7912Var +var p7923Var = "thunk from from >>" +var p7923 = &p7923Var +var p7949Var = "thunk from >" +var p7949 = &p7949Var +var p7969Var = "thunk from from >>" +var p7969 = &p7969Var +var p7985Var = "thunk from >" +var p7985 = &p7985Var +var p8002Var = "thunk from from >>" var p8002 = &p8002Var -var p8062Var = "thunk from >" -var p8062 = &p8062Var -var p8071Var = "thunk from from >>" -var p8071 = &p8071Var -var p8107Var = "thunk from >" -var p8107 = &p8107Var -var p8129Var = "thunk from >" -var p8129 = &p8129Var -var p8145Var = "thunk from >>" -var p8145 = &p8145Var -var p8151Var = "thunk from >>>" -var p8151 = &p8151Var -var p8162Var = "thunk from >>" -var p8162 = &p8162Var -var p8169Var = "function " -var p8169 = &p8169Var -var p8178Var = "thunk from >" -var p8178 = &p8178Var -var p8185Var = "function " -var p8185 = &p8185Var -var p8189Var = "thunk from >" -var p8189 = &p8189Var -var p8198Var = "thunk from from >>" -var p8198 = &p8198Var -var p8204Var = "thunk from >" -var p8204 = &p8204Var -var p8207Var = "function " -var p8207 = &p8207Var -var p8235Var = "thunk from >" -var p8235 = &p8235Var -var p8251Var = "thunk from >>" -var p8251 = &p8251Var -var p8257Var = "thunk from >>>" -var p8257 = &p8257Var -var p8268Var = "thunk from >>" -var p8268 = &p8268Var -var p8275Var = "function " -var p8275 = &p8275Var -var p8279Var = "thunk from >" -var p8279 = &p8279Var -var p8288Var = "thunk from from >>" -var p8288 = &p8288Var -var p8294Var = "thunk from >" -var p8294 = &p8294Var -var p8297Var = "function " -var p8297 = &p8297Var -var p8316Var = "thunk from >" -var p8316 = &p8316Var -var p8320Var = "function " -var p8320 = &p8320Var -var p8330Var = "thunk from >" -var p8330 = &p8330Var -var p8341Var = "thunk from >>" -var p8341 = &p8341Var -var p8349Var = "function " -var p8349 = &p8349Var -var p8358Var = "thunk from >" -var p8358 = &p8358Var -var p8366Var = "function " -var p8366 = &p8366Var -var p8370Var = "thunk from >" -var p8370 = &p8370Var -var p8374Var = "function " -var p8374 = &p8374Var -var p8411Var = "thunk from >" -var p8411 = &p8411Var -var p8432Var = "thunk from >" -var p8432 = &p8432Var -var p8444Var = "thunk from >" -var p8444 = &p8444Var -var p8459Var = "thunk from >" +var p8015Var = "thunk from from >>" +var p8015 = &p8015Var +var p8027Var = "thunk from >" +var p8027 = &p8027Var +var p8054Var = "thunk from >" +var p8054 = &p8054Var +var p8063Var = "thunk from >" +var p8063 = &p8063Var +var p8082Var = "thunk from >" +var p8082 = &p8082Var +var p8091Var = "thunk from >" +var p8091 = &p8091Var +var p8105Var = "thunk from >" +var p8105 = &p8105Var +var p8111Var = "thunk from >>" +var p8111 = &p8111Var +var p8122Var = "function " +var p8122 = &p8122Var +var p8126Var = "thunk from >" +var p8126 = &p8126Var +var p8131Var = "function " +var p8131 = &p8131Var +var p8149Var = "thunk from >" +var p8149 = &p8149Var +var p8159Var = "thunk from >>" +var p8159 = &p8159Var +var p8179Var = "thunk from >" +var p8179 = &p8179Var +var p8196Var = "thunk from >>" +var p8196 = &p8196Var +var p8205Var = "function " +var p8205 = &p8205Var +var p8209Var = "thunk from >" +var p8209 = &p8209Var +var p8214Var = "function " +var p8214 = &p8214Var +var p8229Var = "thunk from >" +var p8229 = &p8229Var +var p8242Var = "thunk from >" +var p8242 = &p8242Var +var p8252Var = "thunk from >>" +var p8252 = &p8252Var +var p8272Var = "thunk from >" +var p8272 = &p8272Var +var p8285Var = "function " +var p8285 = &p8285Var +var p8298Var = "thunk from >" +var p8298 = &p8298Var +var p8315Var = "thunk from >" +var p8315 = &p8315Var +var p8331Var = "thunk from >" +var p8331 = &p8331Var +var p8348Var = "thunk from >" +var p8348 = &p8348Var +var p8364Var = "thunk from >" +var p8364 = &p8364Var +var p8381Var = "thunk from >" +var p8381 = &p8381Var +var p8394Var = "thunk from >" +var p8394 = &p8394Var +var p8405Var = "thunk from >>" +var p8405 = &p8405Var +var p8414Var = "function " +var p8414 = &p8414Var +var p8446Var = "function " +var p8446 = &p8446Var +var p8459Var = "thunk from >" var p8459 = &p8459Var -var p8482Var = "thunk from >" -var p8482 = &p8482Var -var p8489Var = "thunk from >" -var p8489 = &p8489Var -var p8498Var = "thunk from from >>" -var p8498 = &p8498Var -var p8510Var = "thunk from from >>>" -var p8510 = &p8510Var -var p8517Var = "thunk from >" -var p8517 = &p8517Var -var p8527Var = "thunk from >" -var p8527 = &p8527Var -var p8534Var = "thunk from from >>" -var p8534 = &p8534Var -var p8544Var = "thunk from from >>" -var p8544 = &p8544Var -var p8547Var = "thunk from from >>>" -var p8547 = &p8547Var -var p8563Var = "thunk from from >>>" -var p8563 = &p8563Var -var p8567Var = "thunk from from >>>>" -var p8567 = &p8567Var -var p8577Var = "thunk from from >>>>>" -var p8577 = &p8577Var -var p8591Var = "thunk from from >>>>>>" +var p8476Var = "thunk from >" +var p8476 = &p8476Var +var p8499Var = "function " +var p8499 = &p8499Var +var p8512Var = "thunk from >" +var p8512 = &p8512Var +var p8529Var = "thunk from >" +var p8529 = &p8529Var +var p8561Var = "function " +var p8561 = &p8561Var +var p8574Var = "thunk from >" +var p8574 = &p8574Var +var p8591Var = "thunk from >" var p8591 = &p8591Var -var p8601Var = "thunk from from >>" -var p8601 = &p8601Var -var p8618Var = "thunk from >" -var p8618 = &p8618Var -var p8634Var = "thunk from >" -var p8634 = &p8634Var -var p8641Var = "thunk from >" -var p8641 = &p8641Var -var p8648Var = "thunk from from >>" -var p8648 = &p8648Var -var p8658Var = "thunk from from >>" -var p8658 = &p8658Var -var p8661Var = "thunk from from >>>" -var p8661 = &p8661Var -var p8677Var = "thunk from from >>>" -var p8677 = &p8677Var -var p8681Var = "thunk from from >>>>" -var p8681 = &p8681Var -var p8702Var = "thunk from from >>>>>" -var p8702 = &p8702Var -var p8711Var = "thunk from from >>>>>" -var p8711 = &p8711Var -var p8725Var = "thunk from from >>>>>>" -var p8725 = &p8725Var -var p8742Var = "thunk from from >>>" -var p8742 = &p8742Var -var p8748Var = "thunk from from >>" -var p8748 = &p8748Var -var p8765Var = "thunk from >" -var p8765 = &p8765Var -var p8775Var = "thunk from >" -var p8775 = &p8775Var -var p8785Var = "function " -var p8785 = &p8785Var -var p8790Var = "thunk from >" -var p8790 = &p8790Var -var p8794Var = "function " -var p8794 = &p8794Var -var p8831Var = "thunk from >" -var p8831 = &p8831Var -var p8852Var = "thunk from >" -var p8852 = &p8852Var -var p8859Var = "thunk from >" -var p8859 = &p8859Var -var p8868Var = "thunk from from >>" -var p8868 = &p8868Var -var p8896Var = "thunk from >" -var p8896 = &p8896Var -var p8905Var = "thunk from from >>" -var p8905 = &p8905Var -var p8917Var = "thunk from >" -var p8917 = &p8917Var -var p8930Var = "thunk from >>" -var p8930 = &p8930Var -var p8953Var = "thunk from >>" -var p8953 = &p8953Var -var p8966Var = "thunk from >" -var p8966 = &p8966Var -var p8981Var = "thunk from >" -var p8981 = &p8981Var -var p9004Var = "thunk from >" -var p9004 = &p9004Var -var p9020Var = "thunk from >" -var p9020 = &p9020Var -var p9028Var = "thunk from >" -var p9028 = &p9028Var -var p9032Var = "function " -var p9032 = &p9032Var -var p9045Var = "thunk from >" -var p9045 = &p9045Var -var p9058Var = "thunk from >" -var p9058 = &p9058Var -var p9066Var = "object " -var p9066 = &p9066Var -var p9090Var = "thunk from >" -var p9090 = &p9090Var -var p9103Var = "thunk from >" -var p9103 = &p9103Var -var p9111Var = "object " -var p9111 = &p9111Var -var p9123Var = "object " -var p9123 = &p9123Var -var p9131Var = "thunk from >" -var p9131 = &p9131Var -var p9140Var = "thunk from from >>" -var p9140 = &p9140Var -var p9152Var = "thunk from from >>>" -var p9152 = &p9152Var -var p9184Var = "thunk from from >>" -var p9184 = &p9184Var -var p9200Var = "thunk from from >>>" -var p9200 = &p9200Var -var p9214Var = "thunk from from >>>>" +var p8607Var = "thunk from >" +var p8607 = &p8607Var +var p8624Var = "thunk from >" +var p8624 = &p8624Var +var p8646Var = "function " +var p8646 = &p8646Var +var p8659Var = "thunk from >" +var p8659 = &p8659Var +var p8676Var = "thunk from >" +var p8676 = &p8676Var +var p8692Var = "thunk from >" +var p8692 = &p8692Var +var p8709Var = "thunk from >" +var p8709 = &p8709Var +var p8730Var = "function " +var p8730 = &p8730Var +var p8759Var = "function " +var p8759 = &p8759Var +var p8769Var = "thunk from >" +var p8769 = &p8769Var +var p8772Var = "function " +var p8772 = &p8772Var +var p8787Var = "function " +var p8787 = &p8787Var +var p8791Var = "thunk from >" +var p8791 = &p8791Var +var p8795Var = "function " +var p8795 = &p8795Var +var p8805Var = "thunk from >" +var p8805 = &p8805Var +var p8822Var = "thunk from >>" +var p8822 = &p8822Var +var p8826Var = "thunk from >>>" +var p8826 = &p8826Var +var p8844Var = "thunk from >>>" +var p8844 = &p8844Var +var p8869Var = "thunk from >>>" +var p8869 = &p8869Var +var p8874Var = "thunk from >>>>" +var p8874 = &p8874Var +var p8894Var = "thunk from >>>" +var p8894 = &p8894Var +var p8899Var = "thunk from >>>>" +var p8899 = &p8899Var +var p8912Var = "thunk from >>" +var p8912 = &p8912Var +var p8919Var = "thunk from >" +var p8919 = &p8919Var +var p8923Var = "function " +var p8923 = &p8923Var +var p8937Var = "thunk from >" +var p8937 = &p8937Var +var p8942Var = "thunk from >>" +var p8942 = &p8942Var +var p8950Var = "thunk from >" +var p8950 = &p8950Var +var p8954Var = "thunk from >" +var p8954 = &p8954Var +var p8965Var = "thunk from from >>" +var p8965 = &p8965Var +var p8974Var = "thunk from from >>" +var p8974 = &p8974Var +var p8996Var = "thunk from from >>" +var p8996 = &p8996Var +var p9003Var = "thunk from from >>>" +var p9003 = &p9003Var +var p9015Var = "thunk from >" +var p9015 = &p9015Var +var p9024Var = "thunk from from >>" +var p9024 = &p9024Var +var p9039Var = "thunk from >" +var p9039 = &p9039Var +var p9055Var = "thunk from >>" +var p9055 = &p9055Var +var p9060Var = "thunk from >>" +var p9060 = &p9060Var +var p9067Var = "function " +var p9067 = &p9067Var +var p9071Var = "thunk from >" +var p9071 = &p9071Var +var p9080Var = "thunk from from >>" +var p9080 = &p9080Var +var p9087Var = "thunk from >" +var p9087 = &p9087Var +var p9092Var = "function " +var p9092 = &p9092Var +var p9167Var = "thunk from >" +var p9167 = &p9167Var +var p9176Var = "thunk from from >>" +var p9176 = &p9176Var +var p9214Var = "thunk from >" var p9214 = &p9214Var -var p9222Var = "thunk from >" -var p9222 = &p9222Var -var p9226Var = "thunk from from >>" -var p9226 = &p9226Var -var p9232Var = "thunk from from >>>" -var p9232 = &p9232Var -var p9249Var = "thunk from >" -var p9249 = &p9249Var -var p9269Var = "thunk from >" -var p9269 = &p9269Var -var p9285Var = "thunk from >" -var p9285 = &p9285Var -var p9293Var = "thunk from >" -var p9293 = &p9293Var -var p9297Var = "function " +var p9239Var = "thunk from >" +var p9239 = &p9239Var +var p9255Var = "thunk from >>" +var p9255 = &p9255Var +var p9261Var = "thunk from >>>" +var p9261 = &p9261Var +var p9272Var = "thunk from >>" +var p9272 = &p9272Var +var p9279Var = "function " +var p9279 = &p9279Var +var p9289Var = "thunk from >" +var p9289 = &p9289Var +var p9297Var = "function " var p9297 = &p9297Var -var p9310Var = "thunk from >" +var p9301Var = "thunk from >" +var p9301 = &p9301Var +var p9310Var = "thunk from from >>" var p9310 = &p9310Var -var p9323Var = "thunk from >" -var p9323 = &p9323Var -var p9331Var = "object " -var p9331 = &p9331Var -var p9361Var = "thunk from >" -var p9361 = &p9361Var -var p9374Var = "thunk from >" -var p9374 = &p9374Var -var p9382Var = "object " -var p9382 = &p9382Var -var p9398Var = "object " +var p9317Var = "thunk from >" +var p9317 = &p9317Var +var p9321Var = "function " +var p9321 = &p9321Var +var p9353Var = "thunk from >" +var p9353 = &p9353Var +var p9369Var = "thunk from >>" +var p9369 = &p9369Var +var p9375Var = "thunk from >>>" +var p9375 = &p9375Var +var p9386Var = "thunk from >>" +var p9386 = &p9386Var +var p9394Var = "function " +var p9394 = &p9394Var +var p9398Var = "thunk from >" var p9398 = &p9398Var -var p9431Var = "thunk from from >>" -var p9431 = &p9431Var -var p9446Var = "thunk from from >>>" -var p9446 = &p9446Var -var p9460Var = "thunk from from >>>" -var p9460 = &p9460Var -var p9474Var = "thunk from from >>>>" +var p9407Var = "thunk from from >>" +var p9407 = &p9407Var +var p9414Var = "thunk from >" +var p9414 = &p9414Var +var p9418Var = "function " +var p9418 = &p9418Var +var p9441Var = "thunk from >" +var p9441 = &p9441Var +var p9445Var = "function " +var p9445 = &p9445Var +var p9455Var = "thunk from >" +var p9455 = &p9455Var +var p9466Var = "thunk from >>" +var p9466 = &p9466Var +var p9474Var = "function " var p9474 = &p9474Var -var p9482Var = "thunk from >" -var p9482 = &p9482Var -var p9486Var = "thunk from from >>" -var p9486 = &p9486Var -var p9492Var = "thunk from from >>>" +var p9483Var = "thunk from >" +var p9483 = &p9483Var +var p9492Var = "function " var p9492 = &p9492Var -var p9507Var = "thunk from from >>" -var p9507 = &p9507Var -var p9518Var = "thunk from >" -var p9518 = &p9518Var -var p9532Var = "thunk from >" -var p9532 = &p9532Var -var p9542Var = "function " +var p9496Var = "thunk from >" +var p9496 = &p9496Var +var p9501Var = "function " +var p9501 = &p9501Var +var p9542Var = "thunk from >" var p9542 = &p9542Var -var p9557Var = "thunk from >" -var p9557 = &p9557Var -var p9574Var = "thunk from >" +var p9562Var = "thunk from >" +var p9562 = &p9562Var +var p9574Var = "thunk from >" var p9574 = &p9574Var -var p9590Var = "thunk from >" -var p9590 = &p9590Var -var p9606Var = "thunk from >>" -var p9606 = &p9606Var -var p9615Var = "thunk from >>>" -var p9615 = &p9615Var -var p9632Var = "function " -var p9632 = &p9632Var -var p9645Var = "thunk from >" -var p9645 = &p9645Var -var p9674Var = "thunk from from >>" -var p9674 = &p9674Var -var p9679Var = "thunk from from >>>" -var p9679 = &p9679Var -var p9688Var = "thunk from from >>>>" -var p9688 = &p9688Var -var p9699Var = "thunk from from >>>>" +var p9588Var = "thunk from >" +var p9588 = &p9588Var +var p9610Var = "thunk from >" +var p9610 = &p9610Var +var p9617Var = "thunk from >" +var p9617 = &p9617Var +var p9626Var = "thunk from from >>" +var p9626 = &p9626Var +var p9638Var = "thunk from from >>>" +var p9638 = &p9638Var +var p9646Var = "thunk from >" +var p9646 = &p9646Var +var p9657Var = "thunk from >" +var p9657 = &p9657Var +var p9664Var = "thunk from from >>" +var p9664 = &p9664Var +var p9675Var = "thunk from from >>" +var p9675 = &p9675Var +var p9678Var = "thunk from from >>>" +var p9678 = &p9678Var +var p9695Var = "thunk from from >>>" +var p9695 = &p9695Var +var p9699Var = "thunk from from >>>>" var p9699 = &p9699Var -var p9706Var = "thunk from >" -var p9706 = &p9706Var -var p9715Var = "thunk from from >>" -var p9715 = &p9715Var -var p9730Var = "thunk from >" -var p9730 = &p9730Var -var p9739Var = "thunk from >>" -var p9739 = &p9739Var -var p9755Var = "thunk from >" -var p9755 = &p9755Var -var p9771Var = "thunk from >" -var p9771 = &p9771Var -var p9780Var = "thunk from >>" -var p9780 = &p9780Var -var p9796Var = "thunk from >>>" -var p9796 = &p9796Var -var p9805Var = "thunk from >>>>" -var p9805 = &p9805Var -var p9822Var = "thunk from >" -var p9822 = &p9822Var -var p9838Var = "thunk from >" -var p9838 = &p9838Var -var p9847Var = "thunk from >>" +var p9709Var = "thunk from from >>>>>" +var p9709 = &p9709Var +var p9723Var = "thunk from from >>>>>>" +var p9723 = &p9723Var +var p9734Var = "thunk from from >>" +var p9734 = &p9734Var +var p9752Var = "thunk from >" +var p9752 = &p9752Var +var p9767Var = "thunk from >" +var p9767 = &p9767Var +var p9774Var = "thunk from >" +var p9774 = &p9774Var +var p9781Var = "thunk from from >>" +var p9781 = &p9781Var +var p9792Var = "thunk from from >>" +var p9792 = &p9792Var +var p9795Var = "thunk from from >>>" +var p9795 = &p9795Var +var p9812Var = "thunk from from >>>" +var p9812 = &p9812Var +var p9816Var = "thunk from from >>>>" +var p9816 = &p9816Var +var p9837Var = "thunk from from >>>>>" +var p9837 = &p9837Var +var p9847Var = "thunk from from >>>>>" var p9847 = &p9847Var -var p9862Var = "thunk from >" -var p9862 = &p9862Var -var p9880Var = "thunk from >" -var p9880 = &p9880Var -var p9892Var = "thunk from >" -var p9892 = &p9892Var -var p9924Var = "function " -var p9924 = &p9924Var -var p9950Var = "thunk from from >>" -var p9950 = &p9950Var -var p9955Var = "thunk from from >>>" -var p9955 = &p9955Var -var p9966Var = "thunk from from >>>>" -var p9966 = &p9966Var -var p9973Var = "thunk from >" -var p9973 = &p9973Var -var p9982Var = "thunk from from >>" -var p9982 = &p9982Var -var p9993Var = "thunk from >" -var p9993 = &p9993Var -var p10001Var = "thunk from >>" -var p10001 = &p10001Var -var p10007Var = "function " -var p10007 = &p10007Var -var p10020Var = "thunk from >" -var p10020 = &p10020Var -var p10042Var = "thunk from >" -var p10042 = &p10042Var -var p10048Var = "thunk from >" -var p10048 = &p10048Var -var p10052Var = "function " +var p9861Var = "thunk from from >>>>>>" +var p9861 = &p9861Var +var p9878Var = "thunk from from >>>" +var p9878 = &p9878Var +var p9885Var = "thunk from from >>" +var p9885 = &p9885Var +var p9903Var = "thunk from >" +var p9903 = &p9903Var +var p9914Var = "thunk from >" +var p9914 = &p9914Var +var p9923Var = "function " +var p9923 = &p9923Var +var p9929Var = "thunk from >" +var p9929 = &p9929Var +var p9934Var = "function " +var p9934 = &p9934Var +var p9975Var = "thunk from >" +var p9975 = &p9975Var +var p9995Var = "thunk from >" +var p9995 = &p9995Var +var p10002Var = "thunk from >" +var p10002 = &p10002Var +var p10011Var = "thunk from from >>" +var p10011 = &p10011Var +var p10043Var = "thunk from >" +var p10043 = &p10043Var +var p10052Var = "thunk from from >>" var p10052 = &p10052Var -var p10063Var = "thunk from >" -var p10063 = &p10063Var -var p10071Var = "thunk from >" -var p10071 = &p10071Var -var p10080Var = "thunk from >" -var p10080 = &p10080Var -var p10093Var = "thunk from from >>" -var p10093 = &p10093Var -var p10107Var = "thunk from from >>" -var p10107 = &p10107Var -var p10117Var = "thunk from >" -var p10117 = &p10117Var -var p10131Var = "thunk from >" -var p10131 = &p10131Var -var p10165Var = "thunk from >" -var p10165 = &p10165Var -var p10174Var = "thunk from from >>" -var p10174 = &p10174Var -var p10198Var = "thunk from from >>>" -var p10198 = &p10198Var -var p10203Var = "thunk from from >>>>" -var p10203 = &p10203Var -var p10220Var = "thunk from from >>>" -var p10220 = &p10220Var -var p10231Var = "thunk from >" -var p10231 = &p10231Var -var p10235Var = "thunk from >>" -var p10235 = &p10235Var -var p10256Var = "thunk from >>>" -var p10256 = &p10256Var -var p10262Var = "thunk from >>>>" -var p10262 = &p10262Var -var p10276Var = "thunk from >" -var p10276 = &p10276Var -var p10283Var = "function " -var p10283 = &p10283Var -var p10287Var = "thunk from >" -var p10287 = &p10287Var -var p10300Var = "thunk from from >>" -var p10300 = &p10300Var -var p10312Var = "thunk from from >>" -var p10312 = &p10312Var -var p10316Var = "function " -var p10316 = &p10316Var -var p10325Var = "thunk from >" -var p10325 = &p10325Var -var p10335Var = "thunk from >" -var p10335 = &p10335Var -var p10339Var = "function " -var p10339 = &p10339Var -var p10354Var = "thunk from >" -var p10354 = &p10354Var -var p10376Var = "thunk from >" -var p10376 = &p10376Var -var p10382Var = "thunk from >" -var p10382 = &p10382Var -var p10425Var = "thunk from >" -var p10425 = &p10425Var -var p10456Var = "thunk from >" +var p10065Var = "thunk from >" +var p10065 = &p10065Var +var p10078Var = "thunk from >>" +var p10078 = &p10078Var +var p10101Var = "thunk from >>" +var p10101 = &p10101Var +var p10116Var = "thunk from >" +var p10116 = &p10116Var +var p10130Var = "thunk from >" +var p10130 = &p10130Var +var p10152Var = "thunk from >" +var p10152 = &p10152Var +var p10168Var = "thunk from >" +var p10168 = &p10168Var +var p10179Var = "thunk from >" +var p10179 = &p10179Var +var p10184Var = "function " +var p10184 = &p10184Var +var p10197Var = "thunk from >" +var p10197 = &p10197Var +var p10210Var = "thunk from >" +var p10210 = &p10210Var +var p10218Var = "object " +var p10218 = &p10218Var +var p10242Var = "thunk from >" +var p10242 = &p10242Var +var p10255Var = "thunk from >" +var p10255 = &p10255Var +var p10263Var = "object " +var p10263 = &p10263Var +var p10275Var = "object " +var p10275 = &p10275Var +var p10284Var = "thunk from >" +var p10284 = &p10284Var +var p10293Var = "thunk from from >>" +var p10293 = &p10293Var +var p10305Var = "thunk from from >>>" +var p10305 = &p10305Var +var p10338Var = "thunk from from >>" +var p10338 = &p10338Var +var p10355Var = "thunk from from >>>" +var p10355 = &p10355Var +var p10369Var = "thunk from from >>>>" +var p10369 = &p10369Var +var p10377Var = "thunk from >" +var p10377 = &p10377Var +var p10381Var = "thunk from from >>" +var p10381 = &p10381Var +var p10387Var = "thunk from from >>>" +var p10387 = &p10387Var +var p10405Var = "thunk from >" +var p10405 = &p10405Var +var p10424Var = "thunk from >" +var p10424 = &p10424Var +var p10440Var = "thunk from >" +var p10440 = &p10440Var +var p10451Var = "thunk from >" +var p10451 = &p10451Var +var p10456Var = "function " var p10456 = &p10456Var -var p10462Var = "thunk from >" -var p10462 = &p10462Var -var p10543Var = "thunk from >" -var p10543 = &p10543Var -var p10560Var = "thunk from >" -var p10560 = &p10560Var -var p10673Var = "thunk from >" -var p10673 = &p10673Var -var p10690Var = "thunk from >" -var p10690 = &p10690Var -var p10699Var = "thunk from from >>" -var p10699 = &p10699Var -var p10702Var = "function " -var p10702 = &p10702Var -var p10728Var = "thunk from >" -var p10728 = &p10728Var -var p10737Var = "function " +var p10469Var = "thunk from >" +var p10469 = &p10469Var +var p10482Var = "thunk from >" +var p10482 = &p10482Var +var p10490Var = "object " +var p10490 = &p10490Var +var p10520Var = "thunk from >" +var p10520 = &p10520Var +var p10533Var = "thunk from >" +var p10533 = &p10533Var +var p10541Var = "object " +var p10541 = &p10541Var +var p10557Var = "object " +var p10557 = &p10557Var +var p10591Var = "thunk from from >>" +var p10591 = &p10591Var +var p10607Var = "thunk from from >>>" +var p10607 = &p10607Var +var p10621Var = "thunk from from >>>" +var p10621 = &p10621Var +var p10635Var = "thunk from from >>>>" +var p10635 = &p10635Var +var p10643Var = "thunk from >" +var p10643 = &p10643Var +var p10647Var = "thunk from from >>" +var p10647 = &p10647Var +var p10653Var = "thunk from from >>>" +var p10653 = &p10653Var +var p10668Var = "thunk from from >>" +var p10668 = &p10668Var +var p10680Var = "thunk from >" +var p10680 = &p10680Var +var p10695Var = "thunk from >" +var p10695 = &p10695Var +var p10704Var = "function " +var p10704 = &p10704Var +var p10720Var = "thunk from >" +var p10720 = &p10720Var +var p10737Var = "thunk from >" var p10737 = &p10737Var -var p10758Var = "thunk from >" -var p10758 = &p10758Var -var p10779Var = "thunk from >" -var p10779 = &p10779Var -var p10783Var = "function " -var p10783 = &p10783Var -var p10798Var = "thunk from >" -var p10798 = &p10798Var -var p10806Var = "thunk from >" -var p10806 = &p10806Var -var p10810Var = "thunk from from >>" -var p10810 = &p10810Var -var p10845Var = "thunk from >" -var p10845 = &p10845Var -var p10864Var = "thunk from from >>" -var p10864 = &p10864Var -var p10905Var = "thunk from >" -var p10905 = &p10905Var -var p10924Var = "thunk from from >>" -var p10924 = &p10924Var -var p10964Var = "thunk from >" -var p10964 = &p10964Var -var p10991Var = "thunk from >" -var p10991 = &p10991Var -var p11000Var = "function " -var p11000 = &p11000Var -var p11004Var = "thunk from >" +var p10756Var = "thunk from >" +var p10756 = &p10756Var +var p10772Var = "thunk from >>" +var p10772 = &p10772Var +var p10781Var = "thunk from >>>" +var p10781 = &p10781Var +var p10800Var = "function " +var p10800 = &p10800Var +var p10811Var = "thunk from >" +var p10811 = &p10811Var +var p10841Var = "thunk from from >>" +var p10841 = &p10841Var +var p10846Var = "thunk from from >>>" +var p10846 = &p10846Var +var p10855Var = "thunk from from >>>>" +var p10855 = &p10855Var +var p10866Var = "thunk from from >>>>" +var p10866 = &p10866Var +var p10873Var = "thunk from >" +var p10873 = &p10873Var +var p10882Var = "thunk from from >>" +var p10882 = &p10882Var +var p10898Var = "thunk from >" +var p10898 = &p10898Var +var p10907Var = "thunk from >>" +var p10907 = &p10907Var +var p10922Var = "thunk from >" +var p10922 = &p10922Var +var p10938Var = "thunk from >" +var p10938 = &p10938Var +var p10947Var = "thunk from >>" +var p10947 = &p10947Var +var p10963Var = "thunk from >>>" +var p10963 = &p10963Var +var p10972Var = "thunk from >>>>" +var p10972 = &p10972Var +var p10988Var = "thunk from >" +var p10988 = &p10988Var +var p11004Var = "thunk from >" var p11004 = &p11004Var -var p11013Var = "thunk from from >>" +var p11013Var = "thunk from >>" var p11013 = &p11013Var -var p11024Var = "thunk from >" -var p11024 = &p11024Var -var p11034Var = "thunk from >>" -var p11034 = &p11034Var -var p11038Var = "function " -var p11038 = &p11038Var -var p11047Var = "thunk from >" -var p11047 = &p11047Var -var p11056Var = "function " +var p11027Var = "thunk from >" +var p11027 = &p11027Var +var p11044Var = "thunk from >" +var p11044 = &p11044Var +var p11056Var = "thunk from >" var p11056 = &p11056Var -var p11060Var = "thunk from >" -var p11060 = &p11060Var -var p11069Var = "thunk from from >>" -var p11069 = &p11069Var -var p11080Var = "thunk from >" -var p11080 = &p11080Var -var p11086Var = "function " -var p11086 = &p11086Var -var p11105Var = "function " -var p11105 = &p11105Var -var p11111Var = "thunk from >" -var p11111 = &p11111Var -var p11116Var = "function " -var p11116 = &p11116Var -var p11122Var = "thunk from >" -var p11122 = &p11122Var -var p11131Var = "thunk from from >>" -var p11131 = &p11131Var -var p11146Var = "thunk from >" -var p11146 = &p11146Var -var p11155Var = "thunk from >" -var p11155 = &p11155Var -var p11160Var = "thunk from >" -var p11160 = &p11160Var -var p11166Var = "thunk from from >>" -var p11166 = &p11166Var -var p11176Var = "thunk from >" -var p11176 = &p11176Var -var p11185Var = "thunk from from >>" -var p11185 = &p11185Var -var p11194Var = "function " -var p11194 = &p11194Var -var p11221Var = "thunk from >" -var p11221 = &p11221Var -var p11230Var = "thunk from from >>" -var p11230 = &p11230Var -var p11234Var = "function " -var p11234 = &p11234Var -var p11242Var = "thunk from >" -var p11242 = &p11242Var -var p11252Var = "thunk from >" -var p11252 = &p11252Var -var p11261Var = "thunk from from >>" +var p11095Var = "function " +var p11095 = &p11095Var +var p11121Var = "thunk from from >>" +var p11121 = &p11121Var +var p11126Var = "thunk from from >>>" +var p11126 = &p11126Var +var p11137Var = "thunk from from >>>>" +var p11137 = &p11137Var +var p11144Var = "thunk from >" +var p11144 = &p11144Var +var p11153Var = "thunk from from >>" +var p11153 = &p11153Var +var p11165Var = "thunk from >" +var p11165 = &p11165Var +var p11173Var = "thunk from >>" +var p11173 = &p11173Var +var p11180Var = "function " +var p11180 = &p11180Var +var p11193Var = "thunk from >" +var p11193 = &p11193Var +var p11216Var = "thunk from >" +var p11216 = &p11216Var +var p11224Var = "thunk from >" +var p11224 = &p11224Var +var p11229Var = "function " +var p11229 = &p11229Var +var p11240Var = "thunk from >" +var p11240 = &p11240Var +var p11251Var = "thunk from >" +var p11251 = &p11251Var +var p11261Var = "thunk from >" var p11261 = &p11261Var -var p11265Var = "function " -var p11265 = &p11265Var -var p11273Var = "thunk from >" -var p11273 = &p11273Var -var p11289Var = "thunk from >" -var p11289 = &p11289Var -var p11297Var = "thunk from >" -var p11297 = &p11297Var -var p11309Var = "thunk from >" -var p11309 = &p11309Var -var p11317Var = "thunk from >" -var p11317 = &p11317Var -var p11321Var = "function " -var p11321 = &p11321Var -var p11325Var = "thunk from >" -var p11325 = &p11325Var -var p11334Var = "thunk from from >>" -var p11334 = &p11334Var -var p11337Var = "thunk from >" -var p11337 = &p11337Var -var p11346Var = "thunk from from >>" +var p11274Var = "thunk from from >>" +var p11274 = &p11274Var +var p11286Var = "thunk from from >>" +var p11286 = &p11286Var +var p11296Var = "thunk from >" +var p11296 = &p11296Var +var p11311Var = "thunk from >" +var p11311 = &p11311Var +var p11346Var = "thunk from >" var p11346 = &p11346Var -var p11352Var = "thunk from >" -var p11352 = &p11352Var -var p11356Var = "function " +var p11356Var = "thunk from from >>" var p11356 = &p11356Var -var p11418Var = "thunk from >" +var p11380Var = "thunk from from >>>" +var p11380 = &p11380Var +var p11385Var = "thunk from from >>>>" +var p11385 = &p11385Var +var p11402Var = "thunk from from >>>" +var p11402 = &p11402Var +var p11414Var = "thunk from >" +var p11414 = &p11414Var +var p11418Var = "thunk from >>" var p11418 = &p11418Var -var p11430Var = "thunk from >" -var p11430 = &p11430Var -var p11442Var = "thunk from >" -var p11442 = &p11442Var -var p11457Var = "thunk from >>" -var p11457 = &p11457Var -var p11469Var = "thunk from >" -var p11469 = &p11469Var -var p11484Var = "thunk from >>" +var p11439Var = "thunk from >>>" +var p11439 = &p11439Var +var p11445Var = "thunk from >>>>" +var p11445 = &p11445Var +var p11460Var = "thunk from >" +var p11460 = &p11460Var +var p11468Var = "function " +var p11468 = &p11468Var +var p11473Var = "thunk from >" +var p11473 = &p11473Var +var p11484Var = "thunk from from >>" var p11484 = &p11484Var -var p11496Var = "thunk from >" +var p11496Var = "thunk from from >>" var p11496 = &p11496Var -var p11503Var = "thunk from >" -var p11503 = &p11503Var -var p11512Var = "thunk from from >>" -var p11512 = &p11512Var -var p11527Var = "thunk from >" +var p11500Var = "function " +var p11500 = &p11500Var +var p11509Var = "thunk from >" +var p11509 = &p11509Var +var p11522Var = "thunk from >" +var p11522 = &p11522Var +var p11527Var = "function " var p11527 = &p11527Var -var p11536Var = "thunk from >" -var p11536 = &p11536Var -var p11545Var = "thunk from >" -var p11545 = &p11545Var -var p11554Var = "thunk from from >>" -var p11554 = &p11554Var -var p11571Var = "thunk from >" -var p11571 = &p11571Var -var p11586Var = "thunk from >" -var p11586 = &p11586Var -var p11598Var = "thunk from >" -var p11598 = &p11598Var -var p11607Var = "thunk from >>" -var p11607 = &p11607Var -var p11621Var = "thunk from >>" -var p11621 = &p11621Var -var p11632Var = "function " -var p11632 = &p11632Var -var p11638Var = "thunk from >" -var p11638 = &p11638Var -var p11642Var = "function " -var p11642 = &p11642Var -var p11655Var = "thunk from >" -var p11655 = &p11655Var -var p11662Var = "thunk from >" -var p11662 = &p11662Var -var p11674Var = "thunk from >" -var p11674 = &p11674Var -var p11689Var = "thunk from >>" -var p11689 = &p11689Var -var p11698Var = "thunk from >" -var p11698 = &p11698Var -var p11710Var = "thunk from >" -var p11710 = &p11710Var -var p11721Var = "thunk from >" -var p11721 = &p11721Var -var p11732Var = "function " -var p11732 = &p11732Var -var p11743Var = "thunk from >" -var p11743 = &p11743Var -var p11752Var = "thunk from >>" -var p11752 = &p11752Var -var p11764Var = "function " -var p11764 = &p11764Var -var p11777Var = "thunk from >" -var p11777 = &p11777Var -var p11786Var = "thunk from >>" -var p11786 = &p11786Var -var p11790Var = "thunk from >>>" -var p11790 = &p11790Var -var p11803Var = "function " -var p11803 = &p11803Var -var p11809Var = "thunk from >" -var p11809 = &p11809Var -var p11813Var = "function " -var p11813 = &p11813Var -var p11828Var = "thunk from >" -var p11828 = &p11828Var -var p11863Var = "thunk from >" -var p11863 = &p11863Var -var p11887Var = "thunk from >" -var p11887 = &p11887Var -var p11893Var = "thunk from from >>" -var p11893 = &p11893Var -var p11903Var = "thunk from >" -var p11903 = &p11903Var -var p11909Var = "thunk from from >>" +var p11542Var = "thunk from >" +var p11542 = &p11542Var +var p11566Var = "thunk from >" +var p11566 = &p11566Var +var p11573Var = "thunk from >" +var p11573 = &p11573Var +var p11622Var = "thunk from >" +var p11622 = &p11622Var +var p11654Var = "thunk from >" +var p11654 = &p11654Var +var p11661Var = "thunk from >" +var p11661 = &p11661Var +var p11750Var = "thunk from >" +var p11750 = &p11750Var +var p11769Var = "thunk from >" +var p11769 = &p11769Var +var p11891Var = "thunk from >" +var p11891 = &p11891Var +var p11909Var = "thunk from >" var p11909 = &p11909Var -var p11929Var = "thunk from >" -var p11929 = &p11929Var -var p11951Var = "thunk from >>" +var p11918Var = "thunk from from >>" +var p11918 = &p11918Var +var p11921Var = "function " +var p11921 = &p11921Var +var p11951Var = "thunk from >" var p11951 = &p11951Var -var p11971Var = "thunk from >" -var p11971 = &p11971Var -var p11990Var = "thunk from >>" -var p11990 = &p11990Var -var p12002Var = "thunk from >" -var p12002 = &p12002Var -var p12021Var = "thunk from >>" -var p12021 = &p12021Var -var p12033Var = "thunk from >" -var p12033 = &p12033Var -var p12046Var = "function " -var p12046 = &p12046Var -var p12052Var = "thunk from >" -var p12052 = &p12052Var -var p12056Var = "function " -var p12056 = &p12056Var -var p12073Var = "thunk from >" -var p12073 = &p12073Var -var p12088Var = "thunk from >" -var p12088 = &p12088Var -var p12102Var = "thunk from >" -var p12102 = &p12102Var -var p12114Var = "thunk from >" -var p12114 = &p12114Var -var p12126Var = "thunk from >" -var p12126 = &p12126Var -var p12148Var = "thunk from >>" -var p12148 = &p12148Var -var p12164Var = "thunk from >" +var p11961Var = "function " +var p11961 = &p11961Var +var p11982Var = "thunk from >" +var p11982 = &p11982Var +var p12006Var = "thunk from >" +var p12006 = &p12006Var +var p12011Var = "function " +var p12011 = &p12011Var +var p12026Var = "thunk from >" +var p12026 = &p12026Var +var p12038Var = "thunk from >" +var p12038 = &p12038Var +var p12042Var = "thunk from from >>" +var p12042 = &p12042Var +var p12080Var = "thunk from >" +var p12080 = &p12080Var +var p12100Var = "thunk from from >>" +var p12100 = &p12100Var +var p12144Var = "thunk from >" +var p12144 = &p12144Var +var p12164Var = "thunk from from >>" var p12164 = &p12164Var -var p12176Var = "thunk from >" -var p12176 = &p12176Var -var p12188Var = "thunk from >" -var p12188 = &p12188Var -var p12207Var = "thunk from >" -var p12207 = &p12207Var -var p12226Var = "thunk from >" -var p12226 = &p12226Var -var p12239Var = "function " -var p12239 = &p12239Var -var p12245Var = "thunk from >" -var p12245 = &p12245Var -var p12249Var = "function " -var p12249 = &p12249Var -var p12264Var = "thunk from >" -var p12264 = &p12264Var -var p12283Var = "thunk from >" -var p12283 = &p12283Var -var p12313Var = "thunk from >" -var p12313 = &p12313Var -var p12325Var = "thunk from >" -var p12325 = &p12325Var -var p12337Var = "thunk from >" -var p12337 = &p12337Var -var p12363Var = "thunk from >" -var p12363 = &p12363Var -var p12375Var = "thunk from >" -var p12375 = &p12375Var -var p12387Var = "thunk from >" -var p12387 = &p12387Var -var p12406Var = "thunk from >>" -var p12406 = &p12406Var -var p12418Var = "thunk from >" -var p12418 = &p12418Var -var p12437Var = "thunk from >" +var p12205Var = "thunk from >" +var p12205 = &p12205Var +var p12233Var = "thunk from >" +var p12233 = &p12233Var +var p12243Var = "function " +var p12243 = &p12243Var +var p12247Var = "thunk from >" +var p12247 = &p12247Var +var p12256Var = "thunk from from >>" +var p12256 = &p12256Var +var p12268Var = "thunk from >" +var p12268 = &p12268Var +var p12278Var = "thunk from >>" +var p12278 = &p12278Var +var p12282Var = "function " +var p12282 = &p12282Var +var p12291Var = "thunk from >" +var p12291 = &p12291Var +var p12301Var = "function " +var p12301 = &p12301Var +var p12305Var = "thunk from >" +var p12305 = &p12305Var +var p12314Var = "thunk from from >>" +var p12314 = &p12314Var +var p12326Var = "thunk from >" +var p12326 = &p12326Var +var p12332Var = "function " +var p12332 = &p12332Var +var p12350Var = "function " +var p12350 = &p12350Var +var p12357Var = "thunk from >" +var p12357 = &p12357Var +var p12361Var = "function " +var p12361 = &p12361Var +var p12368Var = "thunk from >" +var p12368 = &p12368Var +var p12377Var = "thunk from from >>" +var p12377 = &p12377Var +var p12393Var = "thunk from >" +var p12393 = &p12393Var +var p12405Var = "thunk from >" +var p12405 = &p12405Var +var p12411Var = "thunk from >" +var p12411 = &p12411Var +var p12417Var = "thunk from from >>" +var p12417 = &p12417Var +var p12428Var = "thunk from >" +var p12428 = &p12428Var +var p12437Var = "thunk from from >>" var p12437 = &p12437Var -var p12449Var = "function " -var p12449 = &p12449Var -var p12462Var = "thunk from >" -var p12462 = &p12462Var -var p12469Var = "thunk from >" -var p12469 = &p12469Var -var p12482Var = "thunk from from >>" -var p12482 = &p12482Var -var p12492Var = "thunk from >" -var p12492 = &p12492Var -var p12505Var = "thunk from from >>" -var p12505 = &p12505Var -var p12517Var = "thunk from from >>" -var p12517 = &p12517Var -var p12537Var = "thunk from >" -var p12537 = &p12537Var -var p12550Var = "thunk from from >>" -var p12550 = &p12550Var -var p12562Var = "thunk from from >>" -var p12562 = &p12562Var -var p12568Var = "thunk from >" -var p12568 = &p12568Var -var p12577Var = "thunk from from >>" -var p12577 = &p12577Var -var p12588Var = "thunk from from >>>" -var p12588 = &p12588Var -var p12618Var = "object " -var p12618 = &p12618Var -var p12631Var = "thunk from >" -var p12631 = &p12631Var -var p12654Var = "thunk from >" -var p12654 = &p12654Var -var p12667Var = "thunk from >" -var p12667 = &p12667Var -var p12683Var = "thunk from >" -var p12683 = &p12683Var -var p12704Var = "thunk from >" -var p12704 = &p12704Var -var p12715Var = "function " -var p12715 = &p12715Var -var p12724Var = "thunk from >" -var p12724 = &p12724Var -var p12732Var = "function " -var p12732 = &p12732Var -var p12741Var = "thunk from >" -var p12741 = &p12741Var -var p12749Var = "function " -var p12749 = &p12749Var -var p12758Var = "thunk from >" -var p12758 = &p12758Var -var p12768Var = "function " -var p12768 = &p12768Var -var p12777Var = "thunk from >" -var p12777 = &p12777Var -var p12787Var = "function " -var p12787 = &p12787Var -var p12791Var = "thunk from >" -var p12791 = &p12791Var -var p12800Var = "thunk from from >>" -var p12800 = &p12800Var -var p12806Var = "thunk from >" -var p12806 = &p12806Var -var p12815Var = "thunk from from >>" -var p12815 = &p12815Var -var p12830Var = "thunk from >" -var p12830 = &p12830Var -var p12846Var = "thunk from >" -var p12846 = &p12846Var -var p12853Var = "thunk from >" -var p12853 = &p12853Var -var p12862Var = "thunk from from >>" -var p12862 = &p12862Var -var p12877Var = "thunk from >" -var p12877 = &p12877Var -var p12888Var = "thunk from >>" -var p12888 = &p12888Var -var p12895Var = "thunk from >" -var p12895 = &p12895Var -var p12899Var = "function " -var p12899 = &p12899Var -var p12931Var = "thunk from >" +var p12446Var = "function " +var p12446 = &p12446Var +var p12474Var = "thunk from >" +var p12474 = &p12474Var +var p12483Var = "thunk from from >>" +var p12483 = &p12483Var +var p12487Var = "function " +var p12487 = &p12487Var +var p12495Var = "thunk from >" +var p12495 = &p12495Var +var p12506Var = "thunk from >" +var p12506 = &p12506Var +var p12515Var = "thunk from from >>" +var p12515 = &p12515Var +var p12519Var = "function " +var p12519 = &p12519Var +var p12527Var = "thunk from >" +var p12527 = &p12527Var +var p12544Var = "thunk from >" +var p12544 = &p12544Var +var p12552Var = "thunk from >" +var p12552 = &p12552Var +var p12564Var = "thunk from >" +var p12564 = &p12564Var +var p12573Var = "thunk from >" +var p12573 = &p12573Var +var p12578Var = "function " +var p12578 = &p12578Var +var p12582Var = "thunk from >" +var p12582 = &p12582Var +var p12591Var = "thunk from from >>" +var p12591 = &p12591Var +var p12594Var = "thunk from >" +var p12594 = &p12594Var +var p12603Var = "thunk from from >>" +var p12603 = &p12603Var +var p12610Var = "thunk from >" +var p12610 = &p12610Var +var p12615Var = "function " +var p12615 = &p12615Var +var p12682Var = "thunk from >" +var p12682 = &p12682Var +var p12694Var = "thunk from >" +var p12694 = &p12694Var +var p12707Var = "thunk from >" +var p12707 = &p12707Var +var p12722Var = "thunk from >>" +var p12722 = &p12722Var +var p12736Var = "thunk from >" +var p12736 = &p12736Var +var p12751Var = "thunk from >>" +var p12751 = &p12751Var +var p12764Var = "thunk from >" +var p12764 = &p12764Var +var p12772Var = "thunk from >" +var p12772 = &p12772Var +var p12781Var = "thunk from from >>" +var p12781 = &p12781Var +var p12797Var = "thunk from >" +var p12797 = &p12797Var +var p12807Var = "thunk from >" +var p12807 = &p12807Var +var p12818Var = "thunk from >" +var p12818 = &p12818Var +var p12827Var = "thunk from from >>" +var p12827 = &p12827Var +var p12845Var = "thunk from >" +var p12845 = &p12845Var +var p12860Var = "thunk from >" +var p12860 = &p12860Var +var p12873Var = "thunk from >" +var p12873 = &p12873Var +var p12882Var = "thunk from >>" +var p12882 = &p12882Var +var p12896Var = "thunk from >>" +var p12896 = &p12896Var +var p12906Var = "function " +var p12906 = &p12906Var +var p12913Var = "thunk from >" +var p12913 = &p12913Var +var p12918Var = "function " +var p12918 = &p12918Var +var p12931Var = "thunk from >" var p12931 = &p12931Var -var p12946Var = "thunk from >" -var p12946 = &p12946Var -var p12962Var = "thunk from >" -var p12962 = &p12962Var -var p12969Var = "thunk from >" -var p12969 = &p12969Var -var p12978Var = "thunk from from >>" -var p12978 = &p12978Var -var p12984Var = "thunk from >" -var p12984 = &p12984Var -var p12993Var = "thunk from from >>" -var p12993 = &p12993Var -var p13010Var = "thunk from >" -var p13010 = &p13010Var -var p13017Var = "thunk from >" -var p13017 = &p13017Var -var p13021Var = "function " -var p13021 = &p13021Var -var p13036Var = "thunk from >" -var p13036 = &p13036Var -var p13063Var = "thunk from >" -var p13063 = &p13063Var -var p13078Var = "thunk from >" -var p13078 = &p13078Var -var p13092Var = "thunk from >" -var p13092 = &p13092Var -var p13101Var = "function " -var p13101 = &p13101Var -var p13105Var = "thunk from >" -var p13105 = &p13105Var -var p13114Var = "thunk from from >>" -var p13114 = &p13114Var -var p13126Var = "thunk from >" -var p13126 = &p13126Var -var p13138Var = "thunk from >>" -var p13138 = &p13138Var -var p13149Var = "thunk from >>>" -var p13149 = &p13149Var -var p13156Var = "function " -var p13156 = &p13156Var -var p13166Var = "thunk from >>" -var p13166 = &p13166Var -var p13173Var = "function " -var p13173 = &p13173Var -var p13177Var = "thunk from >" +var p12939Var = "thunk from >" +var p12939 = &p12939Var +var p12952Var = "thunk from >" +var p12952 = &p12952Var +var p12967Var = "thunk from >>" +var p12967 = &p12967Var +var p12976Var = "thunk from >" +var p12976 = &p12976Var +var p12991Var = "thunk from >" +var p12991 = &p12991Var +var p13003Var = "thunk from >" +var p13003 = &p13003Var +var p13013Var = "function " +var p13013 = &p13013Var +var p13025Var = "thunk from >" +var p13025 = &p13025Var +var p13034Var = "thunk from >>" +var p13034 = &p13034Var +var p13045Var = "function " +var p13045 = &p13045Var +var p13060Var = "thunk from >" +var p13060 = &p13060Var +var p13069Var = "thunk from >>" +var p13069 = &p13069Var +var p13073Var = "thunk from >>>" +var p13073 = &p13073Var +var p13085Var = "function " +var p13085 = &p13085Var +var p13093Var = "thunk from >" +var p13093 = &p13093Var +var p13098Var = "function " +var p13098 = &p13098Var +var p13113Var = "thunk from >" +var p13113 = &p13113Var +var p13150Var = "thunk from >" +var p13150 = &p13150Var +var p13177Var = "thunk from >" var p13177 = &p13177Var -var p13181Var = "function " -var p13181 = &p13181Var -var p13185Var = "thunk from >" -var p13185 = &p13185Var -var p13194Var = "thunk from from >>" +var p13183Var = "thunk from from >>" +var p13183 = &p13183Var +var p13194Var = "thunk from >" var p13194 = &p13194Var -var p13222Var = "thunk from >" +var p13200Var = "thunk from from >>" +var p13200 = &p13200Var +var p13222Var = "thunk from >" var p13222 = &p13222Var -var p13243Var = "thunk from >" -var p13243 = &p13243Var -var p13251Var = "thunk from >" -var p13251 = &p13251Var -var p13260Var = "thunk from from >>" -var p13260 = &p13260Var -var p13288Var = "thunk from >" -var p13288 = &p13288Var -var p13297Var = "thunk from >>" -var p13297 = &p13297Var -var p13303Var = "thunk from >" -var p13303 = &p13303Var -var p13312Var = "thunk from >>" -var p13312 = &p13312Var -var p13351Var = "thunk from >" -var p13351 = &p13351Var -var p13360Var = "thunk from >>" -var p13360 = &p13360Var -var p13375Var = "object " -var p13375 = &p13375Var -var p13384Var = "thunk from >" -var p13384 = &p13384Var -var p13400Var = "thunk from >" -var p13400 = &p13400Var -var p13409Var = "function " -var p13409 = &p13409Var -var p13422Var = "thunk from >" -var p13422 = &p13422Var -var p13439Var = "thunk from >" -var p13439 = &p13439Var -var p13454Var = "thunk from >" -var p13454 = &p13454Var -var p13471Var = "thunk from >" -var p13471 = &p13471Var -var p13477Var = "thunk from >" -var p13477 = &p13477Var -var p13486Var = "thunk from from >>" -var p13486 = &p13486Var -var p13492Var = "thunk from >" -var p13492 = &p13492Var -var p13501Var = "thunk from from >>" -var p13501 = &p13501Var -var p13535Var = "thunk from >" -var p13535 = &p13535Var -var p13539Var = "function " -var p13539 = &p13539Var -var p13571Var = "thunk from >>" -var p13571 = &p13571Var -var p13583Var = "function " -var p13583 = &p13583Var -var p13596Var = "thunk from >" -var p13596 = &p13596Var -var p13613Var = "thunk from >" -var p13613 = &p13613Var -var p13624Var = "thunk from >" -var p13624 = &p13624Var -var p13628Var = "function " -var p13628 = &p13628Var -var p13647Var = "thunk from >>" -var p13647 = &p13647Var -var p13659Var = "thunk from >>>" -var p13659 = &p13659Var -var p13664Var = "object " -var p13664 = &p13664Var -var p13666Var = "object " -var p13666 = &p13666Var -var p13669Var = "function " -var p13669 = &p13669Var -var p13672Var = "object " -var p13672 = &p13672Var -var p13678Var = "function " -var p13678 = &p13678Var -var p13681Var = "function " -var p13681 = &p13681Var -var p13684Var = "function " -var p13684 = &p13684Var -var p13687Var = "function " -var p13687 = &p13687Var -var p13689Var = "function " -var p13689 = &p13689Var -var p13692Var = "function " -var p13692 = &p13692Var -var p13695Var = "function " -var p13695 = &p13695Var -var p13697Var = "function " -var p13697 = &p13697Var -var p13701Var = "thunk from >" -var p13701 = &p13701Var -var p13704Var = "thunk from >" +var p13244Var = "thunk from >>" +var p13244 = &p13244Var +var p13266Var = "thunk from >" +var p13266 = &p13266Var +var p13285Var = "thunk from >>" +var p13285 = &p13285Var +var p13299Var = "thunk from >" +var p13299 = &p13299Var +var p13318Var = "thunk from >>" +var p13318 = &p13318Var +var p13331Var = "thunk from >" +var p13331 = &p13331Var +var p13343Var = "function " +var p13343 = &p13343Var +var p13350Var = "thunk from >" +var p13350 = &p13350Var +var p13355Var = "function " +var p13355 = &p13355Var +var p13372Var = "thunk from >" +var p13372 = &p13372Var +var p13387Var = "thunk from >" +var p13387 = &p13387Var +var p13404Var = "thunk from >" +var p13404 = &p13404Var +var p13416Var = "thunk from >" +var p13416 = &p13416Var +var p13429Var = "thunk from >" +var p13429 = &p13429Var +var p13451Var = "thunk from >>" +var p13451 = &p13451Var +var p13468Var = "thunk from >" +var p13468 = &p13468Var +var p13480Var = "thunk from >" +var p13480 = &p13480Var +var p13493Var = "thunk from >" +var p13493 = &p13493Var +var p13514Var = "thunk from >" +var p13514 = &p13514Var +var p13534Var = "thunk from >" +var p13534 = &p13534Var +var p13546Var = "function " +var p13546 = &p13546Var +var p13553Var = "thunk from >" +var p13553 = &p13553Var +var p13558Var = "function " +var p13558 = &p13558Var +var p13573Var = "thunk from >" +var p13573 = &p13573Var +var p13594Var = "thunk from >" +var p13594 = &p13594Var +var p13627Var = "thunk from >" +var p13627 = &p13627Var +var p13639Var = "thunk from >" +var p13639 = &p13639Var +var p13652Var = "thunk from >" +var p13652 = &p13652Var +var p13679Var = "thunk from >" +var p13679 = &p13679Var +var p13691Var = "thunk from >" +var p13691 = &p13691Var +var p13704Var = "thunk from >" var p13704 = &p13704Var -var p13711Var = "thunk from from >>" -var p13711 = &p13711Var -var p13713Var = "function " -var p13713 = &p13713Var -var p13717Var = "thunk from >" -var p13717 = &p13717Var -var p13720Var = "thunk from >" -var p13720 = &p13720Var -var p13727Var = "thunk from from >>" -var p13727 = &p13727Var -var p13729Var = "function " -var p13729 = &p13729Var -var p13733Var = "thunk from >" -var p13733 = &p13733Var -var p13736Var = "thunk from >" -var p13736 = &p13736Var -var p13743Var = "thunk from from >>" -var p13743 = &p13743Var -var p13745Var = "function " -var p13745 = &p13745Var -var p13749Var = "thunk from >" -var p13749 = &p13749Var -var p13753Var = "function " -var p13753 = &p13753Var -var p13757Var = "thunk from >" +var p13723Var = "thunk from >>" +var p13723 = &p13723Var +var p13737Var = "thunk from >" +var p13737 = &p13737Var +var p13757Var = "thunk from >" var p13757 = &p13757Var -var p13760Var = "thunk from >" -var p13760 = &p13760Var -var p13767Var = "thunk from from >>" -var p13767 = &p13767Var -var p13770Var = "function " +var p13770Var = "function " var p13770 = &p13770Var -var p13774Var = "thunk from >" -var p13774 = &p13774Var -var p13777Var = "thunk from >" -var p13777 = &p13777Var -var p13780Var = "thunk from >" -var p13780 = &p13780Var -var p13783Var = "thunk from >" -var p13783 = &p13783Var -var p13786Var = "thunk from >" -var p13786 = &p13786Var -var p13789Var = "thunk from >" +var p13781Var = "thunk from >" +var p13781 = &p13781Var +var p13789Var = "thunk from >" var p13789 = &p13789Var -var p13792Var = "thunk from >" -var p13792 = &p13792Var -var p13795Var = "thunk from >" -var p13795 = &p13795Var -var p13798Var = "thunk from >" -var p13798 = &p13798Var -var p13800Var = "thunk from >" +var p13800Var = "thunk from from >>" var p13800 = &p13800Var -var p13803Var = "thunk from >" -var p13803 = &p13803Var -var p13806Var = "thunk from >" -var p13806 = &p13806Var -var p13809Var = "thunk from >" -var p13809 = &p13809Var -var p13812Var = "thunk from >" -var p13812 = &p13812Var -var p13815Var = "thunk from >" -var p13815 = &p13815Var -var p13818Var = "thunk from >" -var p13818 = &p13818Var -var p13821Var = "thunk from >" -var p13821 = &p13821Var -var p13824Var = "thunk from >" -var p13824 = &p13824Var -var p13826Var = "thunk from >" -var p13826 = &p13826Var -var p13829Var = "thunk from >" -var p13829 = &p13829Var -var p13832Var = "thunk from >" -var p13832 = &p13832Var -var p13837Var = "function " -var p13837 = &p13837Var -var p13840Var = "function " -var p13840 = &p13840Var -var p13843Var = "function " -var p13843 = &p13843Var -var p13846Var = "function " -var p13846 = &p13846Var -var p13848Var = "function " -var p13848 = &p13848Var -var p13851Var = "function " -var p13851 = &p13851Var -var p13854Var = "function " +var p13811Var = "thunk from >" +var p13811 = &p13811Var +var p13822Var = "thunk from from >>" +var p13822 = &p13822Var +var p13833Var = "thunk from from >>" +var p13833 = &p13833Var +var p13854Var = "thunk from >" var p13854 = &p13854Var -var p13857Var = "function " -var p13857 = &p13857Var -var p13860Var = "function " -var p13860 = &p13860Var -var p13863Var = "function " -var p13863 = &p13863Var -var p13866Var = "function " -var p13866 = &p13866Var -var p13869Var = "function " -var p13869 = &p13869Var -var p13882Var = "function " -var p13882 = &p13882Var -var p13884Var = "function " -var p13884 = &p13884Var -var p13888Var = "thunk from >" -var p13888 = &p13888Var -var p13891Var = "thunk from >" -var p13891 = &p13891Var -var p13894Var = "function " -var p13894 = &p13894Var -var p13897Var = "function " -var p13897 = &p13897Var -var p13904Var = "thunk from >" -var p13904 = &p13904Var -var p13907Var = "thunk from >" -var p13907 = &p13907Var -var p13910Var = "thunk from >" -var p13910 = &p13910Var -var p13917Var = "thunk from >>" -var p13917 = &p13917Var -var p13920Var = "thunk from >" -var p13920 = &p13920Var -var p13932Var = "function " -var p13932 = &p13932Var -var p13934Var = "function " -var p13934 = &p13934Var -var p13937Var = "object " -var p13937 = &p13937Var -var p13961Var = "object " -var p13961 = &p13961Var -var p13965Var = "object " -var p13965 = &p13965Var -var p13968Var = "object " -var p13968 = &p13968Var -var p13971Var = "object " -var p13971 = &p13971Var -var p13974Var = "object " -var p13974 = &p13974Var -var p13977Var = "object " -var p13977 = &p13977Var -var p13980Var = "object " -var p13980 = &p13980Var -var p13987Var = "thunk from >" -var p13987 = &p13987Var -var p13989Var = "thunk from >" -var p13989 = &p13989Var +var p13867Var = "thunk from from >>" +var p13867 = &p13867Var +var p13879Var = "thunk from from >>" +var p13879 = &p13879Var +var p13886Var = "thunk from >" +var p13886 = &p13886Var +var p13895Var = "thunk from from >>" +var p13895 = &p13895Var +var p13906Var = "thunk from from >>>" +var p13906 = &p13906Var +var p13938Var = "object " +var p13938 = &p13938Var +var p13951Var = "thunk from >" +var p13951 = &p13951Var +var p13976Var = "thunk from >" +var p13976 = &p13976Var +var p13990Var = "thunk from >" +var p13990 = &p13990Var +var p14008Var = "thunk from >" +var p14008 = &p14008Var +var p14029Var = "thunk from >" +var p14029 = &p14029Var +var p14042Var = "function " +var p14042 = &p14042Var +var p14052Var = "thunk from >" +var p14052 = &p14052Var +var p14060Var = "function " +var p14060 = &p14060Var +var p14070Var = "thunk from >" +var p14070 = &p14070Var +var p14078Var = "function " +var p14078 = &p14078Var +var p14088Var = "thunk from >" +var p14088 = &p14088Var +var p14098Var = "function " +var p14098 = &p14098Var +var p14108Var = "thunk from >" +var p14108 = &p14108Var +var p14132Var = "thunk from >" +var p14132 = &p14132Var +var p14139Var = "function " +var p14139 = &p14139Var +var p14148Var = "thunk from >" +var p14148 = &p14148Var +var p14169Var = "thunk from >" +var p14169 = &p14169Var +var p14176Var = "function " +var p14176 = &p14176Var +var p14185Var = "thunk from >" +var p14185 = &p14185Var +var p14193Var = "function " +var p14193 = &p14193Var +var p14197Var = "thunk from >" +var p14197 = &p14197Var +var p14206Var = "thunk from from >>" +var p14206 = &p14206Var +var p14213Var = "thunk from >" +var p14213 = &p14213Var +var p14222Var = "thunk from from >>" +var p14222 = &p14222Var +var p14238Var = "thunk from >" +var p14238 = &p14238Var +var p14257Var = "thunk from >" +var p14257 = &p14257Var +var p14265Var = "thunk from >" +var p14265 = &p14265Var +var p14274Var = "thunk from from >>" +var p14274 = &p14274Var +var p14290Var = "thunk from >" +var p14290 = &p14290Var +var p14301Var = "thunk from >>" +var p14301 = &p14301Var +var p14311Var = "thunk from >" +var p14311 = &p14311Var +var p14316Var = "function " +var p14316 = &p14316Var +var p14353Var = "thunk from >" +var p14353 = &p14353Var +var p14369Var = "thunk from >" +var p14369 = &p14369Var +var p14386Var = "thunk from >" +var p14386 = &p14386Var +var p14394Var = "thunk from >" +var p14394 = &p14394Var +var p14403Var = "thunk from from >>" +var p14403 = &p14403Var +var p14410Var = "thunk from >" +var p14410 = &p14410Var +var p14419Var = "thunk from from >>" +var p14419 = &p14419Var +var p14437Var = "thunk from >" +var p14437 = &p14437Var +var p14447Var = "thunk from >" +var p14447 = &p14447Var +var p14452Var = "function " +var p14452 = &p14452Var +var p14469Var = "thunk from >" +var p14469 = &p14469Var +var p14499Var = "thunk from >" +var p14499 = &p14499Var +var p14515Var = "thunk from >" +var p14515 = &p14515Var +var p14531Var = "thunk from >" +var p14531 = &p14531Var +var p14541Var = "function " +var p14541 = &p14541Var +var p14545Var = "thunk from >" +var p14545 = &p14545Var +var p14554Var = "thunk from from >>" +var p14554 = &p14554Var +var p14567Var = "thunk from >" +var p14567 = &p14567Var +var p14579Var = "thunk from >>" +var p14579 = &p14579Var +var p14590Var = "thunk from >>>" +var p14590 = &p14590Var +var p14597Var = "function " +var p14597 = &p14597Var +var p14607Var = "thunk from >>" +var p14607 = &p14607Var +var p14615Var = "function " +var p14615 = &p14615Var +var p14619Var = "thunk from >" +var p14619 = &p14619Var +var p14624Var = "function " +var p14624 = &p14624Var +var p14645Var = "thunk from >" +var p14645 = &p14645Var +var p14659Var = "thunk from >" +var p14659 = &p14659Var +var p14674Var = "thunk from >" +var p14674 = &p14674Var +var p14688Var = "thunk from >" +var p14688 = &p14688Var +var p14706Var = "thunk from >" +var p14706 = &p14706Var +var p14727Var = "thunk from >" +var p14727 = &p14727Var +var p14736Var = "thunk from >>" +var p14736 = &p14736Var +var p14742Var = "thunk from >" +var p14742 = &p14742Var +var p14751Var = "thunk from >>" +var p14751 = &p14751Var +var p14768Var = "thunk from >" +var p14768 = &p14768Var +var p14797Var = "thunk from >" +var p14797 = &p14797Var +var p14806Var = "thunk from >>" +var p14806 = &p14806Var +var p14821Var = "object " +var p14821 = &p14821Var +var p14830Var = "thunk from >" +var p14830 = &p14830Var +var p14846Var = "thunk from >" +var p14846 = &p14846Var +var p14857Var = "function " +var p14857 = &p14857Var +var p14870Var = "thunk from >" +var p14870 = &p14870Var +var p14887Var = "thunk from >" +var p14887 = &p14887Var +var p14903Var = "thunk from >" +var p14903 = &p14903Var +var p14920Var = "thunk from >" +var p14920 = &p14920Var +var p14928Var = "thunk from >" +var p14928 = &p14928Var +var p14937Var = "thunk from from >>" +var p14937 = &p14937Var +var p14944Var = "thunk from >" +var p14944 = &p14944Var +var p14953Var = "thunk from from >>" +var p14953 = &p14953Var +var p14991Var = "thunk from >" +var p14991 = &p14991Var +var p14995Var = "function " +var p14995 = &p14995Var +var p15027Var = "thunk from >>" +var p15027 = &p15027Var +var p15040Var = "function " +var p15040 = &p15040Var +var p15053Var = "thunk from >" +var p15053 = &p15053Var +var p15070Var = "thunk from >" +var p15070 = &p15070Var +var p15083Var = "thunk from >" +var p15083 = &p15083Var +var p15087Var = "function " +var p15087 = &p15087Var +var p15106Var = "thunk from >>" +var p15106 = &p15106Var +var p15118Var = "thunk from >>>" +var p15118 = &p15118Var +var p15127Var = "function " +var p15127 = &p15127Var +var p15131Var = "thunk from >" +var p15131 = &p15131Var +var p15140Var = "thunk from from >>" +var p15140 = &p15140Var +var p15143Var = "thunk from >" +var p15143 = &p15143Var +var p15152Var = "thunk from from >>" +var p15152 = &p15152Var +var p15196Var = "thunk from >" +var p15196 = &p15196Var +var p15262Var = "function " +var p15262 = &p15262Var +var p15266Var = "thunk from >" +var p15266 = &p15266Var +var p15275Var = "thunk from from >>" +var p15275 = &p15275Var +var p15278Var = "thunk from >" +var p15278 = &p15278Var +var p15287Var = "thunk from from >>" +var p15287 = &p15287Var +var p15294Var = "thunk from >" +var p15294 = &p15294Var +var p15303Var = "thunk from from >>" +var p15303 = &p15303Var +var p15312Var = "thunk from >" +var p15312 = &p15312Var +var p15317Var = "function " +var p15317 = &p15317Var +var p15330Var = "thunk from >" +var p15330 = &p15330Var +var p15339Var = "thunk from from >>" +var p15339 = &p15339Var +var p15370Var = "thunk from >" +var p15370 = &p15370Var +var p15386Var = "thunk from >" +var p15386 = &p15386Var +var p15397Var = "thunk from >" +var p15397 = &p15397Var +var p15403Var = "function " +var p15403 = &p15403Var +var p15414Var = "thunk from >" +var p15414 = &p15414Var +var p15425Var = "function " +var p15425 = &p15425Var +var p15436Var = "thunk from >" +var p15436 = &p15436Var +var p15446Var = "function " +var p15446 = &p15446Var +var p15457Var = "thunk from >" +var p15457 = &p15457Var +var p15467Var = "function " +var p15467 = &p15467Var +var p15478Var = "thunk from >" +var p15478 = &p15478Var +var p15485Var = "object " +var p15485 = &p15485Var +var p15487Var = "object " +var p15487 = &p15487Var +var p15490Var = "function " +var p15490 = &p15490Var +var p15493Var = "object " +var p15493 = &p15493Var +var p15499Var = "function " +var p15499 = &p15499Var +var p15502Var = "function " +var p15502 = &p15502Var +var p15505Var = "function " +var p15505 = &p15505Var +var p15508Var = "function " +var p15508 = &p15508Var +var p15510Var = "function " +var p15510 = &p15510Var +var p15513Var = "function " +var p15513 = &p15513Var +var p15516Var = "function " +var p15516 = &p15516Var +var p15520Var = "function " +var p15520 = &p15520Var +var p15524Var = "thunk from >" +var p15524 = &p15524Var +var p15527Var = "thunk from >" +var p15527 = &p15527Var +var p15534Var = "thunk from from >>" +var p15534 = &p15534Var +var p15537Var = "function " +var p15537 = &p15537Var +var p15541Var = "thunk from >" +var p15541 = &p15541Var +var p15544Var = "thunk from >" +var p15544 = &p15544Var +var p15551Var = "thunk from from >>" +var p15551 = &p15551Var +var p15554Var = "function " +var p15554 = &p15554Var +var p15558Var = "thunk from >" +var p15558 = &p15558Var +var p15561Var = "thunk from >" +var p15561 = &p15561Var +var p15568Var = "thunk from from >>" +var p15568 = &p15568Var +var p15571Var = "function " +var p15571 = &p15571Var +var p15575Var = "thunk from >" +var p15575 = &p15575Var +var p15580Var = "function " +var p15580 = &p15580Var +var p15584Var = "thunk from >" +var p15584 = &p15584Var +var p15587Var = "thunk from >" +var p15587 = &p15587Var +var p15594Var = "thunk from from >>" +var p15594 = &p15594Var +var p15598Var = "function " +var p15598 = &p15598Var +var p15602Var = "thunk from >" +var p15602 = &p15602Var +var p15605Var = "thunk from >" +var p15605 = &p15605Var +var p15608Var = "thunk from >" +var p15608 = &p15608Var +var p15611Var = "thunk from >" +var p15611 = &p15611Var +var p15614Var = "thunk from >" +var p15614 = &p15614Var +var p15617Var = "thunk from >" +var p15617 = &p15617Var +var p15621Var = "thunk from >" +var p15621 = &p15621Var +var p15624Var = "thunk from >" +var p15624 = &p15624Var +var p15627Var = "thunk from >" +var p15627 = &p15627Var +var p15630Var = "thunk from >" +var p15630 = &p15630Var +var p15633Var = "thunk from >" +var p15633 = &p15633Var +var p15636Var = "thunk from >" +var p15636 = &p15636Var +var p15639Var = "thunk from >" +var p15639 = &p15639Var +var p15642Var = "thunk from >" +var p15642 = &p15642Var +var p15645Var = "thunk from >" +var p15645 = &p15645Var +var p15649Var = "thunk from >" +var p15649 = &p15649Var +var p15652Var = "thunk from >" +var p15652 = &p15652Var +var p15655Var = "thunk from >" +var p15655 = &p15655Var +var p15658Var = "thunk from >" +var p15658 = &p15658Var +var p15662Var = "thunk from >" +var p15662 = &p15662Var +var p15665Var = "thunk from >" +var p15665 = &p15665Var +var p15670Var = "function " +var p15670 = &p15670Var +var p15673Var = "function " +var p15673 = &p15673Var +var p15676Var = "function " +var p15676 = &p15676Var +var p15679Var = "function " +var p15679 = &p15679Var +var p15681Var = "function " +var p15681 = &p15681Var +var p15684Var = "function " +var p15684 = &p15684Var +var p15687Var = "function " +var p15687 = &p15687Var +var p15690Var = "function " +var p15690 = &p15690Var +var p15693Var = "function " +var p15693 = &p15693Var +var p15697Var = "function " +var p15697 = &p15697Var +var p15700Var = "function " +var p15700 = &p15700Var +var p15703Var = "function " +var p15703 = &p15703Var +var p15716Var = "function " +var p15716 = &p15716Var +var p15718Var = "function " +var p15718 = &p15718Var +var p15722Var = "thunk from >" +var p15722 = &p15722Var +var p15725Var = "thunk from >" +var p15725 = &p15725Var +var p15728Var = "function " +var p15728 = &p15728Var +var p15731Var = "function " +var p15731 = &p15731Var +var p15739Var = "thunk from >" +var p15739 = &p15739Var +var p15742Var = "thunk from >" +var p15742 = &p15742Var +var p15745Var = "thunk from >" +var p15745 = &p15745Var +var p15752Var = "thunk from >>" +var p15752 = &p15752Var +var p15755Var = "thunk from >" +var p15755 = &p15755Var +var p15767Var = "function " +var p15767 = &p15767Var +var p15769Var = "function " +var p15769 = &p15769Var +var p15772Var = "object " +var p15772 = &p15772Var +var p15796Var = "object " +var p15796 = &p15796Var +var p15800Var = "object " +var p15800 = &p15800Var +var p15803Var = "object " +var p15803 = &p15803Var +var p15806Var = "object " +var p15806 = &p15806Var +var p15809Var = "object " +var p15809 = &p15809Var +var p15812Var = "object " +var p15812 = &p15812Var +var p15815Var = "object " +var p15815 = &p15815Var +var p15822Var = "thunk from >" +var p15822 = &p15822Var +var p15824Var = "thunk from >" +var p15824 = &p15824Var var p1 = &ast.Source{ Lines: []string{ "/*\n", @@ -2265,16 +2417,11 @@ var p1 = &ast.Source{ " if std.type(a) == 'string' then a else '' + a,\n", "\n", " substr(str, from, len)::\n", - " if std.type(str) != 'string' then\n", - " error 'substr first parameter should be a string, got ' + std.type(str)\n", - " else if std.type(from) != 'number' then\n", - " error 'substr second parameter should be a number, got ' + std.type(from)\n", - " else if std.type(len) != 'number' then\n", - " error 'substr third parameter should be a number, got ' + std.type(len)\n", - " else if len < 0 then\n", - " error 'substr third parameter should be greater than zero, got ' + len\n", - " else\n", - " std.join('', std.makeArray(std.max(0, std.min(len, std.length(str) - from)), function(i) str[i + from])),\n", + " assert std.isString(str) : 'substr first parameter should be a string, got ' + std.type(str);\n", + " assert std.isNumber(from) : 'substr second parameter should be a string, got ' + std.type(from);\n", + " assert std.isNumber(len) : 'substr third parameter should be a string, got ' + std.type(len);\n", + " assert len >= 0 : 'substr third parameter should be greater than zero, got ' + len;\n", + " std.join('', std.makeArray(std.max(0, std.min(len, std.length(str) - from)), function(i) str[i + from])),\n", "\n", " startsWith(a, b)::\n", " if std.length(a) < std.length(b) then\n", @@ -2288,6 +2435,22 @@ var p1 = &ast.Source{ " else\n", " std.substr(a, std.length(a) - std.length(b), std.length(b)) == b,\n", "\n", + " lstripChars(str, chars)::\n", + " if std.length(str) > 0 && std.member(chars, str[0]) then\n", + " std.lstripChars(str[1:], chars)\n", + " else\n", + " str,\n", + "\n", + " rstripChars(str, chars)::\n", + " local len = std.length(str);\n", + " if len > 0 && std.member(chars, str[len - 1]) then\n", + " std.rstripChars(str[:len - 1], chars)\n", + " else\n", + " str,\n", + "\n", + " stripChars(str, chars)::\n", + " std.lstripChars(std.rstripChars(str, chars), chars),\n", + "\n", " stringChars(str)::\n", " std.makeArray(std.length(str), function(i) str[i]),\n", "\n", @@ -2328,40 +2491,31 @@ var p1 = &ast.Source{ " parse_nat(str, 16),\n", "\n", " split(str, c)::\n", - " if std.type(str) != 'string' then\n", - " error 'std.split first parameter should be a string, got ' + std.type(str)\n", - " else if std.type(c) != 'string' then\n", - " error 'std.split second parameter should be a string, got ' + std.type(c)\n", - " else if std.length(c) != 1 then\n", - " error 'std.split second parameter should have length 1, got ' + std.length(c)\n", - " else\n", - " std.splitLimit(str, c, -1),\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", + " std.splitLimit(str, c, -1),\n", "\n", " splitLimit(str, c, maxsplits)::\n", - " if std.type(str) != 'string' then\n", - " error 'std.splitLimit first parameter should be a string, got ' + std.type(str)\n", - " else if std.type(c) != 'string' then\n", - " error 'std.splitLimit second parameter should be a string, got ' + std.type(c)\n", - " else if std.length(c) != 1 then\n", - " error 'std.splitLimit second parameter should have length 1, got ' + std.length(c)\n", - " else if std.type(maxsplits) != 'number' then\n", - " error 'std.splitLimit third parameter should be a number, got ' + std.type(maxsplits)\n", - " else\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", - " else\n", - " aux(str, delim, i2, arr, v + c) tailstrict;\n", - " aux(str, c, 0, [], ''),\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", + " else\n", + " aux(str, delim, i2, arr, v + c) tailstrict;\n", + " aux(str, c, 0, [], ''),\n", "\n", " strReplace(str, from, to)::\n", - " assert std.type(str) == 'string';\n", - " assert std.type(from) == 'string';\n", - " assert std.type(to) == 'string';\n", + " assert std.isString(str);\n", + " assert std.isString(from);\n", + " assert std.isString(to);\n", " assert from != '' : \"'from' string must not be zero length.\";\n", "\n", " // Cache for performance.\n", @@ -2389,26 +2543,32 @@ var p1 = &ast.Source{ " else\n", " replace_after(0, 0, ''),\n", "\n", - " asciiUpper(x)::\n", + " asciiUpper(str)::\n", " local cp = std.codepoint;\n", " local up_letter(c) = if cp(c) >= 97 && cp(c) < 123 then\n", " std.char(cp(c) - 32)\n", " else\n", " c;\n", - " std.join('', std.map(up_letter, std.stringChars(x))),\n", + " std.join('', std.map(up_letter, std.stringChars(str))),\n", "\n", - " asciiLower(x)::\n", + " asciiLower(str)::\n", " local cp = std.codepoint;\n", " local down_letter(c) = if cp(c) >= 65 && cp(c) < 91 then\n", " std.char(cp(c) + 32)\n", " else\n", " c;\n", - " std.join('', std.map(down_letter, std.stringChars(x))),\n", - "\n", + " std.join('', std.map(down_letter, std.stringChars(str))),\n", "\n", " range(from, to)::\n", " std.makeArray(to - from + 1, function(i) i + from),\n", "\n", + " repeat(what, count)::\n", + " local joiner =\n", + " if std.isString(what) then ''\n", + " else if std.isArray(what) then []\n", + " else error 'std.repeat first argument must be an array or a string';\n", + " std.join(joiner, std.makeArray(count, function(i) what)),\n", + "\n", " slice(indexable, index, end, step)::\n", " local invar =\n", " // loop invariant with defaults applied\n", @@ -2426,61 +2586,72 @@ var p1 = &ast.Source{ " length: std.length(indexable),\n", " type: std.type(indexable),\n", " };\n", - " if invar.index < 0 || invar.end < 0 || invar.step < 0 then\n", - " error ('got [%s:%s:%s] but negative index, end, and steps are not supported'\n", - " % [invar.index, invar.end, invar.step])\n", - " else if step == 0 then\n", - " error ('got %s but step must be greater than 0' % step)\n", - " else if std.type(indexable) != 'string' && std.type(indexable) != 'array' then\n", - " error ('std.slice accepts a string or an array, but got: %s' % std.type(indexable))\n", - " else\n", - " local build(slice, cur) =\n", - " if cur >= invar.end || cur >= invar.length then\n", - " slice\n", - " else\n", - " build(\n", - " if invar.type == 'string' then\n", - " slice + invar.indexable[cur]\n", - " else\n", - " slice + [invar.indexable[cur]],\n", - " cur + invar.step\n", - " ) tailstrict;\n", - " build(if invar.type == 'string' then '' else [], invar.index),\n", + " assert invar.index >= 0 && invar.end >= 0 && invar.step >= 0 : 'got [%s:%s:%s] but negative index, end, and steps are not supported' % [invar.index, invar.end, invar.step];\n", + " assert step != 0 : 'got %s but step must be greater than 0' % step;\n", + " assert std.isString(indexable) || std.isArray(indexable) : 'std.slice accepts a string or an array, but got: %s' % std.type(indexable);\n", + " local build(slice, cur) =\n", + " if cur >= invar.end || cur >= invar.length then\n", + " slice\n", + " else\n", + " build(\n", + " if invar.type == 'string' then\n", + " slice + invar.indexable[cur]\n", + " else\n", + " slice + [invar.indexable[cur]],\n", + " cur + invar.step\n", + " ) tailstrict;\n", + " build(if invar.type == 'string' then '' else [], invar.index),\n", + "\n", + " member(arr, x)::\n", + " if std.isArray(arr) then\n", + " std.count(arr, x) > 0\n", + " else if std.isString(arr) then\n", + " std.length(std.findSubstr(x, arr)) > 0\n", + " else error 'std.member first argument must be an array or a string',\n", "\n", " count(arr, x):: std.length(std.filter(function(v) v == x, arr)),\n", "\n", " mod(a, b)::\n", - " if std.type(a) == 'number' && std.type(b) == 'number' then\n", + " if std.isNumber(a) && std.isNumber(b) then\n", " std.modulo(a, b)\n", - " else if std.type(a) == 'string' then\n", + " else if std.isString(a) then\n", " std.format(a, b)\n", " else\n", " error 'Operator % cannot be used on types ' + std.type(a) + ' and ' + std.type(b) + '.',\n", "\n", " map(func, arr)::\n", - " if std.type(func) != 'function' then\n", + " if !std.isFunction(func) then\n", " error ('std.map first param must be function, got ' + std.type(func))\n", - " else if std.type(arr) != 'array' && std.type(arr) != 'string' then\n", + " else if !std.isArray(arr) && !std.isString(arr) then\n", " error ('std.map second param must be array / string, got ' + std.type(arr))\n", " else\n", " std.makeArray(std.length(arr), function(i) func(arr[i])),\n", "\n", " mapWithIndex(func, arr)::\n", - " if std.type(func) != 'function' then\n", + " if !std.isFunction(func) then\n", " error ('std.mapWithIndex first param must be function, got ' + std.type(func))\n", - " else if std.type(arr) != 'array' && std.type(arr) != 'string' then\n", + " else if !std.isArray(arr) && !std.isString(arr) then\n", " error ('std.mapWithIndex second param must be array, got ' + std.type(arr))\n", " else\n", " std.makeArray(std.length(arr), function(i) func(i, arr[i])),\n", "\n", " mapWithKey(func, obj)::\n", - " if std.type(func) != 'function' then\n", + " if !std.isFunction(func) then\n", " error ('std.mapWithKey first param must be function, got ' + std.type(func))\n", - " else if std.type(obj) != 'object' then\n", + " else if !std.isObject(obj) then\n", " error ('std.mapWithKey second param must be object, got ' + std.type(obj))\n", " else\n", " { [k]: func(k, obj[k]) for k in std.objectFields(obj) },\n", "\n", + " flatMap(func, arr)::\n", + " if !std.isFunction(func) then\n", + " error ('std.flatMap first param must be function, got ' + std.type(func))\n", + " else if std.isArray(arr) then\n", + " std.flattenArrays(std.makeArray(std.length(arr), function(i) func(arr[i])))\n", + " else if std.isString(arr) then\n", + " std.join('', std.makeArray(std.length(arr), function(i) func(arr[i])))\n", + " else error ('std.flatMap second param must be array / string, got ' + std.type(arr)),\n", + "\n", " join(sep, arr)::\n", " local aux(arr, i, first, running) =\n", " if i >= std.length(arr) then\n", @@ -2493,11 +2664,11 @@ var p1 = &ast.Source{ " aux(arr, i + 1, false, running + arr[i]) tailstrict\n", " else\n", " aux(arr, i + 1, false, running + sep + arr[i]) tailstrict;\n", - " if std.type(arr) != 'array' then\n", + " if !std.isArray(arr) then\n", " error 'join second parameter should be array, got ' + std.type(arr)\n", - " else if std.type(sep) == 'string' then\n", + " else if std.isString(sep) then\n", " aux(arr, 0, true, '')\n", - " else if std.type(sep) == 'array' then\n", + " else if std.isArray(sep) then\n", " aux(arr, 0, true, [])\n", " else\n", " error 'join first parameter should be string or array, got ' + std.type(sep),\n", @@ -2521,155 +2692,141 @@ var p1 = &ast.Source{ " /////////////////////////////\n", "\n", " local try_parse_mapping_key(str, i) =\n", - " if i >= std.length(str) then\n", - " error 'Truncated format code.'\n", - " else\n", - " local c = str[i];\n", - " if c == '(' then\n", - " local consume(str, j, v) =\n", - " if j >= std.length(str) then\n", - " error 'Truncated format code.'\n", + " assert i < std.length(str) : 'Truncated format code.';\n", + " local c = str[i];\n", + " if c == '(' then\n", + " local consume(str, j, v) =\n", + " if j >= std.length(str) then\n", + " error 'Truncated format code.'\n", + " else\n", + " local c = str[j];\n", + " if c != ')' then\n", + " consume(str, j + 1, v + c)\n", " else\n", - " local c = str[j];\n", - " if c != ')' then\n", - " consume(str, j + 1, v + c)\n", - " else\n", - " { i: j + 1, v: v };\n", - " consume(str, i + 1, '')\n", - " else\n", - " { i: i, v: null };\n", + " { i: j + 1, v: v };\n", + " consume(str, i + 1, '')\n", + " else\n", + " { i: i, v: null };\n", "\n", " local try_parse_cflags(str, i) =\n", " local consume(str, j, v) =\n", - " if j >= std.length(str) then\n", - " error 'Truncated format code.'\n", + " assert j < std.length(str) : 'Truncated format code.';\n", + " local c = str[j];\n", + " if c == '#' then\n", + " consume(str, j + 1, v { alt: true })\n", + " else if c == '0' then\n", + " consume(str, j + 1, v { zero: true })\n", + " else if c == '-' then\n", + " consume(str, j + 1, v { left: true })\n", + " else if c == ' ' then\n", + " consume(str, j + 1, v { blank: true })\n", + " else if c == '+' then\n", + " consume(str, j + 1, v { plus: true })\n", " else\n", - " local c = str[j];\n", - " if c == '#' then\n", - " consume(str, j + 1, v { alt: true })\n", - " else if c == '0' then\n", - " consume(str, j + 1, v { zero: true })\n", - " else if c == '-' then\n", - " consume(str, j + 1, v { left: true })\n", - " else if c == ' ' then\n", - " consume(str, j + 1, v { blank: true })\n", - " else if c == '+' then\n", - " consume(str, j + 1, v { sign: true })\n", - " else\n", - " { i: j, v: v };\n", - " consume(str, i, { alt: false, zero: false, left: false, blank: false, sign: false });\n", + " { i: j, v: v };\n", + " consume(str, i, { alt: false, zero: false, left: false, blank: false, plus: false });\n", "\n", " local try_parse_field_width(str, i) =\n", " if i < std.length(str) && str[i] == '*' then\n", " { i: i + 1, v: '*' }\n", " else\n", " local consume(str, j, v) =\n", - " if j >= std.length(str) then\n", - " error 'Truncated format code.'\n", + " assert j < std.length(str) : 'Truncated format code.';\n", + " local c = str[j];\n", + " if c == '0' then\n", + " consume(str, j + 1, v * 10 + 0)\n", + " else if c == '1' then\n", + " consume(str, j + 1, v * 10 + 1)\n", + " else if c == '2' then\n", + " consume(str, j + 1, v * 10 + 2)\n", + " else if c == '3' then\n", + " consume(str, j + 1, v * 10 + 3)\n", + " else if c == '4' then\n", + " consume(str, j + 1, v * 10 + 4)\n", + " else if c == '5' then\n", + " consume(str, j + 1, v * 10 + 5)\n", + " else if c == '6' then\n", + " consume(str, j + 1, v * 10 + 6)\n", + " else if c == '7' then\n", + " consume(str, j + 1, v * 10 + 7)\n", + " else if c == '8' then\n", + " consume(str, j + 1, v * 10 + 8)\n", + " else if c == '9' then\n", + " consume(str, j + 1, v * 10 + 9)\n", " else\n", - " local c = str[j];\n", - " if c == '0' then\n", - " consume(str, j + 1, v * 10 + 0)\n", - " else if c == '1' then\n", - " consume(str, j + 1, v * 10 + 1)\n", - " else if c == '2' then\n", - " consume(str, j + 1, v * 10 + 2)\n", - " else if c == '3' then\n", - " consume(str, j + 1, v * 10 + 3)\n", - " else if c == '4' then\n", - " consume(str, j + 1, v * 10 + 4)\n", - " else if c == '5' then\n", - " consume(str, j + 1, v * 10 + 5)\n", - " else if c == '6' then\n", - " consume(str, j + 1, v * 10 + 6)\n", - " else if c == '7' then\n", - " consume(str, j + 1, v * 10 + 7)\n", - " else if c == '8' then\n", - " consume(str, j + 1, v * 10 + 8)\n", - " else if c == '9' then\n", - " consume(str, j + 1, v * 10 + 9)\n", - " else\n", - " { i: j, v: v };\n", + " { i: j, v: v };\n", " consume(str, i, 0);\n", "\n", " local try_parse_precision(str, i) =\n", - " if i >= std.length(str) then\n", - " error 'Truncated format code.'\n", + " assert i < std.length(str) : 'Truncated format code.';\n", + " local c = str[i];\n", + " if c == '.' then\n", + " try_parse_field_width(str, i + 1)\n", " else\n", - " local c = str[i];\n", - " if c == '.' then\n", - " try_parse_field_width(str, i + 1)\n", - " else\n", - " { i: i, v: null };\n", + " { i: i, v: null };\n", "\n", " // Ignored, if it exists.\n", " local try_parse_length_modifier(str, i) =\n", - " if i >= std.length(str) then\n", - " error 'Truncated format code.'\n", + " assert i < std.length(str) : 'Truncated format code.';\n", + " local c = str[i];\n", + " if c == 'h' || c == 'l' || c == 'L' then\n", + " i + 1\n", " else\n", - " local c = str[i];\n", - " if c == 'h' || c == 'l' || c == 'L' then\n", - " i + 1\n", - " else\n", - " i;\n", + " i;\n", "\n", " local parse_conv_type(str, i) =\n", - " if i >= std.length(str) then\n", - " error 'Truncated format code.'\n", + " assert i < std.length(str) : 'Truncated format code.';\n", + " local c = str[i];\n", + " if c == 'd' || c == 'i' || c == 'u' then\n", + " { i: i + 1, v: 'd', caps: false }\n", + " else if c == 'o' then\n", + " { i: i + 1, v: 'o', caps: false }\n", + " else if c == 'x' then\n", + " { i: i + 1, v: 'x', caps: false }\n", + " else if c == 'X' then\n", + " { i: i + 1, v: 'x', caps: true }\n", + " else if c == 'e' then\n", + " { i: i + 1, v: 'e', caps: false }\n", + " else if c == 'E' then\n", + " { i: i + 1, v: 'e', caps: true }\n", + " else if c == 'f' then\n", + " { i: i + 1, v: 'f', caps: false }\n", + " else if c == 'F' then\n", + " { i: i + 1, v: 'f', caps: true }\n", + " else if c == 'g' then\n", + " { i: i + 1, v: 'g', caps: false }\n", + " else if c == 'G' then\n", + " { i: i + 1, v: 'g', caps: true }\n", + " else if c == 'c' then\n", + " { i: i + 1, v: 'c', caps: false }\n", + " else if c == 's' then\n", + " { i: i + 1, v: 's', caps: false }\n", + " else if c == '%' then\n", + " { i: i + 1, v: '%', caps: false }\n", " else\n", - " local c = str[i];\n", - " if c == 'd' || c == 'i' || c == 'u' then\n", - " { i: i + 1, v: 'd', caps: false }\n", - " else if c == 'o' then\n", - " { i: i + 1, v: 'o', caps: false }\n", - " else if c == 'x' then\n", - " { i: i + 1, v: 'x', caps: false }\n", - " else if c == 'X' then\n", - " { i: i + 1, v: 'x', caps: true }\n", - " else if c == 'e' then\n", - " { i: i + 1, v: 'e', caps: false }\n", - " else if c == 'E' then\n", - " { i: i + 1, v: 'e', caps: true }\n", - " else if c == 'f' then\n", - " { i: i + 1, v: 'f', caps: false }\n", - " else if c == 'F' then\n", - " { i: i + 1, v: 'f', caps: true }\n", - " else if c == 'g' then\n", - " { i: i + 1, v: 'g', caps: false }\n", - " else if c == 'G' then\n", - " { i: i + 1, v: 'g', caps: true }\n", - " else if c == 'c' then\n", - " { i: i + 1, v: 'c', caps: false }\n", - " else if c == 's' then\n", - " { i: i + 1, v: 's', caps: false }\n", - " else if c == '%' then\n", - " { i: i + 1, v: '%', caps: false }\n", - " else\n", - " error 'Unrecognised conversion type: ' + c;\n", + " error 'Unrecognised conversion type: ' + c;\n", "\n", "\n", " // Parsed initial %, now the rest.\n", " local parse_code(str, i) =\n", - " if i >= std.length(str) then\n", - " error 'Truncated format code.'\n", - " else\n", - " local mkey = try_parse_mapping_key(str, i);\n", - " local cflags = try_parse_cflags(str, mkey.i);\n", - " local fw = try_parse_field_width(str, cflags.i);\n", - " local prec = try_parse_precision(str, fw.i);\n", - " local len_mod = try_parse_length_modifier(str, prec.i);\n", - " local ctype = parse_conv_type(str, len_mod);\n", - " {\n", - " i: ctype.i,\n", - " code: {\n", - " mkey: mkey.v,\n", - " cflags: cflags.v,\n", - " fw: fw.v,\n", - " prec: prec.v,\n", - " ctype: ctype.v,\n", - " caps: ctype.caps,\n", - " },\n", - " };\n", + " assert i < std.length(str) : 'Truncated format code.';\n", + " local mkey = try_parse_mapping_key(str, i);\n", + " local cflags = try_parse_cflags(str, mkey.i);\n", + " local fw = try_parse_field_width(str, cflags.i);\n", + " local prec = try_parse_precision(str, fw.i);\n", + " local len_mod = try_parse_length_modifier(str, prec.i);\n", + " local ctype = parse_conv_type(str, len_mod);\n", + " {\n", + " i: ctype.i,\n", + " code: {\n", + " mkey: mkey.v,\n", + " cflags: cflags.v,\n", + " fw: fw.v,\n", + " prec: prec.v,\n", + " ctype: ctype.v,\n", + " caps: ctype.caps,\n", + " },\n", + " };\n", "\n", " // Parse a format string (containing none or more % format tags).\n", " local parse_codes(str, i, out, cur) =\n", @@ -2707,23 +2864,38 @@ var p1 = &ast.Source{ " local pad_right(str, w, s) =\n", " str + padding(w - std.length(str), s);\n", "\n", - " // Render an integer (e.g., decimal or octal).\n", - " local render_int(n__, min_chars, min_digits, blank, sign, radix, zero_prefix) =\n", - " local n_ = std.abs(n__);\n", - " local aux(n) =\n", - " if n == 0 then\n", - " zero_prefix\n", + " // Render a sign & magnitude integer (radix ranges from decimal to binary).\n", + " // neg should be a boolean, and when true indicates that we should render a negative number.\n", + " // mag must always be a whole number >= 0, it's the magnitude of the integer to render\n", + " // min_chars must be a whole number >= 0\n", + " // It is the field width, i.e. std.length() of the result should be >= min_chars\n", + " // min_digits must be a whole number >= 0. It's the number of zeroes to pad with.\n", + " // blank must be a boolean, if true adds an additional ' ' in front of a positive number, so\n", + " // that it is aligned with negative numbers with the same number of digits.\n", + " // plus must be a boolean, if true adds a '+' in front of a postive number, so that it is\n", + " // aligned with negative numbers with the same number of digits. This takes precedence over\n", + " // blank, if both are true.\n", + " // radix must be a whole number >1 and <= 10. It is the base of the system of numerals.\n", + " // zero_prefix is a string prefixed before the sign to all numbers that are not 0.\n", + " local render_int(neg, mag, min_chars, min_digits, blank, plus, radix, zero_prefix) =\n", + " // dec is the minimal string needed to represent the number as text.\n", + " local dec =\n", + " if mag == 0 then\n", + " '0'\n", " else\n", - " aux(std.floor(n / radix)) + (n % radix);\n", - " local dec = if std.floor(n_) == 0 then '0' else aux(std.floor(n_));\n", - " local neg = n__ < 0;\n", - " local zp = min_chars - (if neg || blank || sign then 1 else 0);\n", + " local aux(n) =\n", + " if n == 0 then\n", + " zero_prefix\n", + " else\n", + " aux(std.floor(n / radix)) + (n % radix);\n", + " aux(mag);\n", + " local zp = min_chars - (if neg || blank || plus then 1 else 0);\n", " local zp2 = std.max(zp, min_digits);\n", " local dec2 = pad_left(dec, zp2, '0');\n", - " (if neg then '-' else if sign then '+' else if blank then ' ' else '') + dec2;\n", + " (if neg then '-' else if plus then '+' else if blank then ' ' else '') + dec2;\n", "\n", " // Render an integer in hexadecimal.\n", - " local render_hex(n__, min_chars, min_digits, blank, sign, add_zerox, capitals) =\n", + " local render_hex(n__, min_chars, min_digits, blank, plus, add_zerox, capitals) =\n", " local numerals = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\n", " + if capitals then ['A', 'B', 'C', 'D', 'E', 'F']\n", " else ['a', 'b', 'c', 'd', 'e', 'f'];\n", @@ -2735,12 +2907,12 @@ var p1 = &ast.Source{ " aux(std.floor(n / 16)) + numerals[n % 16];\n", " local hex = if std.floor(n_) == 0 then '0' else aux(std.floor(n_));\n", " local neg = n__ < 0;\n", - " local zp = min_chars - (if neg || blank || sign then 1 else 0)\n", + " local zp = min_chars - (if neg || blank || plus then 1 else 0)\n", " - (if add_zerox then 2 else 0);\n", " local zp2 = std.max(zp, min_digits);\n", " local hex2 = (if add_zerox then (if capitals then '0X' else '0x') else '')\n", " + pad_left(hex, zp2, '0');\n", - " (if neg then '-' else if sign then '+' else if blank then ' ' else '') + hex2;\n", + " (if neg then '-' else if plus then '+' else if blank then ' ' else '') + hex2;\n", "\n", " local strip_trailing_zero(str) =\n", " local aux(str, i) =\n", @@ -2754,27 +2926,27 @@ var p1 = &ast.Source{ " aux(str, std.length(str) - 1);\n", "\n", " // Render floating point in decimal form\n", - " local render_float_dec(n__, zero_pad, blank, sign, ensure_pt, trailing, prec) =\n", + " local render_float_dec(n__, zero_pad, blank, plus, ensure_pt, trailing, prec) =\n", " local n_ = std.abs(n__);\n", " local whole = std.floor(n_);\n", " local dot_size = if prec == 0 && !ensure_pt then 0 else 1;\n", " local zp = zero_pad - prec - dot_size;\n", - " local str = render_int(std.sign(n__) * whole, zp, 0, blank, sign, 10, '');\n", + " local str = render_int(n__ < 0, whole, zp, 0, blank, plus, 10, '');\n", " if prec == 0 then\n", " str + if ensure_pt then '.' else ''\n", " else\n", " local frac = std.floor((n_ - whole) * std.pow(10, prec) + 0.5);\n", " if trailing || frac > 0 then\n", - " local frac_str = render_int(frac, prec, 0, false, false, 10, '');\n", + " local frac_str = render_int(false, frac, prec, 0, false, false, 10, '');\n", " str + '.' + if !trailing then strip_trailing_zero(frac_str) else frac_str\n", " else\n", " str;\n", "\n", " // Render floating point in scientific form\n", - " local render_float_sci(n__, zero_pad, blank, sign, ensure_pt, trailing, caps, prec) =\n", + " local render_float_sci(n__, zero_pad, blank, plus, ensure_pt, trailing, caps, prec) =\n", " local exponent = if n__ == 0 then 0 else std.floor(std.log(std.abs(n__)) / std.log(10));\n", " local suff = (if caps then 'E' else 'e')\n", - " + render_int(exponent, 3, 0, false, true, 10, '');\n", + " + render_int(exponent < 0, std.abs(exponent), 3, 0, false, true, 10, '');\n", " local mantissa = if exponent == -324 then\n", " // Avoid a rounding error where std.pow(10, -324) is 0\n", " // -324 is the smallest exponent possible.\n", @@ -2782,7 +2954,7 @@ var p1 = &ast.Source{ " else\n", " n__ / std.pow(10, exponent);\n", " local zp2 = zero_pad - std.length(suff);\n", - " render_float_dec(mantissa, zp2, blank, sign, ensure_pt, trailing, prec) + suff;\n", + " render_float_dec(mantissa, zp2, blank, plus, ensure_pt, trailing, prec) + suff;\n", "\n", " // Render a value with an arbitrary format code.\n", " local format_code(val, code, fw, prec_or_null, i) =\n", @@ -2797,24 +2969,24 @@ var p1 = &ast.Source{ " error 'Format required number at '\n", " + i + ', got ' + std.type(val)\n", " else\n", - " render_int(val, zp, iprec, cflags.blank, cflags.sign, 10, '')\n", + " render_int(val <= -1, std.floor(std.abs(val)), zp, iprec, cflags.blank, cflags.plus, 10, '')\n", " else if code.ctype == 'o' then\n", " if std.type(val) != 'number' then\n", " error 'Format required number at '\n", " + i + ', got ' + std.type(val)\n", " else\n", " local zero_prefix = if cflags.alt then '0' else '';\n", - " render_int(val, zp, iprec, cflags.blank, cflags.sign, 8, zero_prefix)\n", + " render_int(val <= -1, std.floor(std.abs(val)), zp, iprec, cflags.blank, cflags.plus, 8, zero_prefix)\n", " else if code.ctype == 'x' then\n", " if std.type(val) != 'number' then\n", " error 'Format required number at '\n", " + i + ', got ' + std.type(val)\n", " else\n", - " render_hex(val,\n", + " render_hex(std.floor(val),\n", " zp,\n", " iprec,\n", " cflags.blank,\n", - " cflags.sign,\n", + " cflags.plus,\n", " cflags.alt,\n", " code.caps)\n", " else if code.ctype == 'f' then\n", @@ -2825,7 +2997,7 @@ var p1 = &ast.Source{ " render_float_dec(val,\n", " zp,\n", " cflags.blank,\n", - " cflags.sign,\n", + " cflags.plus,\n", " cflags.alt,\n", " true,\n", " fpprec)\n", @@ -2837,7 +3009,7 @@ var p1 = &ast.Source{ " render_float_sci(val,\n", " zp,\n", " cflags.blank,\n", - " cflags.sign,\n", + " cflags.plus,\n", " cflags.alt,\n", " true,\n", " code.caps,\n", @@ -2852,7 +3024,7 @@ var p1 = &ast.Source{ " render_float_sci(val,\n", " zp,\n", " cflags.blank,\n", - " cflags.sign,\n", + " cflags.plus,\n", " cflags.alt,\n", " cflags.alt,\n", " code.caps,\n", @@ -2862,7 +3034,7 @@ var p1 = &ast.Source{ " render_float_dec(val,\n", " zp,\n", " cflags.blank,\n", - " cflags.sign,\n", + " cflags.plus,\n", " cflags.alt,\n", " cflags.alt,\n", " fpprec - digits_before_pt)\n", @@ -2916,7 +3088,7 @@ var p1 = &ast.Source{ " if j2 < std.length(arr) then\n", " arr[j2]\n", " else\n", - " error ('Not enough values to format: ' + std.length(arr) + ', expected at least ' + j2);\n", + " error ('Not enough values to format: ' + std.length(arr) + ', expected more than ' + j2);\n", " local s =\n", " if code.ctype == '%' then\n", " '%'\n", @@ -2975,9 +3147,9 @@ var p1 = &ast.Source{ " pad_left(s, fw, ' ');\n", " format_codes_obj(codes, obj, i + 1, v + s_padded) tailstrict;\n", "\n", - " if std.type(vals) == 'array' then\n", + " if std.isArray(vals) then\n", " format_codes_arr(codes, vals, 0, 0, '')\n", - " else if std.type(vals) == 'object' then\n", + " else if std.isObject(vals) then\n", " format_codes_obj(codes, vals, 0, '')\n", " else\n", " format_codes_arr(codes, [vals], 0, 0, ''),\n", @@ -3000,11 +3172,11 @@ var p1 = &ast.Source{ "\n", "\n", " filterMap(filter_func, map_func, arr)::\n", - " if std.type(filter_func) != 'function' then\n", + " if !std.isFunction(filter_func) then\n", " error ('std.filterMap first param must be function, got ' + std.type(filter_func))\n", - " else if std.type(map_func) != 'function' then\n", + " else if !std.isFunction(map_func) then\n", " error ('std.filterMap second param must be function, got ' + std.type(map_func))\n", - " else if std.type(arr) != 'array' then\n", + " else if !std.isArray(arr) then\n", " error ('std.filterMap third param must be array, got ' + std.type(arr))\n", " else\n", " std.map(map_func, std.filter(filter_func, arr)),\n", @@ -3016,13 +3188,13 @@ var p1 = &ast.Source{ " error 'Assertion failed. ' + a + ' != ' + b,\n", "\n", " abs(n)::\n", - " if std.type(n) != 'number' then\n", + " if !std.isNumber(n) then\n", " error 'std.abs expected number, got ' + std.type(n)\n", " else\n", " if n > 0 then n else -n,\n", "\n", " sign(n)::\n", - " if std.type(n) != 'number' then\n", + " if !std.isNumber(n) then\n", " error 'std.sign expected number, got ' + std.type(n)\n", " else\n", " if n > 0 then\n", @@ -3032,21 +3204,26 @@ var p1 = &ast.Source{ " else 0,\n", "\n", " max(a, b)::\n", - " if std.type(a) != 'number' then\n", + " if !std.isNumber(a) then\n", " error 'std.max first param expected number, got ' + std.type(a)\n", - " else if std.type(b) != 'number' then\n", + " else if !std.isNumber(b) then\n", " error 'std.max second param expected number, got ' + std.type(b)\n", " else\n", " if a > b then a else b,\n", "\n", " min(a, b)::\n", - " if std.type(a) != 'number' then\n", + " if !std.isNumber(a) then\n", " error 'std.max first param expected number, got ' + std.type(a)\n", - " else if std.type(b) != 'number' then\n", + " else if !std.isNumber(b) then\n", " error 'std.max second param expected number, got ' + std.type(b)\n", " else\n", " if a < b then a else b,\n", "\n", + " clamp(x, minVal, maxVal)::\n", + " if x < minVal then minVal\n", + " else if x > maxVal then maxVal\n", + " else x,\n", + "\n", " flattenArrays(arrs)::\n", " std.foldl(function(a, b) a + b, arrs, []),\n", "\n", @@ -3054,7 +3231,7 @@ var p1 = &ast.Source{ " local body_lines(body) =\n", " std.join([], [\n", " local value_or_values = body[k];\n", - " if std.type(value_or_values) == 'array' then\n", + " if std.isArray(value_or_values) then\n", " ['%s = %s' % [k, value] for value in value_or_values]\n", " else\n", " ['%s = %s' % [k, value_or_values]]\n", @@ -3126,13 +3303,13 @@ var p1 = &ast.Source{ " 'false'\n", " else if v == null then\n", " 'null'\n", - " else if std.type(v) == 'number' then\n", + " else if std.isNumber(v) then\n", " '' + v\n", - " else if std.type(v) == 'string' then\n", + " else if std.isString(v) then\n", " std.escapeStringJson(v)\n", - " else if std.type(v) == 'function' then\n", + " else if std.isFunction(v) then\n", " error 'Tried to manifest function at ' + path\n", - " else if std.type(v) == 'array' then\n", + " else if std.isArray(v) then\n", " local range = std.range(0, std.length(v) - 1);\n", " local new_indent = cindent + indent;\n", " local lines = ['[\\n']\n", @@ -3143,7 +3320,7 @@ var p1 = &ast.Source{ " ])\n", " + ['\\n' + cindent + ']'];\n", " std.join('', lines)\n", - " else if std.type(v) == 'object' then\n", + " else if std.isObject(v) then\n", " local lines = ['{\\n']\n", " + std.join([',\\n'],\n", " [\n", @@ -3163,9 +3340,9 @@ var p1 = &ast.Source{ " 'false'\n", " else if v == null then\n", " 'null'\n", - " else if std.type(v) == 'number' then\n", + " else if std.isNumber(v) then\n", " '' + v\n", - " else if std.type(v) == 'string' then\n", + " else if std.isString(v) then\n", " local len = std.length(v);\n", " if len == 0 then\n", " '\"\"'\n", @@ -3174,9 +3351,9 @@ var p1 = &ast.Source{ " std.join('\\n' + cindent + ' ', ['|'] + split[0:std.length(split) - 1])\n", " else\n", " std.escapeStringJson(v)\n", - " else if std.type(v) == 'function' then\n", + " else if std.isFunction(v) then\n", " error 'Tried to manifest function at ' + path\n", - " else if std.type(v) == 'array' then\n", + " else if std.isArray(v) then\n", " if std.length(v) == 0 then\n", " '[]'\n", " else\n", @@ -3208,7 +3385,7 @@ var p1 = &ast.Source{ " for param in [params(v[i])]\n", " ];\n", " std.join('\\n' + cindent, parts)\n", - " else if std.type(v) == 'object' then\n", + " else if std.isObject(v) then\n", " if std.length(v) == 0 then\n", " '{}'\n", " else\n", @@ -3239,7 +3416,7 @@ var p1 = &ast.Source{ " aux(value, [], ''),\n", "\n", " manifestYamlStream(value, indent_array_in_object=false, c_document_end=true)::\n", - " if std.type(value) != 'array' then\n", + " if !std.isArray(value) then\n", " error 'manifestYamlStream only takes arrays, got ' + std.type(value)\n", " else\n", " '---\\n' + std.join(\n", @@ -3247,26 +3424,26 @@ var p1 = &ast.Source{ " ) + if c_document_end then '\\n...\\n' else '\\n',\n", "\n", "\n", - " manifestPython(o)::\n", - " if std.type(o) == 'object' then\n", + " manifestPython(v)::\n", + " if std.isObject(v) then\n", " local fields = [\n", - " '%s: %s' % [std.escapeStringPython(k), std.manifestPython(o[k])]\n", - " for k in std.objectFields(o)\n", + " '%s: %s' % [std.escapeStringPython(k), std.manifestPython(v[k])]\n", + " for k in std.objectFields(v)\n", " ];\n", " '{%s}' % [std.join(', ', fields)]\n", - " else if std.type(o) == 'array' then\n", - " '[%s]' % [std.join(', ', [std.manifestPython(o2) for o2 in o])]\n", - " else if std.type(o) == 'string' then\n", - " '%s' % [std.escapeStringPython(o)]\n", - " else if std.type(o) == 'function' then\n", + " else if std.isArray(v) then\n", + " '[%s]' % [std.join(', ', [std.manifestPython(v2) for v2 in v])]\n", + " else if std.isString(v) then\n", + " '%s' % [std.escapeStringPython(v)]\n", + " else if std.isFunction(v) then\n", " error 'cannot manifest function'\n", - " else if std.type(o) == 'number' then\n", - " std.toString(o)\n", - " else if o == true then\n", + " else if std.isNumber(v) then\n", + " std.toString(v)\n", + " else if v == true then\n", " 'True'\n", - " else if o == false then\n", + " else if v == false then\n", " 'False'\n", - " else if o == null then\n", + " else if v == null then\n", " 'None',\n", "\n", " manifestPythonVars(conf)::\n", @@ -3282,7 +3459,7 @@ var p1 = &ast.Source{ " v\n", " else\n", " local tag = v[0];\n", - " local has_attrs = std.length(v) > 1 && std.type(v[1]) == 'object';\n", + " local has_attrs = std.length(v) > 1 && std.isObject(v[1]);\n", " local attrs = if has_attrs then v[1] else {};\n", " local children = if has_attrs then v[2:] else v[1:];\n", " local attrs_str =\n", @@ -3296,7 +3473,7 @@ var p1 = &ast.Source{ "\n", " base64(input)::\n", " local bytes =\n", - " if std.type(input) == 'string' then\n", + " if std.isString(input) then\n", " std.map(function(c) std.codepoint(c), input)\n", " else\n", " input;\n", @@ -3470,12 +3647,12 @@ var p1 = &ast.Source{ " aux(a, b, 0, 0, []) tailstrict,\n", "\n", " mergePatch(target, patch)::\n", - " if std.type(patch) == 'object' then\n", + " if std.isObject(patch) then\n", " local target_object =\n", - " if std.type(target) == 'object' then target else {};\n", + " if std.isObject(target) then target else {};\n", "\n", " local target_fields =\n", - " if std.type(target_object) == 'object' then std.objectFields(target_object) else [];\n", + " if std.isObject(target_object) then std.objectFields(target_object) else [];\n", "\n", " local null_fields = [k for k in std.objectFields(patch) if patch[k] == null];\n", " local both_fields = std.setUnion(target_fields, std.objectFields(patch));\n", @@ -3505,6 +3682,12 @@ var p1 = &ast.Source{ " objectHasAll(o, f)::\n", " std.objectHasEx(o, f, true),\n", "\n", + " objectValues(o)::\n", + " [o[k] for k in std.objectFields(o)],\n", + "\n", + " objectValuesAll(o)::\n", + " [o[k] for k in std.objectFieldsAll(o)],\n", + "\n", " equals(a, b)::\n", " local ta = std.type(a);\n", " local tb = std.type(b);\n", @@ -3548,19 +3731,17 @@ var p1 = &ast.Source{ "\n", " prune(a)::\n", " local isContent(b) =\n", - " local t = std.type(b);\n", " if b == null then\n", " false\n", - " else if t == 'array' then\n", + " else if std.isArray(b) then\n", " std.length(b) > 0\n", - " else if t == 'object' then\n", + " else if std.isObject(b) then\n", " std.length(b) > 0\n", " else\n", " true;\n", - " local t = std.type(a);\n", - " if t == 'array' then\n", + " if std.isArray(a) then\n", " [std.prune(x) for x in a if isContent($.prune(x))]\n", - " else if t == 'object' then {\n", + " else if std.isObject(a) then {\n", " [x]: $.prune(a[x])\n", " for x in std.objectFields(a)\n", " if isContent(std.prune(a[x]))\n", @@ -3568,9 +3749,9 @@ var p1 = &ast.Source{ " a,\n", "\n", " findSubstr(pat, str)::\n", - " if std.type(pat) != 'string' then\n", + " if !std.isString(pat) then\n", " error 'findSubstr first parameter should be a string, got ' + std.type(pat)\n", - " else if std.type(str) != 'string' then\n", + " else if !std.isString(str) then\n", " error 'findSubstr second parameter should be a string, got ' + std.type(str)\n", " else\n", " local pat_len = std.length(pat);\n", @@ -3581,13 +3762,48 @@ var p1 = &ast.Source{ " std.filter(function(i) str[i:i + pat_len] == pat, std.range(0, str_len - pat_len)),\n", "\n", " find(value, arr)::\n", - " if std.type(arr) != 'array' then\n", + " if !std.isArray(arr) then\n", " error 'find second parameter should be an array, got ' + std.type(arr)\n", " else\n", " std.filter(function(i) arr[i] == value, std.range(0, std.length(arr) - 1)),\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", + "\n", + " __compare_array(arr1, arr2)::\n", + " local len1 = std.length(arr1), len2 = std.length(arr2);\n", + " local minLen = std.min(len1, len2);\n", + " local aux(i) =\n", + " if i < minLen then\n", + " local cmpRes = std.__compare(arr1[i], arr2[i]);\n", + " if cmpRes != 0 then\n", + " cmpRes\n", + " else\n", + " aux(i + 1) tailstrict\n", + " else\n", + " std.__compare(len1, len2);\n", + " aux(0),\n", + "\n", + " __array_less(arr1, arr2):: std.__compare_array(arr1, arr2) == -1,\n", + " __array_greater(arr1, arr2):: std.__compare_array(arr1, arr2) == 1,\n", + " __array_less_or_equal(arr1, arr2):: std.__compare_array(arr1, arr2) <= 0,\n", + " __array_greater_or_equal(arr1, arr2):: std.__compare_array(arr1, arr2) >= 0,\n", + "\n", "}\n", "\n", }, + DiagnosticFileName: "", } // StdAst is the AST for the standard library. @@ -3595,18 +3811,61 @@ var StdAst = _StdAst var _StdAst = &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(23), Column: int(1), }, End: ast.Location{ - Line: int(1359), + Line: int(1422), Column: int(2), }, File: p1, }, - Ctx: p3, + 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: nil, }, Asserts: ast.Nodes{}, @@ -3627,12 +3886,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "isString", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -3648,22 +3909,40 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(28), Column: int(17), @@ -3674,7 +3953,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p12, + Fodder: ast.Fodder{}, + Ctx: p15, FreeVars: ast.Identifiers{ "std", "v", @@ -3683,7 +3963,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(28), Column: int(17), @@ -3694,7 +3974,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p12, + Fodder: ast.Fodder{}, + Ctx: p15, FreeVars: ast.Identifiers{ "std", "v", @@ -3703,7 +3984,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(28), Column: int(17), @@ -3714,7 +3995,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p12, + Fodder: ast.Fodder{}, + Ctx: p15, FreeVars: ast.Identifiers{ "std", }, @@ -3722,7 +4004,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(28), Column: int(17), @@ -3733,6 +4015,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -3740,6 +4023,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -3754,49 +4038,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(28), - Column: int(27), + Fodder: ast.Fodder{}, + Ctx: p26, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p23, - FreeVars: ast.Identifiers{ - "v", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ Line: int(28), Column: int(32), @@ -3807,16 +4102,30 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p12, + Fodder: ast.Fodder{}, + Ctx: p15, FreeVars: nil, }, Value: "string", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(28), + Column: int(3), + }, + End: ast.Location{ + Line: int(28), + Column: int(40), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -3834,12 +4143,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "isNumber", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -3855,22 +4166,40 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(29), Column: int(17), @@ -3881,7 +4210,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p31, + Fodder: ast.Fodder{}, + Ctx: p34, FreeVars: ast.Identifiers{ "std", "v", @@ -3890,7 +4220,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(29), Column: int(17), @@ -3901,7 +4231,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p31, + Fodder: ast.Fodder{}, + Ctx: p34, FreeVars: ast.Identifiers{ "std", "v", @@ -3910,7 +4241,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(29), Column: int(17), @@ -3921,7 +4252,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p31, + Fodder: ast.Fodder{}, + Ctx: p34, FreeVars: ast.Identifiers{ "std", }, @@ -3929,7 +4261,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(29), Column: int(17), @@ -3940,6 +4272,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -3947,6 +4280,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -3961,49 +4295,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(29), - Column: int(27), + Fodder: ast.Fodder{}, + Ctx: p45, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p42, - FreeVars: ast.Identifiers{ - "v", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ Line: int(29), Column: int(32), @@ -4014,16 +4359,30 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p31, + Fodder: ast.Fodder{}, + Ctx: p34, FreeVars: nil, }, Value: "number", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(29), + Column: int(3), + }, + End: ast.Location{ + Line: int(29), + Column: int(40), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -4041,12 +4400,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "isBoolean", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -4062,22 +4423,40 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(30), Column: int(18), @@ -4088,7 +4467,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p50, + Fodder: ast.Fodder{}, + Ctx: p53, FreeVars: ast.Identifiers{ "std", "v", @@ -4097,7 +4477,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(30), Column: int(18), @@ -4108,7 +4488,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p50, + Fodder: ast.Fodder{}, + Ctx: p53, FreeVars: ast.Identifiers{ "std", "v", @@ -4117,7 +4498,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(30), Column: int(18), @@ -4128,7 +4509,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p50, + Fodder: ast.Fodder{}, + Ctx: p53, FreeVars: ast.Identifiers{ "std", }, @@ -4136,7 +4518,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(30), Column: int(18), @@ -4147,6 +4529,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -4154,6 +4537,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -4168,49 +4552,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(27), + 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, }, - End: ast.Location{ - Line: int(30), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p64, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p61, - FreeVars: ast.Identifiers{ - "v", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ Line: int(30), Column: int(33), @@ -4221,16 +4616,30 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p50, + Fodder: ast.Fodder{}, + Ctx: p53, FreeVars: nil, }, Value: "boolean", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(30), + Column: int(3), + }, + End: ast.Location{ + Line: int(30), + Column: int(42), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -4248,12 +4657,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "isObject", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -4269,22 +4680,40 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(31), Column: int(17), @@ -4295,7 +4724,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p69, + Fodder: ast.Fodder{}, + Ctx: p72, FreeVars: ast.Identifiers{ "std", "v", @@ -4304,7 +4734,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(31), Column: int(17), @@ -4315,7 +4745,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p69, + Fodder: ast.Fodder{}, + Ctx: p72, FreeVars: ast.Identifiers{ "std", "v", @@ -4324,7 +4755,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(31), Column: int(17), @@ -4335,7 +4766,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p69, + Fodder: ast.Fodder{}, + Ctx: p72, FreeVars: ast.Identifiers{ "std", }, @@ -4343,7 +4775,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(31), Column: int(17), @@ -4354,6 +4786,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -4361,6 +4794,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -4375,49 +4809,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(31), - Column: int(27), + Fodder: ast.Fodder{}, + Ctx: p83, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p80, - FreeVars: ast.Identifiers{ - "v", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ Line: int(31), Column: int(32), @@ -4428,16 +4873,30 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p69, + Fodder: ast.Fodder{}, + Ctx: p72, FreeVars: nil, }, Value: "object", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(31), + Column: int(3), + }, + End: ast.Location{ + Line: int(31), + Column: int(40), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -4455,12 +4914,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "isArray", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -4476,22 +4937,40 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(32), Column: int(16), @@ -4502,7 +4981,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p88, + Fodder: ast.Fodder{}, + Ctx: p91, FreeVars: ast.Identifiers{ "std", "v", @@ -4511,7 +4991,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(32), Column: int(16), @@ -4522,7 +5002,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p88, + Fodder: ast.Fodder{}, + Ctx: p91, FreeVars: ast.Identifiers{ "std", "v", @@ -4531,7 +5012,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(32), Column: int(16), @@ -4542,7 +5023,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p88, + Fodder: ast.Fodder{}, + Ctx: p91, FreeVars: ast.Identifiers{ "std", }, @@ -4550,7 +5032,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(32), Column: int(16), @@ -4561,6 +5043,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -4568,6 +5051,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -4582,49 +5066,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(25), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(32), + Column: int(25), + }, + End: ast.Location{ + Line: int(32), + Column: int(26), + }, + File: p1, }, - End: ast.Location{ - Line: int(32), - Column: int(26), + Fodder: ast.Fodder{}, + Ctx: p102, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p99, - FreeVars: ast.Identifiers{ - "v", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ Line: int(32), Column: int(31), @@ -4635,16 +5130,30 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p88, + Fodder: ast.Fodder{}, + Ctx: p91, FreeVars: nil, }, Value: "array", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(32), + Column: int(3), + }, + End: ast.Location{ + Line: int(32), + Column: int(38), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -4662,12 +5171,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "isFunction", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -4683,22 +5194,40 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(33), Column: int(19), @@ -4709,7 +5238,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p107, + Fodder: ast.Fodder{}, + Ctx: p110, FreeVars: ast.Identifiers{ "std", "v", @@ -4718,7 +5248,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(33), Column: int(19), @@ -4729,7 +5259,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p107, + Fodder: ast.Fodder{}, + Ctx: p110, FreeVars: ast.Identifiers{ "std", "v", @@ -4738,7 +5269,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(33), Column: int(19), @@ -4749,7 +5280,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p107, + Fodder: ast.Fodder{}, + Ctx: p110, FreeVars: ast.Identifiers{ "std", }, @@ -4757,7 +5289,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(33), Column: int(19), @@ -4768,6 +5300,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -4775,6 +5308,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -4789,49 +5323,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(28), + 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, }, - End: ast.Location{ - Line: int(33), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p121, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p118, - FreeVars: ast.Identifiers{ - "v", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ Line: int(33), Column: int(34), @@ -4842,16 +5387,30 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p107, + Fodder: ast.Fodder{}, + Ctx: p110, FreeVars: nil, }, Value: "function", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(33), + Column: int(3), + }, + End: ast.Location{ + Line: int(33), + Column: int(44), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -4869,12 +5428,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "toString", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -4890,22 +5451,40 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(5), @@ -4916,7 +5495,15 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p130, FreeVars: ast.Identifiers{ "a", "std", @@ -4925,7 +5512,7 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(8), @@ -4936,7 +5523,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: ast.Identifiers{ "a", "std", @@ -4945,7 +5533,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(8), @@ -4956,7 +5544,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: ast.Identifiers{ "a", "std", @@ -4965,7 +5554,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(8), @@ -4976,7 +5565,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: ast.Identifiers{ "std", }, @@ -4984,7 +5574,7 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(8), @@ -4995,6 +5585,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -5002,6 +5593,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -5016,49 +5608,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(17), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(36), + Column: int(17), + }, + End: ast.Location{ + Line: int(36), + Column: int(18), + }, + File: p1, }, - End: ast.Location{ - Line: int(36), - Column: int(18), + Fodder: ast.Fodder{}, + Ctx: p143, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p139, - FreeVars: ast.Identifiers{ - "a", }, + Id: "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{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(23), @@ -5069,18 +5672,21 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: nil, }, Value: "string", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(37), @@ -5091,17 +5697,19 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: ast.Identifiers{ "a", }, }, Id: "a", }, + ElseFodder: ast.Fodder{}, BranchFalse: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(44), @@ -5112,7 +5720,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: ast.Identifiers{ "a", }, @@ -5120,7 +5729,7 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(44), @@ -5131,18 +5740,21 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: nil, }, Value: "", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(36), Column: int(49), @@ -5153,7 +5765,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p126, + Fodder: ast.Fodder{}, + Ctx: p130, FreeVars: ast.Identifiers{ "a", }, @@ -5164,6 +5777,18 @@ var _StdAst = &ast.DesugaredObject{ }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(35), + Column: int(3), + }, + End: ast.Location{ + Line: int(36), + Column: int(50), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -5181,12 +5806,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "substr", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -5202,35 +5829,90 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "from", - "len", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(39), - Column: int(5), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(48), - Column: int(111), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p154, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "from", "len", @@ -5238,61 +5920,193 @@ var _StdAst = &ast.DesugaredObject{ "str", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(39), - Column: int(8), + Column: int(12), }, End: ast.Location{ Line: int(39), - Column: int(33), + Column: int(29), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "std", "str", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(39), - Column: int(8), + Column: int(12), }, End: ast.Location{ Line: int(39), - Column: int(21), + Column: int(24), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(39), - Column: int(8), + Column: int(12), }, End: ast.Location{ Line: int(39), - Column: int(16), + Column: int(15), }, File: p1, }, - Ctx: p154, + 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: nil, + }, + 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(39), + Column: int(25), + }, + End: ast.Location{ + Line: int(39), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p169, + 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, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p160, + FreeVars: ast.Identifiers{ + "from", + "std", + }, + }, + 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: p160, FreeVars: ast.Identifiers{ "std", }, @@ -5300,17 +6114,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(39), - Column: int(8), + Line: int(40), + Column: int(12), }, End: ast.Location{ - Line: int(39), - Column: int(11), + Line: int(40), + Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -5318,6 +6133,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -5332,320 +6148,115 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isNumber", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(17), - }, - End: ast.Location{ - Line: int(39), - Column: int(20), - }, - File: p1, - }, - Ctx: p167, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(25), - }, - End: ast.Location{ - Line: int(39), - Column: int(33), - }, - File: p1, - }, - Ctx: p154, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(7), - }, - End: ast.Location{ - Line: int(40), - Column: int(78), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(13), - }, - End: ast.Location{ - Line: int(40), - Column: int(78), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(13), - }, - End: ast.Location{ - Line: int(40), - Column: int(62), - }, - File: p1, - }, - Ctx: p154, - FreeVars: nil, - }, - Value: "substr first parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(65), - }, - End: ast.Location{ - Line: int(40), - Column: int(78), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(65), - }, - End: ast.Location{ - Line: int(40), - Column: int(73), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(65), - }, - End: ast.Location{ - Line: int(40), - Column: int(68), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(40), - Column: int(74), + Column: int(25), }, End: ast.Location{ Line: int(40), - Column: int(77), + Column: int(29), }, File: p1, }, - Ctx: p184, + Fodder: ast.Fodder{}, + Ctx: p182, FreeVars: ast.Identifiers{ - "str", + "from", }, }, - Id: "str", + Id: "from", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(10), }, - End: ast.Location{ - Line: int(48), - Column: int(111), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Cond: &ast.Binary{ + ThenFodder: nil, + BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(41), - Column: int(13), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(41), - Column: int(39), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p154, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "from", + "len", "std", + "str", }, }, - Left: &ast.Apply{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(41), - Column: int(13), + Column: int(12), }, End: ast.Location{ Line: int(41), - Column: int(27), + Column: int(29), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ - "from", + "len", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(41), - Column: int(13), + Column: int(12), }, End: ast.Location{ Line: int(41), - Column: int(21), + Column: int(24), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "std", }, @@ -5653,17 +6264,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(41), - Column: int(13), + Column: int(12), }, End: ast.Location{ Line: int(41), - Column: int(16), + Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -5671,6 +6283,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -5685,611 +6298,71 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isNumber", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(22), - }, - End: ast.Location{ - Line: int(41), - Column: int(26), - }, - File: p1, - }, - Ctx: p199, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Id: "from", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(31), - }, - End: ast.Location{ - Line: int(41), - Column: int(39), - }, - File: p1, - }, - Ctx: p154, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(7), - }, - End: ast.Location{ - Line: int(42), - Column: int(80), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(13), - }, - End: ast.Location{ - Line: int(42), - Column: int(80), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(13), - }, - End: ast.Location{ - Line: int(42), - Column: int(63), - }, - File: p1, - }, - Ctx: p154, - FreeVars: nil, - }, - Value: "substr second parameter should be a number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(66), - }, - End: ast.Location{ - Line: int(42), - Column: int(80), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(66), - }, - End: ast.Location{ - Line: int(42), - Column: int(74), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(66), - }, - End: ast.Location{ - Line: int(42), - Column: int(69), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(75), - }, - End: ast.Location{ - Line: int(42), - Column: int(79), - }, - File: p1, - }, - Ctx: p216, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Id: "from", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(10), - }, - End: ast.Location{ - Line: int(48), - Column: int(111), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(13), - }, - End: ast.Location{ - Line: int(43), - Column: int(38), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(13), - }, - End: ast.Location{ - Line: int(43), - Column: int(26), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(13), - }, - End: ast.Location{ - Line: int(43), - Column: int(21), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(13), - }, - End: ast.Location{ - Line: int(43), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(43), - Column: int(22), + Line: int(41), + Column: int(25), }, End: ast.Location{ - Line: int(43), - Column: int(25), + Line: int(41), + Column: int(28), }, File: p1, }, - Ctx: p231, + Fodder: ast.Fodder{}, + Ctx: p195, FreeVars: ast.Identifiers{ "len", }, }, Id: "len", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(30), - }, - End: ast.Location{ - Line: int(43), - Column: int(38), - }, - File: p1, - }, - Ctx: p154, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(44), - Column: int(7), - }, - End: ast.Location{ - Line: int(44), - Column: int(78), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(44), - Column: int(13), - }, - End: ast.Location{ - Line: int(44), - Column: int(78), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(44), - Column: int(13), - }, - End: ast.Location{ - Line: int(44), - Column: int(62), - }, - File: p1, - }, - Ctx: p154, - FreeVars: nil, - }, - Value: "substr third parameter should be a number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(44), - Column: int(65), - }, - End: ast.Location{ - Line: int(44), - Column: int(78), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(44), - Column: int(65), - }, - End: ast.Location{ - Line: int(44), - Column: int(73), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(44), - Column: int(65), - }, - End: ast.Location{ - Line: int(44), - Column: int(68), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(44), - Column: int(74), - }, - End: ast.Location{ - Line: int(44), - Column: int(77), - }, - File: p1, - }, - Ctx: p248, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Conditional{ + ThenFodder: nil, + BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(45), - Column: int(10), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(48), - Column: int(111), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p154, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "from", "len", @@ -6300,18 +6373,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(45), - Column: int(13), + Line: int(42), + Column: int(12), }, End: ast.Location{ - Line: int(45), + Line: int(42), Column: int(20), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "len", }, @@ -6319,144 +6393,65 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(45), - Column: int(13), + Line: int(42), + Column: int(12), }, End: ast.Location{ - Line: int(45), - Column: int(16), + Line: int(42), + Column: int(15), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "len", }, }, Id: "len", }, - Op: ast.BinaryOp(9), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(45), + Line: int(42), Column: int(19), }, End: ast.Location{ - Line: int(45), + Line: int(42), Column: int(20), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(7), - }, - End: ast.Location{ - Line: int(46), - Column: int(77), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(13), - }, - End: ast.Location{ - Line: int(46), - Column: int(77), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(13), - }, - End: ast.Location{ - Line: int(46), - Column: int(71), - }, - File: p1, - }, - Ctx: p154, - FreeVars: nil, - }, - Value: "substr third parameter should be greater than zero, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(74), - }, - End: ast.Location{ - Line: int(46), - Column: int(77), - }, - File: p1, - }, - Ctx: p154, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - }, - }, - BranchFalse: &ast.Apply{ + ThenFodder: nil, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(7), + Line: int(43), + Column: int(5), }, End: ast.Location{ - Line: int(48), - Column: int(111), + Line: int(43), + Column: int(109), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "from", "len", @@ -6467,18 +6462,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(7), + Line: int(43), + Column: int(5), }, End: ast.Location{ - Line: int(48), - Column: int(15), + Line: int(43), + Column: int(13), }, File: p1, }, - Ctx: p154, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "std", }, @@ -6486,17 +6482,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(7), + Line: int(43), + Column: int(5), }, End: ast.Location{ - Line: int(48), - Column: int(10), + 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", @@ -6504,6 +6508,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -6518,1183 +6523,958 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "join", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(16), - }, - End: ast.Location{ - Line: int(48), - Column: int(18), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(14), + }, + End: ast.Location{ + Line: int(43), + Column: int(16), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p214, + FreeVars: nil, }, - Ctx: p273, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(20), - }, - End: ast.Location{ - Line: int(48), - Column: int(110), - }, - File: p1, - }, - Ctx: p273, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(20), + Line: int(43), + Column: int(18), }, End: ast.Location{ - Line: int(48), - Column: int(33), + Line: int(43), + Column: int(108), }, File: p1, }, - Ctx: p273, + Fodder: ast.Fodder{}, + Ctx: p214, FreeVars: ast.Identifiers{ + "from", + "len", "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(20), + Line: int(43), + Column: int(18), }, End: ast.Location{ - Line: int(48), - Column: int(23), + Line: int(43), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p214, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(34), + Line: int(43), + Column: int(18), }, End: ast.Location{ - Line: int(48), - Column: int(82), + Line: int(43), + Column: int(21), }, File: p1, }, - Ctx: p283, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "from", - "len", "std", - "str", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(34), - }, - End: ast.Location{ - Line: int(48), - Column: int(41), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p283, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(34), + Line: int(43), + Column: int(32), }, End: ast.Location{ - Line: int(48), - Column: int(37), + Line: int(43), + Column: int(80), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p224, FreeVars: ast.Identifiers{ + "from", + "len", "std", + "str", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(42), + Line: int(43), + Column: int(32), }, End: ast.Location{ - Line: int(48), - Column: int(43), + Line: int(43), + Column: int(39), }, File: p1, }, - Ctx: p292, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p224, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(45), - }, - End: ast.Location{ - Line: int(48), - Column: int(81), - }, - File: p1, - }, - Ctx: p292, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(45), + Line: int(43), + Column: int(32), }, End: ast.Location{ - Line: int(48), - Column: int(52), + Line: int(43), + Column: int(35), }, File: p1, }, - Ctx: p292, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(45), - }, - End: ast.Location{ - Line: int(48), - Column: int(48), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "min", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "max", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(53), + Line: int(43), + Column: int(40), }, End: ast.Location{ - Line: int(48), - Column: int(56), + Line: int(43), + Column: int(41), }, File: p1, }, - Ctx: p302, - FreeVars: ast.Identifiers{ - "len", - }, + Fodder: ast.Fodder{}, + Ctx: p233, + FreeVars: nil, }, - Id: "len", + OriginalString: "0", }, - &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(58), + Line: int(43), + Column: int(43), }, End: ast.Location{ - Line: int(48), - Column: int(80), + Line: int(43), + Column: int(79), }, File: p1, }, - Ctx: p302, + Fodder: ast.Fodder{}, + Ctx: p233, FreeVars: ast.Identifiers{ "from", + "len", "std", "str", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(58), + Line: int(43), + Column: int(43), }, End: ast.Location{ - Line: int(48), - Column: int(73), + Line: int(43), + Column: int(50), }, File: p1, }, - Ctx: p302, + Fodder: ast.Fodder{}, + Ctx: p233, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(58), + Line: int(43), + Column: int(43), }, End: ast.Location{ - Line: int(48), - Column: int(68), + Line: int(43), + Column: int(46), }, File: p1, }, - Ctx: p302, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(58), - }, - End: ast.Location{ - Line: int(48), - Column: int(61), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Value: "min", + 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(51), + }, + End: ast.Location{ + Line: int(43), + Column: int(54), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p243, + FreeVars: ast.Identifiers{ + "len", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "len", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(69), + Line: int(43), + Column: int(56), }, End: ast.Location{ - Line: int(48), - Column: int(72), + Line: int(43), + Column: int(78), }, File: p1, }, - Ctx: p315, + Fodder: ast.Fodder{}, + Ctx: p243, FreeVars: ast.Identifiers{ + "from", + "std", "str", }, }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(76), - }, - End: ast.Location{ - Line: int(48), - Column: int(80), + 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: p243, + 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: p243, + 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: nil, + }, + 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: p256, + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(74), + }, + End: ast.Location{ + Line: int(43), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p243, + FreeVars: ast.Identifiers{ + "from", + }, + }, + Id: "from", + }, }, - File: p1, - }, - Ctx: p302, - FreeVars: ast.Identifiers{ - "from", + CommaFodder: nil, }, }, - Id: "from", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(84), - }, - End: ast.Location{ - Line: int(48), - Column: int(109), + Named: nil, }, - File: p1, - }, - Ctx: p283, - FreeVars: ast.Identifiers{ - "from", - "str", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Optional: nil, + CommaFodder: ast.Fodder{}, }, - TrailingComma: false, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(96), - }, - End: ast.Location{ - Line: int(48), - Column: int(109), - }, - File: p1, - }, - Ctx: p323, - FreeVars: ast.Identifiers{ - "from", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(48), - Column: int(96), - }, - End: ast.Location{ - Line: int(48), - Column: int(99), - }, - File: p1, - }, - Ctx: p323, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Binary{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(100), + Line: int(43), + Column: int(82), }, End: ast.Location{ - Line: int(48), - Column: int(108), + Line: int(43), + Column: int(107), }, File: p1, }, - Ctx: p323, + Fodder: ast.Fodder{}, + Ctx: p224, FreeVars: ast.Identifiers{ "from", - "i", + "str", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(100), + Line: int(43), + Column: int(91), }, End: ast.Location{ - Line: int(48), - Column: int(101), + Line: int(43), + Column: int(92), }, File: p1, }, - Ctx: p323, - FreeVars: ast.Identifiers{ - "i", - }, }, - Id: "i", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(48), - Column: int(104), + Line: int(43), + Column: int(94), }, End: ast.Location{ - Line: int(48), - Column: int(108), + Line: int(43), + Column: int(107), }, File: p1, }, - Ctx: p323, + Fodder: ast.Fodder{}, + Ctx: p264, FreeVars: ast.Identifiers{ "from", + "i", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(43), + Column: int(94), + }, + End: ast.Location{ + Line: int(43), + Column: int(97), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p264, + 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: p264, + 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: p264, + 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(43), + Column: int(102), + }, + End: ast.Location{ + Line: int(43), + Column: int(106), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p264, + FreeVars: ast.Identifiers{ + "from", + }, + }, + Id: "from", }, }, - Id: "from", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, }, - Id: nil, + CommaFodder: nil, }, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "startsWith", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(5), - }, - End: ast.Location{ - Line: int(54), - Column: int(43), - }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(8), - }, - End: ast.Location{ - Line: int(51), - Column: int(37), - }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(8), - }, - End: ast.Location{ - Line: int(51), - Column: int(21), - }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(8), - }, - End: ast.Location{ - Line: int(51), - Column: int(18), - }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(51), - Column: int(8), + Line: int(42), + Column: int(5), }, End: ast.Location{ - Line: int(51), - Column: int(11), + Line: int(43), + Column: int(109), }, File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "len", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(51), - Column: int(19), + Line: int(42), + Column: int(23), }, End: ast.Location{ - Line: int(51), - Column: int(20), + Line: int(42), + Column: int(87), }, File: p1, }, - Ctx: p351, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(24), - }, - End: ast.Location{ - Line: int(51), - Column: int(37), - }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(24), - }, - End: ast.Location{ - Line: int(51), - Column: int(34), - }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(24), - }, - End: ast.Location{ - Line: int(51), - Column: int(27), + "len", }, - File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p160, + FreeVars: nil, }, - File: nil, + Value: "substr third parameter should be greater than zero, got ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(35), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(42), + Column: int(84), + }, + End: ast.Location{ + Line: int(42), + Column: int(87), + }, + File: p1, }, - End: ast.Location{ - Line: int(51), - Column: int(36), + Fodder: ast.Fodder{}, + Ctx: p160, + FreeVars: ast.Identifiers{ + "len", }, - File: p1, - }, - Ctx: p362, - FreeVars: ast.Identifiers{ - "b", }, + Id: "len", }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(7), - }, - End: ast.Location{ - Line: int(52), - Column: int(12), - }, - File: p1, - }, - Ctx: p338, - FreeVars: nil, - }, - Value: false, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(54), - Column: int(7), - }, - End: ast.Location{ - Line: int(54), - Column: int(43), - }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(54), - Column: int(7), - }, - End: ast.Location{ - Line: int(54), - Column: int(38), }, - File: p1, - }, - Ctx: p338, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", }, }, - Target: &ast.Index{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(54), - Column: int(7), + Line: int(41), + Column: int(5), }, End: ast.Location{ - Line: int(54), - Column: int(17), + Line: int(43), + Column: int(109), }, File: p1, }, - Ctx: p338, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "len", "std", }, }, - Target: &ast.Var{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(54), - Column: int(7), + Line: int(41), + Column: int(32), }, End: ast.Location{ - Line: int(54), - Column: int(10), + Line: int(41), + Column: int(97), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ + "len", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(54), - Column: int(18), - }, - End: ast.Location{ - Line: int(54), - Column: int(19), - }, - File: p1, - }, - Ctx: p376, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.LiteralNumber{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(54), - Column: int(21), + Line: int(41), + Column: int(32), }, End: ast.Location{ - Line: int(54), - Column: int(22), + Line: int(41), + Column: int(81), }, File: p1, }, - Ctx: p376, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + Value: "substr third parameter should be a string, got ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(54), - Column: int(24), + Line: int(41), + Column: int(84), }, End: ast.Location{ - Line: int(54), - Column: int(37), + Line: int(41), + Column: int(97), }, File: p1, }, - Ctx: p376, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ - "b", + "len", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(54), - Column: int(24), + Line: int(41), + Column: int(84), }, End: ast.Location{ - Line: int(54), - Column: int(34), + Line: int(41), + Column: int(92), }, File: p1, }, - Ctx: p376, + Fodder: ast.Fodder{}, + Ctx: p160, FreeVars: ast.Identifiers{ "std", }, @@ -7702,17 +7482,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(54), - Column: int(24), + Line: int(41), + Column: int(84), }, End: ast.Location{ - Line: int(54), - Column: int(27), + Line: int(41), + Column: int(87), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -7720,6 +7501,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -7734,163 +7516,599 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "length", + Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(54), - Column: int(35), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(41), + Column: int(93), + }, + End: ast.Location{ + Line: int(41), + Column: int(96), + }, + File: p1, }, - End: ast.Location{ - Line: int(54), - Column: int(36), + Fodder: ast.Fodder{}, + Ctx: p295, + FreeVars: ast.Identifiers{ + "len", }, - File: p1, - }, - Ctx: p388, - FreeVars: ast.Identifiers{ - "b", }, + Id: "len", }, - Id: "b", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(12), - Right: &ast.Var{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(54), - Column: int(42), + Line: int(40), + Column: int(5), }, End: ast.Location{ - Line: int(54), - Column: int(43), + Line: int(43), + Column: int(109), }, File: p1, }, - Ctx: p338, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "endsWith", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(5), - }, - End: ast.Location{ - Line: int(60), - Column: int(71), - }, - File: p1, - }, - Ctx: p397, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(8), - }, - End: ast.Location{ - Line: int(57), - Column: int(37), + "from", + "std", }, - File: p1, }, - Ctx: p397, + 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: p160, + 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: p160, + FreeVars: nil, + }, + 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: p160, + 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: p160, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(40), + Column: int(86), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(40), + Column: int(95), + }, + End: ast.Location{ + Line: int(40), + Column: int(99), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p311, + FreeVars: ast.Identifiers{ + "from", + }, + }, + Id: "from", + }, + 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(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: p160, + 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: p160, + FreeVars: nil, + }, + 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: p160, + 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: p160, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(39), + Column: int(84), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(39), + Column: int(93), + }, + End: ast.Location{ + Line: int(39), + Column: int(96), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p327, + 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(38), + Column: int(3), + }, + End: ast.Location{ + Line: int(43), + Column: int(109), + }, + 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: nil, + }, + Value: "startsWith", + 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: p11, + 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(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: p335, + 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: p335, FreeVars: ast.Identifiers{ "a", "b", @@ -7900,18 +8118,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(57), + Line: int(46), Column: int(8), }, End: ast.Location{ - Line: int(57), + Line: int(46), Column: int(21), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "a", "std", @@ -7920,18 +8139,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(57), + Line: int(46), Column: int(8), }, End: ast.Location{ - Line: int(57), + Line: int(46), Column: int(18), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "std", }, @@ -7939,17 +8159,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(57), + Line: int(46), Column: int(8), }, End: ast.Location{ - Line: int(57), + Line: int(46), Column: int(11), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -7957,6 +8178,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -7971,60 +8193,72 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(19), + 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, }, - End: ast.Location{ - Line: int(57), - Column: int(20), + Fodder: ast.Fodder{}, + Ctx: p348, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p410, - FreeVars: ast.Identifiers{ - "a", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(57), + Line: int(46), Column: int(24), }, End: ast.Location{ - Line: int(57), + Line: int(46), Column: int(37), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "b", "std", @@ -8033,18 +8267,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(57), + Line: int(46), Column: int(24), }, End: ast.Location{ - Line: int(57), + Line: int(46), Column: int(34), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "std", }, @@ -8052,17 +8287,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(57), + Line: int(46), Column: int(24), }, End: ast.Location{ - Line: int(57), + Line: int(46), Column: int(27), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -8070,6 +8306,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -8084,79 +8321,107 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(35), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(46), + Column: int(35), + }, + End: ast.Location{ + Line: int(46), + Column: int(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(57), - Column: int(36), + Fodder: ast.Fodder{}, + Ctx: p359, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p421, - FreeVars: ast.Identifiers{ - "b", }, + Id: "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{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(58), + Line: int(47), Column: int(7), }, End: ast.Location{ - Line: int(58), + Line: int(47), Column: int(12), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p335, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(60), + Line: int(49), Column: int(7), }, End: ast.Location{ - Line: int(60), - Column: int(71), + Line: int(49), + Column: int(43), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "a", "b", @@ -8166,18 +8431,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(60), + Line: int(49), Column: int(7), }, End: ast.Location{ - Line: int(60), - Column: int(66), + Line: int(49), + Column: int(38), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "a", "b", @@ -8187,18 +8453,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(60), + Line: int(49), Column: int(7), }, End: ast.Location{ - Line: int(60), + Line: int(49), Column: int(17), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "std", }, @@ -8206,17 +8473,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(60), + Line: int(49), Column: int(7), }, End: ast.Location{ - Line: int(60), + 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", @@ -8224,6 +8499,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -8238,187 +8514,86 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "substr", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(18), - }, - End: ast.Location{ - Line: int(60), - Column: int(19), - }, - File: p1, - }, - Ctx: p435, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(21), - }, - End: ast.Location{ - Line: int(60), - Column: int(50), - }, - File: p1, - }, - Ctx: p435, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Apply{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(60), - Column: int(21), + Line: int(49), + Column: int(18), }, End: ast.Location{ - Line: int(60), - Column: int(34), + Line: int(49), + Column: int(19), }, File: p1, }, - Ctx: p435, + Fodder: ast.Fodder{}, + Ctx: p376, FreeVars: ast.Identifiers{ "a", - "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(21), - }, - End: ast.Location{ - Line: int(60), - Column: int(31), - }, - File: p1, - }, - Ctx: p435, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(21), - }, - End: ast.Location{ - Line: int(60), - Column: int(24), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + 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), }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(32), - }, - End: ast.Location{ - Line: int(60), - Column: int(33), - }, - File: p1, - }, - Ctx: p448, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", + End: ast.Location{ + Line: int(49), + Column: int(22), }, + File: p1, }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p376, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + OriginalString: "0", }, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(60), - Column: int(37), + Line: int(49), + Column: int(24), }, End: ast.Location{ - Line: int(60), - Column: int(50), + Line: int(49), + Column: int(37), }, File: p1, }, - Ctx: p435, + Fodder: ast.Fodder{}, + Ctx: p376, FreeVars: ast.Identifiers{ "b", "std", @@ -8427,18 +8602,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(60), - Column: int(37), + Line: int(49), + Column: int(24), }, End: ast.Location{ - Line: int(60), - Column: int(47), + Line: int(49), + Column: int(34), }, File: p1, }, - Ctx: p435, + Fodder: ast.Fodder{}, + Ctx: p376, FreeVars: ast.Identifiers{ "std", }, @@ -8446,17 +8622,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(60), - Column: int(37), + Line: int(49), + Column: int(24), }, End: ast.Location{ - Line: int(60), - Column: int(40), + Line: int(49), + Column: int(27), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -8464,6 +8641,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -8478,179 +8656,82 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(48), + 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, }, - End: ast.Location{ - Line: int(60), - Column: int(49), + Fodder: ast.Fodder{}, + Ctx: p388, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p459, - FreeVars: ast.Identifiers{ - "b", }, + Id: "b", }, - Id: "b", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(52), - }, - End: ast.Location{ - Line: int(60), - Column: int(65), - }, - File: p1, - }, - Ctx: p435, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(52), - }, - End: ast.Location{ - Line: int(60), - Column: int(62), - }, - File: p1, - }, - Ctx: p435, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(52), - }, - End: ast.Location{ - Line: int(60), - Column: int(55), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(60), - Column: int(63), - }, - End: ast.Location{ - Line: int(60), - Column: int(64), - }, - File: p1, - }, - Ctx: p470, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(60), - Column: int(70), + Line: int(49), + Column: int(42), }, End: ast.Location{ - Line: int(60), - Column: int(71), + Line: int(49), + Column: int(43), }, File: p1, }, - Ctx: p397, + Fodder: ast.Fodder{}, + Ctx: p335, FreeVars: ast.Identifiers{ "b", }, @@ -8661,6 +8742,18 @@ var _StdAst = &ast.DesugaredObject{ }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(45), + Column: int(3), + }, + End: ast.Location{ + Line: int(49), + Column: int(43), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -8678,12 +8771,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "stringChars", + Value: "endsWith", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -8699,967 +8794,715 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", + 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, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Apply{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(63), + Line: int(52), Column: int(5), }, End: ast.Location{ - Line: int(63), - Column: int(55), + Line: int(55), + Column: int(71), }, File: p1, }, - Ctx: p479, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p398, FreeVars: ast.Identifiers{ + "a", + "b", "std", - "str", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(63), - Column: int(5), + Line: int(52), + Column: int(8), }, End: ast.Location{ - Line: int(63), - Column: int(18), + Line: int(52), + Column: int(37), }, File: p1, }, - Ctx: p479, + Fodder: ast.Fodder{}, + Ctx: p398, FreeVars: ast.Identifiers{ + "a", + "b", "std", }, }, - Target: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(63), - Column: int(5), + Line: int(52), + Column: int(8), }, End: ast.Location{ - Line: int(63), - Column: int(8), + Line: int(52), + Column: int(21), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p398, FreeVars: ast.Identifiers{ + "a", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(63), - Column: int(19), + Line: int(52), + Column: int(8), }, End: ast.Location{ - Line: int(63), - Column: int(34), + Line: int(52), + Column: int(18), }, File: p1, }, - Ctx: p488, + Fodder: ast.Fodder{}, + Ctx: p398, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(63), - Column: int(19), + Line: int(52), + Column: int(8), }, End: ast.Location{ - Line: int(63), - Column: int(29), + Line: int(52), + Column: int(11), }, File: p1, }, - Ctx: p488, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(19), - }, - End: ast.Location{ - Line: int(63), - Column: int(22), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(63), - Column: int(30), + Line: int(52), + Column: int(19), }, End: ast.Location{ - Line: int(63), - Column: int(33), + Line: int(52), + Column: int(20), }, File: p1, }, - Ctx: p497, + Fodder: ast.Fodder{}, + Ctx: p411, FreeVars: ast.Identifiers{ - "str", + "a", }, }, - Id: "str", + Id: "a", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + 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: p398, + FreeVars: ast.Identifiers{ + "b", + "std", + }, }, - &ast.Function{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(63), - Column: int(36), + Line: int(52), + Column: int(24), }, End: ast.Location{ - Line: int(63), - Column: int(54), + Line: int(52), + Column: int(34), }, File: p1, }, - Ctx: p488, + Fodder: ast.Fodder{}, + Ctx: p398, FreeVars: ast.Identifiers{ - "str", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + "std", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(63), - Column: int(48), + Line: int(52), + Column: int(24), }, End: ast.Location{ - Line: int(63), - Column: int(54), + Line: int(52), + Column: int(27), }, File: p1, }, - Ctx: p503, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", - "str", + "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(48), - }, - End: ast.Location{ - Line: int(63), - Column: int(51), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p503, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "str", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(52), + 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(35), + }, + End: ast.Location{ + Line: int(52), + Column: int(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(63), - Column: int(53), + Fodder: ast.Fodder{}, + Ctx: p422, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p503, - FreeVars: ast.Identifiers{ - "i", }, + Id: "b", }, - Id: "i", + CommaFodder: nil, }, - Id: nil, }, + Named: nil, }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "parseInt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Cond: &ast.Apply{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(84), - Column: int(12), + Line: int(53), + Column: int(7), }, End: ast.Location{ - Line: int(84), - Column: int(29), + Line: int(53), + Column: int(12), }, File: p1, }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(12), - }, - End: ast.Location{ - Line: int(84), - Column: int(24), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(12), - }, - End: ast.Location{ - Line: int(84), - Column: int(15), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Ctx: p398, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(25), - }, - End: ast.Location{ - Line: int(84), - Column: int(28), - }, - File: p1, - }, - Ctx: p525, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, + Value: false, + }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, - TrailingComma: false, - TailStrict: false, }, - BranchTrue: &ast.Conditional{ + BranchFalse: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(71), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p398, FreeVars: ast.Identifiers{ - "parse_nat", + "a", + "b", "std", - "str", }, }, - Cond: &ast.Binary{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(85), - Column: int(12), + Line: int(55), + Column: int(7), }, End: ast.Location{ - Line: int(85), - Column: int(45), + Line: int(55), + Column: int(66), }, File: p1, }, - Ctx: p516, + Fodder: ast.Fodder{}, + Ctx: p398, FreeVars: ast.Identifiers{ + "a", + "b", "std", - "str", }, }, - Left: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(85), - Column: int(12), + Line: int(55), + Column: int(7), }, End: ast.Location{ - Line: int(85), - Column: int(31), + Line: int(55), + Column: int(17), }, File: p1, }, - Ctx: p516, + Fodder: ast.Fodder{}, + Ctx: p398, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(85), - Column: int(12), + Line: int(55), + Column: int(7), }, End: ast.Location{ - Line: int(85), - Column: int(27), + Line: int(55), + Column: int(10), }, File: p1, }, - Ctx: p516, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(12), - }, - End: ast.Location{ - Line: int(85), - Column: int(22), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(85), - Column: int(12), + Line: int(55), + Column: int(18), }, End: ast.Location{ - Line: int(85), - Column: int(15), + Line: int(55), + Column: int(19), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p439, FreeVars: ast.Identifiers{ - "std", + "a", }, }, - Id: "std", + Id: "a", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(50), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p439, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(85), - Column: int(23), + Line: int(55), + Column: int(21), }, End: ast.Location{ - Line: int(85), - Column: int(26), + Line: int(55), + Column: int(34), }, File: p1, }, - Ctx: p542, + Fodder: ast.Fodder{}, + Ctx: p439, FreeVars: ast.Identifiers{ - "str", + "a", + "std", }, }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(30), - }, - End: ast.Location{ - Line: int(85), - Column: int(31), - }, - File: p1, - }, - Ctx: p516, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(35), - }, - End: ast.Location{ - Line: int(85), - Column: int(45), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(35), - }, - End: ast.Location{ - Line: int(85), - Column: int(38), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(42), - }, - End: ast.Location{ - Line: int(85), - Column: int(45), - }, - File: p1, - }, - Ctx: p516, - FreeVars: nil, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(5), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(8), - }, - End: ast.Location{ - Line: int(86), - Column: int(21), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(8), - }, - End: ast.Location{ - Line: int(86), - Column: int(14), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(8), - }, - End: ast.Location{ - Line: int(86), - Column: int(11), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(12), - }, - End: ast.Location{ - Line: int(86), - Column: int(13), - }, - File: p1, - }, - Ctx: p516, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(18), - }, - End: ast.Location{ - Line: int(86), - Column: int(21), - }, - File: p1, - }, - Ctx: p516, - FreeVars: nil, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(7), - }, - End: ast.Location{ - Line: int(87), - Column: int(30), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - }, - Op: ast.UnaryOp(3), - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(8), - }, - End: ast.Location{ - Line: int(87), - Column: int(30), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(8), + 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: p439, + 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: nil, + }, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - End: ast.Location{ - Line: int(87), - Column: int(17), + FodderLeft: ast.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: p452, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "parse_nat", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - Id: "parse_nat", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(4), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(37), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(50), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p439, FreeVars: ast.Identifiers{ + "b", "std", - "str", }, }, Target: &ast.Index{ @@ -9667,16 +9510,17 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(37), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(47), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p439, FreeVars: ast.Identifiers{ "std", }, @@ -9686,15 +9530,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(37), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(40), }, - File: nil, + File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -9702,6 +9547,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -9716,253 +9562,411 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "slice", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(18), - }, - End: ast.Location{ - Line: int(87), - Column: int(21), - }, - File: p1, - }, - Ctx: p576, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(22), - }, - End: ast.Location{ - Line: int(87), - Column: int(23), - }, - File: p1, - }, - Ctx: p576, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p463, + FreeVars: ast.Identifiers{ + "b", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "b", }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(27), - }, - End: ast.Location{ - Line: int(87), - Column: int(29), - }, - File: p1, - }, - Ctx: p576, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(7), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "parse_nat", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(7), - }, - End: ast.Location{ - Line: int(89), - Column: int(16), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "parse_nat", }, + CommaFodder: ast.Fodder{}, }, - Id: "parse_nat", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(89), - Column: int(17), + Line: int(55), + Column: int(52), }, End: ast.Location{ - Line: int(89), - Column: int(20), + Line: int(55), + Column: int(65), }, File: p1, }, - Ctx: p588, + Fodder: ast.Fodder{}, + Ctx: p439, FreeVars: ast.Identifiers{ - "str", + "b", + "std", }, }, - Id: "str", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(22), + 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, }, - End: ast.Location{ - Line: int(89), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p439, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p588, - FreeVars: nil, + 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: nil, + }, + 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: p474, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - Value: float64(10), - OriginalString: "10", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Error{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(70), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(55), + Column: int(71), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p398, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(51), + Column: int(3), + }, + End: ast.Location{ + Line: int(55), + 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: nil, + }, + Value: "lstripChars", + 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: p11, + 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(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: p484, + FreeVars: ast.Identifiers{ + "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: p484, + 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: p484, FreeVars: ast.Identifiers{ "std", "str", }, }, - Expr: &ast.Apply{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(58), + Column: int(8), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(58), + Column: int(23), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p484, FreeVars: ast.Identifiers{ "std", "str", @@ -9973,16 +9977,17 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(58), + Column: int(8), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(58), + Column: int(18), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p484, FreeVars: ast.Identifiers{ "std", }, @@ -9992,15 +9997,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(58), + Column: int(8), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(58), + Column: int(11), }, - File: nil, + File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -10008,6 +10014,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -10022,357 +10029,295 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "mod", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(48), - }, - End: ast.Location{ - Line: int(85), - Column: int(70), - }, - File: p1, - }, - Ctx: p516, - FreeVars: nil, - }, - Value: "Not an integer: \"%s\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(73), - }, - End: ast.Location{ - Line: int(85), - Column: int(78), - }, - File: p1, - }, - Ctx: p516, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(74), - }, - End: ast.Location{ - Line: int(85), - Column: int(77), - }, - File: p1, + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(19), }, - Ctx: p606, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(58), + Column: int(22), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p499, + FreeVars: ast.Identifiers{ + "str", }, - Id: "str", }, + Id: "str", }, - TrailingComma: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), + Right: &ast.LiteralNumber{ + 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: p484, + FreeVars: nil, }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", + OriginalString: "0", }, }, - Expr: &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(84), - Column: int(32), + Line: int(58), + Column: int(31), }, End: ast.Location{ - Line: int(84), - Column: int(71), + Line: int(58), + Column: int(56), }, File: p1, }, - Ctx: p516, + Fodder: ast.Fodder{}, + Ctx: p484, FreeVars: ast.Identifiers{ + "chars", "std", "str", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(32), - }, - End: ast.Location{ - Line: int(84), - Column: int(55), - }, - File: p1, - }, - Ctx: p516, - FreeVars: nil, - }, - Value: "Expected string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(84), - Column: int(58), + Line: int(58), + Column: int(31), }, End: ast.Location{ - Line: int(84), - Column: int(71), + Line: int(58), + Column: int(41), }, File: p1, }, - Ctx: p516, + Fodder: ast.Fodder{}, + Ctx: p484, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(84), - Column: int(58), + Line: int(58), + Column: int(31), }, End: ast.Location{ - Line: int(84), - Column: int(66), + Line: int(58), + Column: int(34), }, File: p1, }, - Ctx: p516, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(58), - }, - End: ast.Location{ - Line: int(84), - Column: int(61), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(42), + }, + End: ast.Location{ + Line: int(58), + Column: int(47), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p511, + FreeVars: ast.Identifiers{ + "chars", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "chars", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(84), - Column: int(67), + Line: int(58), + Column: int(49), }, End: ast.Location{ - Line: int(84), - Column: int(70), + Line: int(58), + Column: int(55), }, File: p1, }, - Ctx: p622, + Fodder: ast.Fodder{}, + Ctx: p511, FreeVars: ast.Identifiers{ "str", }, }, - Id: "str", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(49), + }, + End: ast.Location{ + Line: int(58), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p511, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(58), + Column: int(53), + }, + End: ast.Location{ + Line: int(58), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p511, + FreeVars: nil, + }, + OriginalString: "0", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "parseOctal", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - }, - Optional: nil, - }, - TrailingComma: false, - 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), + Named: nil, }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Cond: &ast.Apply{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(12), + Line: int(59), + Column: int(7), }, End: ast.Location{ - Line: int(92), - Column: int(29), + Line: int(59), + Column: int(38), }, File: p1, }, - Ctx: p631, + Fodder: ast.Fodder{}, + Ctx: p484, FreeVars: ast.Identifiers{ + "chars", "std", "str", }, @@ -10380,18 +10325,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(12), + Line: int(59), + Column: int(7), }, End: ast.Location{ - Line: int(92), - Column: int(24), + Line: int(59), + Column: int(22), }, File: p1, }, - Ctx: p631, + Fodder: ast.Fodder{}, + Ctx: p484, FreeVars: ast.Identifiers{ "std", }, @@ -10399,17 +10345,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(12), + Line: int(59), + Column: int(7), }, End: ast.Location{ - Line: int(92), - Column: int(15), + 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", @@ -10417,6 +10371,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -10431,100 +10386,441 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "isString", + Value: "lstripChars", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(25), + 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, }, - End: ast.Location{ - Line: int(92), - Column: int(28), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", }, - File: p1, }, - Ctx: p640, - FreeVars: ast.Identifiers{ - "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: nil, + }, + 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(59), + Column: int(23), + }, + End: ast.Location{ + Line: int(59), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p536, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(59), + Column: int(27), + }, + End: ast.Location{ + Line: int(59), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p536, + FreeVars: nil, + }, + 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: nil, + }, + }, + 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: nil, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Id: "str", + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(59), + Column: int(32), + }, + End: ast.Location{ + Line: int(59), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p536, + FreeVars: ast.Identifiers{ + "chars", + }, + }, + Id: "chars", + }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchTrue: &ast.Conditional{ + 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(0), - Column: int(0), + Line: int(61), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(61), + Column: int(10), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p484, FreeVars: ast.Identifiers{ - "parse_nat", - "std", "str", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(93), - Column: int(12), - }, - End: ast.Location{ - Line: int(93), - Column: int(31), - }, - File: p1, - }, - Ctx: p631, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + Id: "str", + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(57), + Column: int(3), + }, + End: ast.Location{ + Line: int(61), + Column: int(10), + }, + 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: nil, + }, + Value: "rstripChars", + 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: p11, + 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(63), + Column: int(15), }, - Left: &ast.Apply{ + 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: p553, + FreeVars: ast.Identifiers{ + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(93), - Column: int(12), + Line: int(64), + Column: int(17), }, End: ast.Location{ - Line: int(93), - Column: int(27), + Line: int(64), + Column: int(32), }, File: p1, }, - Ctx: p631, + Fodder: ast.Fodder{}, + Ctx: p557, FreeVars: ast.Identifiers{ "std", "str", @@ -10533,18 +10829,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(93), - Column: int(12), + Line: int(64), + Column: int(17), }, End: ast.Location{ - Line: int(93), - Column: int(22), + Line: int(64), + Column: int(27), }, File: p1, }, - Ctx: p631, + Fodder: ast.Fodder{}, + Ctx: p557, FreeVars: ast.Identifiers{ "std", }, @@ -10552,17 +10849,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(93), - Column: int(12), + Line: int(64), + Column: int(17), }, End: ast.Location{ - Line: int(93), - Column: int(15), + Line: int(64), + Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -10570,6 +10868,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -10584,274 +10883,209 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(93), - Column: int(23), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(64), + Column: int(28), + }, + End: ast.Location{ + Line: int(64), + Column: int(31), + }, + File: p1, }, - End: ast.Location{ - Line: int(93), - Column: int(26), + Fodder: ast.Fodder{}, + Ctx: p566, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p655, - FreeVars: ast.Identifiers{ - "str", }, + Id: "str", }, - Id: "str", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(93), - Column: int(30), - }, - End: ast.Location{ - Line: int(93), - Column: int(31), - }, - File: p1, - }, - Ctx: p631, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(94), - Column: int(5), - }, - End: ast.Location{ - Line: int(94), - Column: int(22), - }, - File: p1, - }, - Ctx: p631, - FreeVars: ast.Identifiers{ - "parse_nat", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(94), - Column: int(5), - }, - End: ast.Location{ - Line: int(94), - Column: int(14), - }, - File: p1, - }, - Ctx: p631, - FreeVars: ast.Identifiers{ - "parse_nat", - }, - }, - Id: "parse_nat", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(94), - Column: int(15), - }, - End: ast.Location{ - Line: int(94), - Column: int(18), - }, - File: p1, - }, - Ctx: p664, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(94), - Column: int(20), - }, - End: ast.Location{ - Line: int(94), - Column: int(21), - }, - File: p1, - }, - Ctx: p664, - FreeVars: nil, - }, - Value: float64(8), - OriginalString: "8", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(64), + Column: int(11), }, - Ctx: nil, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(93), - Column: int(34), - }, - End: ast.Location{ - Line: int(93), - Column: int(59), - }, - File: p1, - }, - Ctx: p631, - FreeVars: nil, + End: ast.Location{ + Line: int(64), + Column: int(32), }, - Value: "Not an octal number: \"\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: p1, }, }, }, - BranchFalse: &ast.Error{ + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(65), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(68), + Column: int(10), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p553, FreeVars: ast.Identifiers{ + "chars", + "len", "std", "str", }, }, - Expr: &ast.Binary{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(32), + Line: int(65), + Column: int(8), }, End: ast.Location{ - Line: int(92), - Column: int(71), + Line: int(65), + Column: int(50), }, File: p1, }, - Ctx: p631, + Fodder: ast.Fodder{}, + Ctx: p553, FreeVars: ast.Identifiers{ + "chars", + "len", "std", "str", }, }, - Left: &ast.LiteralString{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(32), + Line: int(65), + Column: int(8), }, End: ast.Location{ - Line: int(92), - Column: int(55), + Line: int(65), + Column: int(15), }, File: p1, }, - Ctx: p631, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p553, + 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: p553, + 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: p553, + FreeVars: nil, + }, + OriginalString: "0", }, - Value: "Expected string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Op: ast.BinaryOp(3), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(58), + Line: int(65), + Column: int(19), }, End: ast.Location{ - Line: int(92), - Column: int(71), + Line: int(65), + Column: int(50), }, File: p1, }, - Ctx: p631, + Fodder: ast.Fodder{}, + Ctx: p553, FreeVars: ast.Identifiers{ + "chars", + "len", "std", "str", }, @@ -10859,18 +11093,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(58), + Line: int(65), + Column: int(19), }, End: ast.Location{ - Line: int(92), - Column: int(66), + Line: int(65), + Column: int(29), }, File: p1, }, - Ctx: p631, + Fodder: ast.Fodder{}, + Ctx: p553, FreeVars: ast.Identifiers{ "std", }, @@ -10878,17 +11113,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(92), - Column: int(58), + Line: int(65), + Column: int(19), }, End: ast.Location{ - Line: int(92), - Column: int(61), + Line: int(65), + Column: int(22), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -10896,6 +11132,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -10910,717 +11147,993 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "member", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(67), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(30), + }, + End: ast.Location{ + Line: int(65), + Column: int(35), + }, + File: p1, }, - End: ast.Location{ - Line: int(92), - Column: int(70), + Fodder: ast.Fodder{}, + Ctx: p587, + FreeVars: ast.Identifiers{ + "chars", }, - File: p1, }, - Ctx: p683, - FreeVars: ast.Identifiers{ - "str", + 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: p587, + FreeVars: ast.Identifiers{ + "len", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(65), + Column: int(37), + }, + End: ast.Location{ + Line: int(65), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p587, + 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: p587, + 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: p587, + 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(65), + Column: int(47), + }, + End: ast.Location{ + Line: int(65), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p587, + FreeVars: nil, + }, + OriginalString: "1", + }, }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: "str", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "parseHex", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(12), - }, - End: ast.Location{ - Line: int(97), - Column: int(29), - }, - File: p1, - }, - Ctx: p692, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(97), - Column: int(12), + Line: int(66), + Column: int(7), }, End: ast.Location{ - Line: int(97), - Column: int(24), + Line: int(66), + Column: int(44), }, File: p1, }, - Ctx: p692, + Fodder: ast.Fodder{}, + Ctx: p553, FreeVars: ast.Identifiers{ + "chars", + "len", "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(97), - Column: int(12), + Line: int(66), + Column: int(7), }, End: ast.Location{ - Line: int(97), - Column: int(15), + Line: int(66), + Column: int(22), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p553, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(97), - Column: int(25), + Line: int(66), + Column: int(7), }, End: ast.Location{ - Line: int(97), - Column: int(28), + Line: int(66), + Column: int(10), }, File: p1, }, - Ctx: p701, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(12), - }, - End: ast.Location{ - Line: int(98), - Column: int(31), - }, - File: p1, - }, - Ctx: p692, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(12), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(98), - Column: int(27), + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, - }, - Ctx: p692, - FreeVars: ast.Identifiers{ - "std", - "str", }, + Id: "std", }, - Target: &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(98), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(98), - Column: int(22), - }, - File: p1, - }, - Ctx: p692, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(12), - }, - End: ast.Location{ - Line: int(98), - Column: int(15), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "rstripChars", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(98), + Line: int(66), Column: int(23), }, End: ast.Location{ - Line: int(98), - Column: int(26), + Line: int(66), + Column: int(36), }, File: p1, }, - Ctx: p716, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "len", + "std", "str", }, }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(30), - }, - End: ast.Location{ - Line: int(98), - Column: int(31), - }, - File: p1, - }, - Ctx: p692, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(99), - Column: int(5), - }, - End: ast.Location{ - Line: int(99), - Column: int(23), - }, - File: p1, - }, - Ctx: p692, - FreeVars: ast.Identifiers{ - "parse_nat", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(99), - Column: int(5), - }, - End: ast.Location{ - Line: int(99), - Column: int(14), - }, - File: p1, - }, - Ctx: p692, - FreeVars: ast.Identifiers{ - "parse_nat", - }, - }, - Id: "parse_nat", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(99), - Column: int(15), + 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", + }, }, - End: ast.Location{ - Line: int(99), - Column: int(18), + 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", }, - File: p1, + 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: nil, + }, + Value: "slice", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: nil, + Id: nil, }, - Ctx: p725, - FreeVars: ast.Identifiers{ - "str", + 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(66), + Column: int(23), + }, + End: ast.Location{ + Line: int(66), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p616, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + 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: nil, + }, + }, + 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: p616, + 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: p616, + 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(66), + Column: int(34), + }, + End: ast.Location{ + Line: int(66), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p616, + FreeVars: nil, + }, + 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: nil, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Id: "str", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(99), - Column: int(20), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(66), + Column: int(38), + }, + End: ast.Location{ + Line: int(66), + Column: int(43), + }, + File: p1, }, - End: ast.Location{ - Line: int(99), - Column: int(22), + Fodder: ast.Fodder{}, + Ctx: p616, + FreeVars: ast.Identifiers{ + "chars", }, - File: p1, }, - Ctx: p725, - FreeVars: nil, + Id: "chars", }, - Value: float64(16), - OriginalString: "16", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Error{ + 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(0), - Column: int(0), + Line: int(68), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(68), + Column: int(10), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(34), - }, - End: ast.Location{ - Line: int(98), - Column: int(55), - }, - File: p1, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Ctx: p692, - FreeVars: nil, }, - Value: "Not hexadecimal: \"\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Ctx: p553, + FreeVars: ast.Identifiers{ + "str", + }, }, + Id: "str", }, }, - BranchFalse: &ast.Error{ + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(63), + Column: int(3), + }, + End: ast.Location{ + Line: int(68), + Column: int(10), + }, + 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: nil, + }, + Value: "stripChars", + 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: p11, + 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(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: p636, + FreeVars: ast.Identifiers{ + "chars", + "std", + "str", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(71), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(71), + Column: int(20), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p636, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Expr: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(97), - Column: int(32), + Line: int(71), + Column: int(5), }, End: ast.Location{ - Line: int(97), - Column: int(71), + Line: int(71), + Column: int(8), }, File: p1, }, - Ctx: p692, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "str", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(32), - }, - End: ast.Location{ - Line: int(97), - Column: int(55), - }, - File: p1, - }, - Ctx: p692, - FreeVars: nil, }, - Value: "Expected string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(58), - }, - End: ast.Location{ - Line: int(97), - Column: int(71), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p692, - FreeVars: ast.Identifiers{ - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Index{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(97), - Column: int(58), + Line: int(71), + Column: int(21), }, End: ast.Location{ - Line: int(97), - Column: int(66), + Line: int(71), + Column: int(48), }, File: p1, }, - Ctx: p692, + Fodder: ast.Fodder{}, + Ctx: p646, FreeVars: ast.Identifiers{ + "chars", "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(97), - Column: int(58), + Line: int(71), + Column: int(21), }, End: ast.Location{ - Line: int(97), - Column: int(61), + Line: int(71), + Column: int(36), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p646, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(71), + Column: int(21), + }, + End: ast.Location{ + Line: int(71), + Column: int(24), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(97), - Column: int(67), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(97), - Column: int(70), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p744, - FreeVars: ast.Identifiers{ - "str", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "rstripChars", + 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(71), + Column: int(37), + }, + End: ast.Location{ + Line: int(71), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p655, + 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(71), + Column: int(42), + }, + End: ast.Location{ + Line: int(71), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p655, + FreeVars: ast.Identifiers{ + "chars", + }, + }, + Id: "chars", + }, + CommaFodder: nil, }, - Id: "str", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(71), + Column: int(50), + }, + End: ast.Location{ + Line: int(71), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p646, + FreeVars: ast.Identifiers{ + "chars", + }, + }, + Id: "chars", + }, + CommaFodder: nil, }, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(70), + Column: int(3), + }, + End: ast.Location{ + Line: int(71), + Column: int(56), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -11638,12 +12151,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "split", + Value: "stringChars", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -11659,644 +12174,725 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "c", + 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, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(102), + Line: int(74), Column: int(5), }, End: ast.Location{ - Line: int(109), - Column: int(33), + Line: int(74), + Column: int(55), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p666, FreeVars: ast.Identifiers{ - "c", "std", "str", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(102), - Column: int(8), + Line: int(74), + Column: int(5), }, End: ast.Location{ - Line: int(102), - Column: int(33), + Line: int(74), + Column: int(18), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p666, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(102), - Column: int(8), + Line: int(74), + Column: int(5), }, End: ast.Location{ - Line: int(102), - Column: int(21), + Line: int(74), + Column: int(8), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(102), - Column: int(8), - }, - End: ast.Location{ - Line: int(102), - Column: int(16), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p751, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(102), - Column: int(8), + Line: int(74), + Column: int(19), }, End: ast.Location{ - Line: int(102), - Column: int(11), + Line: int(74), + Column: int(34), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p676, FreeVars: ast.Identifiers{ "std", + "str", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(102), - Column: int(17), + Line: int(74), + Column: int(19), }, End: ast.Location{ - Line: int(102), - Column: int(20), + Line: int(74), + Column: int(29), }, File: p1, }, - Ctx: p764, + Fodder: ast.Fodder{}, + Ctx: p676, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(102), - Column: int(25), - }, - End: ast.Location{ - Line: int(102), - Column: int(33), - }, - File: p1, - }, - Ctx: p751, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(7), - }, - End: ast.Location{ - Line: int(103), - Column: int(81), - }, - File: p1, - }, - Ctx: p751, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(13), - }, - End: ast.Location{ - Line: int(103), - Column: int(81), - }, - File: p1, - }, - Ctx: p751, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(13), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(19), + }, + End: ast.Location{ + Line: int(74), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Id: "std", }, - End: ast.Location{ - Line: int(103), - Column: int(65), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - File: p1, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: p751, - FreeVars: nil, - }, - Value: "std.split first parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(68), - }, - End: ast.Location{ - Line: int(103), - Column: int(81), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(30), + }, + End: ast.Location{ + Line: int(74), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p685, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, }, - File: p1, - }, - Ctx: p751, - FreeVars: ast.Identifiers{ - "std", - "str", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Target: &ast.Index{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(103), - Column: int(68), + Line: int(74), + Column: int(36), }, End: ast.Location{ - Line: int(103), - Column: int(76), + Line: int(74), + Column: int(54), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p676, FreeVars: ast.Identifiers{ - "std", + "str", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(103), - Column: int(68), + Line: int(74), + Column: int(45), }, End: ast.Location{ - Line: int(103), - Column: int(71), + Line: int(74), + Column: int(46), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(74), + Column: int(48), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(74), + Column: int(54), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p691, + FreeVars: ast.Identifiers{ + "i", + "str", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(103), - Column: int(77), + Line: int(74), + Column: int(48), }, End: ast.Location{ - Line: int(103), - Column: int(80), + Line: int(74), + Column: int(51), }, File: p1, }, - Ctx: p781, + Fodder: ast.Fodder{}, + Ctx: p691, FreeVars: ast.Identifiers{ "str", }, }, Id: "str", }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(74), + Column: int(52), + }, + End: ast.Location{ + Line: int(74), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p691, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, + Named: nil, }, - BranchFalse: &ast.Conditional{ + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(73), + Column: int(3), + }, + End: ast.Location{ + Line: int(74), + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "parseInt", + 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: p11, + FreeVars: ast.Identifiers{ + "parse_nat", + "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(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{ + "parse_nat", + "std", + "str", + }, + }, + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(104), - Column: int(10), + Line: int(95), + Column: int(12), }, End: ast.Location{ - Line: int(109), - Column: int(33), + Line: int(95), + Column: int(29), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", "std", "str", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(104), - Column: int(13), + Line: int(95), + Column: int(12), }, End: ast.Location{ - Line: int(104), - Column: int(36), + Line: int(95), + Column: int(24), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(104), - Column: int(13), + Line: int(95), + Column: int(12), }, End: ast.Location{ - Line: int(104), - Column: int(24), + Line: int(95), + Column: int(15), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "c", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(13), - }, - End: ast.Location{ - Line: int(104), - Column: int(21), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p751, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(104), - Column: int(13), + Line: int(95), + Column: int(25), }, End: ast.Location{ - Line: int(104), - Column: int(16), + Line: int(95), + Column: int(28), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p713, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(22), - }, - End: ast.Location{ - Line: int(104), - Column: int(23), - }, - File: p1, - }, - Ctx: p796, - FreeVars: ast.Identifiers{ - "c", - }, + "str", }, - Id: "c", }, + Id: "str", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(28), - }, - End: ast.Location{ - Line: int(104), - Column: int(36), - }, - File: p1, - }, - Ctx: p751, - FreeVars: 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), }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "parse_nat", + "std", + "str", }, }, - BranchTrue: &ast.Error{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(105), - Column: int(7), + Line: int(96), + Column: int(12), }, End: ast.Location{ - Line: int(105), - Column: int(80), + Line: int(96), + Column: int(45), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", "std", + "str", }, }, - Expr: &ast.Binary{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(105), - Column: int(13), + Line: int(96), + Column: int(12), }, End: ast.Location{ - Line: int(105), - Column: int(80), + Line: int(96), + Column: int(31), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", "std", + "str", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(105), - Column: int(13), - }, - End: ast.Location{ - Line: int(105), - Column: int(66), - }, - File: p1, - }, - Ctx: p751, - FreeVars: nil, - }, - Value: "std.split second parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(105), - Column: int(69), + Line: int(96), + Column: int(12), }, End: ast.Location{ - Line: int(105), - Column: int(80), + Line: int(96), + Column: int(27), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", "std", + "str", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(105), - Column: int(69), + Line: int(96), + Column: int(12), }, End: ast.Location{ - Line: int(105), - Column: int(77), + Line: int(96), + Column: int(22), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ "std", }, @@ -12304,17 +12900,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(105), - Column: int(69), + Line: int(96), + Column: int(12), }, End: ast.Location{ - Line: int(105), - Column: int(72), + Line: int(96), + Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -12322,6 +12919,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -12336,63 +12934,174 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(105), - Column: int(78), + 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, }, - End: ast.Location{ - Line: int(105), - Column: int(79), + Fodder: ast.Fodder{}, + Ctx: p730, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p813, - FreeVars: ast.Identifiers{ - "c", }, + Id: "str", }, - Id: "c", + 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: p704, + FreeVars: nil, + }, + 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: p704, + 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: p704, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(42), + }, + End: ast.Location{ + Line: int(96), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p704, + FreeVars: nil, + }, + Value: "-", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, }, - BranchFalse: &ast.Conditional{ + ThenFodder: nil, + BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(106), - Column: int(10), + Line: int(97), + Column: int(5), }, End: ast.Location{ - Line: int(109), - Column: int(33), + Line: int(100), + Column: int(25), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", + "parse_nat", "std", "str", }, @@ -12400,369 +13109,598 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(106), - Column: int(13), + Line: int(97), + Column: int(8), }, End: ast.Location{ - Line: int(106), - Column: int(31), + Line: int(97), + Column: int(21), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", - "std", + "str", }, }, - Left: &ast.Apply{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(106), - Column: int(13), + Line: int(97), + Column: int(8), }, End: ast.Location{ - Line: int(106), - Column: int(26), + Line: int(97), + Column: int(14), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", - "std", + "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(106), - Column: int(13), + Line: int(97), + Column: int(8), }, End: ast.Location{ - Line: int(106), - Column: int(23), + Line: int(97), + Column: int(11), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(106), - Column: int(13), - }, - End: ast.Location{ - Line: int(106), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + "str", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "str", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(106), - Column: int(24), - }, - End: ast.Location{ - Line: int(106), - Column: int(25), - }, - File: p1, - }, - Ctx: p828, - FreeVars: ast.Identifiers{ - "c", - }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(97), + Column: int(12), }, - Id: "c", + End: ast.Location{ + Line: int(97), + Column: int(13), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p704, + FreeVars: nil, }, - Named: nil, + OriginalString: "0", }, - TrailingComma: false, - TailStrict: false, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(106), - Column: int(30), + Line: int(97), + Column: int(18), }, End: ast.Location{ - Line: int(106), - Column: int(31), + Line: int(97), + Column: int(21), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", + Value: "-", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - BranchTrue: &ast.Error{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(107), + Line: int(98), Column: int(7), }, End: ast.Location{ - Line: int(107), - Column: int(84), + Line: int(98), + Column: int(30), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", + "parse_nat", "std", + "str", }, }, - Expr: &ast.Binary{ + Op: ast.UnaryOp(3), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(107), - Column: int(13), + Line: int(98), + Column: int(8), }, End: ast.Location{ - Line: int(107), - Column: int(84), + Line: int(98), + Column: int(30), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", + "parse_nat", "std", + "str", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(107), - Column: int(13), - }, - End: ast.Location{ - Line: int(107), - Column: int(68), - }, - File: p1, - }, - Ctx: p751, - FreeVars: nil, - }, - Value: "std.split second parameter should have length 1, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(107), - Column: int(71), + Line: int(98), + Column: int(8), }, End: ast.Location{ - Line: int(107), - Column: int(84), + Line: int(98), + Column: int(17), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", - "std", + "parse_nat", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(107), - Column: int(71), - }, - End: ast.Location{ - Line: int(107), - Column: int(81), - }, - File: p1, - }, - Ctx: p751, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(107), - Column: int(71), + 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, }, - End: ast.Location{ - Line: int(107), - Column: int(74), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - 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(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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", }, - File: nil, + 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: nil, + }, + Value: "slice", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: nil, + Id: nil, }, - Ctx: nil, - FreeVars: 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(98), + Column: int(18), + }, + End: ast.Location{ + Line: int(98), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p766, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(98), + Column: int(22), + }, + End: ast.Location{ + Line: int(98), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p766, + FreeVars: nil, + }, + 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: nil, + }, + }, + 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: nil, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(107), - Column: int(82), + Line: int(98), + Column: int(27), }, End: ast.Location{ - Line: int(107), - Column: int(83), + Line: int(98), + Column: int(29), }, File: p1, }, - Ctx: p845, - FreeVars: ast.Identifiers{ - "c", - }, + Fodder: ast.Fodder{}, + Ctx: p766, + FreeVars: nil, }, - Id: "c", + OriginalString: "10", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(109), + Line: int(100), Column: int(7), }, End: ast.Location{ - Line: int(109), - Column: int(33), + Line: int(100), + Column: int(25), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{}, + Ctx: p704, FreeVars: ast.Identifiers{ - "c", - "std", + "parse_nat", "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(109), + Line: int(100), Column: int(7), }, End: ast.Location{ - Line: int(109), - Column: int(21), + Line: int(100), + Column: int(16), }, File: p1, }, - Ctx: p751, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p704, + FreeVars: ast.Identifiers{ + "parse_nat", + }, + }, + Id: "parse_nat", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(100), + Column: int(17), + }, + End: ast.Location{ + Line: int(100), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p780, + 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(100), + Column: int(22), + }, + End: ast.Location{ + Line: int(100), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p780, + FreeVars: nil, + }, + OriginalString: "10", + }, + 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(96), + Column: int(5), + }, + End: ast.Location{ + Line: int(100), + Column: int(25), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + 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", }, @@ -12770,17 +13708,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(109), - Column: int(7), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(109), - Column: int(10), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -12788,6 +13727,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -12802,109 +13742,321 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "splitLimit", + Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(22), - }, - End: ast.Location{ - Line: int(109), - Column: int(25), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(48), + }, + End: ast.Location{ + Line: int(96), + Column: int(70), + }, + File: p1, }, - File: p1, - }, - Ctx: p856, - FreeVars: ast.Identifiers{ - "str", + Fodder: ast.Fodder{}, + Ctx: p704, + FreeVars: nil, }, + Value: "Not an integer: \"%s\"", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "str", + CommaFodder: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(27), + 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, }, - End: ast.Location{ - Line: int(109), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p704, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, }, - Ctx: p856, - FreeVars: ast.Identifiers{ - "c", + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(96), + Column: int(74), + }, + End: ast.Location{ + Line: int(96), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p798, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Id: "c", + CommaFodder: nil, }, - &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(30), - }, - End: ast.Location{ - Line: int(109), - Column: int(32), - }, - File: p1, + }, + 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(95), + Column: int(5), + }, + End: ast.Location{ + 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: p704, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + 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: p704, + FreeVars: nil, + }, + 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: p704, + 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: p704, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(95), + Column: int(58), }, - Ctx: p856, - FreeVars: nil, + End: ast.Location{ + Line: int(95), + Column: int(61), + }, + File: p1, }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(109), - Column: int(31), + Line: int(95), + Column: int(67), }, End: ast.Location{ - Line: int(109), - Column: int(32), + Line: int(95), + Column: int(70), }, File: p1, }, - Ctx: p856, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p814, + FreeVars: ast.Identifiers{ + "str", + }, }, - Value: float64(1), - OriginalString: "1", + 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(94), + Column: int(3), + }, + End: ast.Location{ + Line: int(100), + Column: int(25), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -12922,12 +14074,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "splitLimit", + Value: "parseOctal", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -12943,274 +14097,245 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ + "parse_nat", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "c", - "maxsplits", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(112), - Column: int(5), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(130), - Column: int(29), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p867, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "c", - "maxsplits", + "parse_nat", "std", "str", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(112), - Column: int(8), + Line: int(103), + Column: int(12), }, End: ast.Location{ - Line: int(112), - Column: int(33), + Line: int(103), + Column: int(29), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ "std", "str", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(112), - Column: int(8), + Line: int(103), + Column: int(12), }, End: ast.Location{ - Line: int(112), - Column: int(21), + Line: int(103), + Column: int(24), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(112), - Column: int(8), + Line: int(103), + Column: int(12), }, End: ast.Location{ - Line: int(112), - Column: int(16), + Line: int(103), + Column: int(15), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(112), - Column: int(8), - }, - End: ast.Location{ - Line: int(112), - Column: int(11), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isString", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(112), - Column: int(17), + Line: int(103), + Column: int(25), }, End: ast.Location{ - Line: int(112), - Column: int(20), + Line: int(103), + Column: int(28), }, File: p1, }, - Ctx: p880, + Fodder: ast.Fodder{}, + Ctx: p832, FreeVars: ast.Identifiers{ "str", }, }, Id: "str", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(112), - Column: int(25), - }, - End: ast.Location{ - Line: int(112), - Column: int(33), - }, - File: p1, - }, - Ctx: p867, - FreeVars: nil, }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchTrue: &ast.Error{ + ThenFodder: nil, + BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(113), - Column: int(7), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(113), - Column: int(86), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p867, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "parse_nat", "std", "str", }, }, - Expr: &ast.Binary{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(113), - Column: int(13), + Line: int(104), + Column: int(12), }, End: ast.Location{ - Line: int(113), - Column: int(86), + Line: int(104), + Column: int(31), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ "std", "str", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(13), - }, - End: ast.Location{ - Line: int(113), - Column: int(70), - }, - File: p1, - }, - Ctx: p867, - FreeVars: nil, - }, - Value: "std.splitLimit first parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(113), - Column: int(73), + Line: int(104), + Column: int(12), }, End: ast.Location{ - Line: int(113), - Column: int(86), + Line: int(104), + Column: int(27), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ "std", "str", @@ -13219,18 +14344,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(113), - Column: int(73), + Line: int(104), + Column: int(12), }, End: ast.Location{ - Line: int(113), - Column: int(81), + Line: int(104), + Column: int(22), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ "std", }, @@ -13238,17 +14364,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(113), - Column: int(73), + Line: int(104), + Column: int(12), }, End: ast.Location{ - Line: int(113), - Column: int(76), + Line: int(104), + Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -13256,6 +14383,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -13270,123 +14398,336 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: p847, + 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(104), + Column: int(30), + }, + End: ast.Location{ + Line: int(104), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p823, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: nil, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(105), + Column: int(5), + }, + End: ast.Location{ + Line: int(105), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p823, + FreeVars: ast.Identifiers{ + "parse_nat", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(105), + Column: int(5), + }, + End: ast.Location{ + 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: p823, + FreeVars: ast.Identifiers{ + "parse_nat", + }, + }, + Id: "parse_nat", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(113), - Column: int(82), + Line: int(105), + Column: int(15), }, End: ast.Location{ - Line: int(113), - Column: int(85), + Line: int(105), + Column: int(18), }, File: p1, }, - Ctx: p897, + Fodder: ast.Fodder{}, + Ctx: p857, 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(105), + Column: int(20), + }, + End: ast.Location{ + Line: int(105), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p857, + FreeVars: nil, + }, + OriginalString: "8", + }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + 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(104), + Column: int(5), + }, + End: ast.Location{ + Line: int(105), + Column: int(22), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(104), + Column: int(34), + }, + End: ast.Location{ + Line: int(104), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p823, + FreeVars: nil, + }, + Value: "Not an octal number: \"\"", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, }, - BranchFalse: &ast.Conditional{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(114), - Column: int(10), + Line: int(103), + Column: int(5), }, End: ast.Location{ - Line: int(130), - Column: int(29), + Line: int(105), + Column: int(22), }, File: p1, }, - Ctx: p867, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "c", - "maxsplits", "std", "str", }, }, - Cond: &ast.Binary{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(114), - Column: int(13), + Line: int(103), + Column: int(32), }, End: ast.Location{ - Line: int(114), - Column: int(36), + Line: int(103), + Column: int(71), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ - "c", "std", + "str", }, }, - Left: &ast.Apply{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(114), - Column: int(13), + Line: int(103), + Column: int(32), }, End: ast.Location{ - Line: int(114), - Column: int(24), + Line: int(103), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p823, + FreeVars: nil, + }, + 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, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ - "c", "std", + "str", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(114), - Column: int(13), + Line: int(103), + Column: int(58), }, End: ast.Location{ - Line: int(114), - Column: int(21), + Line: int(103), + Column: int(66), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p823, FreeVars: ast.Identifiers{ "std", }, @@ -13394,17 +14735,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(114), - Column: int(13), + Line: int(103), + Column: int(58), }, End: ast.Location{ - Line: int(114), - Column: int(16), + Line: int(103), + Column: int(61), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -13412,6 +14754,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -13426,261 +14769,1253 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(22), + 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, }, - End: ast.Location{ - Line: int(114), - Column: int(23), + Fodder: ast.Fodder{}, + Ctx: p876, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p912, - FreeVars: ast.Identifiers{ - "c", }, + Id: "str", }, - Id: "c", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(28), - }, - End: ast.Location{ - Line: int(114), - Column: int(36), - }, - File: p1, - }, - Ctx: p867, - FreeVars: nil, + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(102), + Column: int(3), + }, + End: ast.Location{ + Line: int(105), + 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: nil, + }, + Value: "parseHex", + 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: p11, + FreeVars: ast.Identifiers{ + "parse_nat", + "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(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), }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(108), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p885, + FreeVars: ast.Identifiers{ + "std", + "str", }, }, - BranchTrue: &ast.Error{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(115), - Column: int(7), + Line: int(108), + Column: int(12), }, End: ast.Location{ - Line: int(115), - Column: int(85), + Line: int(108), + Column: int(24), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p885, FreeVars: ast.Identifiers{ - "c", "std", }, }, - Expr: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(115), - Column: int(13), + Line: int(108), + Column: int(12), }, End: ast.Location{ - Line: int(115), - Column: int(85), + Line: int(108), + Column: int(15), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "c", "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(13), - }, - End: ast.Location{ - Line: int(115), - Column: int(71), - }, - File: p1, - }, - Ctx: p867, - FreeVars: nil, - }, - Value: "std.splitLimit second parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(74), - }, - End: ast.Location{ - Line: int(115), - Column: int(85), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p867, - FreeVars: ast.Identifiers{ - "c", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Index{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(115), - Column: int(74), + Line: int(108), + Column: int(25), }, End: ast.Location{ - Line: int(115), - Column: int(82), + Line: int(108), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p894, + 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, + FreeVars: ast.Identifiers{ + "parse_nat", + "std", + "str", + }, + }, + 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: p885, + 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: p885, + 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: p885, + 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, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ + 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: nil, + }, + 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: p909, + 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(109), + Column: int(30), + }, + End: ast.Location{ + Line: int(109), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p885, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: nil, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(110), + Column: int(5), + }, + End: ast.Location{ + Line: int(110), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p885, + FreeVars: ast.Identifiers{ + "parse_nat", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(110), + Column: int(5), + }, + End: ast.Location{ + 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: p885, + FreeVars: ast.Identifiers{ + "parse_nat", + }, + }, + Id: "parse_nat", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(115), - Column: int(74), + Line: int(110), + Column: int(15), }, End: ast.Location{ - Line: int(115), - Column: int(77), + Line: int(110), + Column: int(18), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p919, FreeVars: ast.Identifiers{ - "std", + "str", }, }, - Id: "std", + Id: "str", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(110), + Column: int(20), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(110), + Column: int(22), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p919, FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "16", }, - Id: nil, + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + }, + 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(109), + Column: int(5), + }, + End: ast.Location{ + Line: int(110), + Column: int(23), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(109), + Column: int(34), + }, + End: ast.Location{ + Line: int(109), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p885, + FreeVars: nil, + }, + Value: "Not hexadecimal: \"\"", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + }, + ElseFodder: nil, + BranchFalse: &ast.Error{ + 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{ + "std", + "str", + }, + }, + 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: p885, + 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: p885, + FreeVars: nil, + }, + 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: p885, + 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: p885, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(108), + Column: int(58), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(115), - Column: int(83), + Line: int(108), + Column: int(67), }, End: ast.Location{ - Line: int(115), - Column: int(84), + Line: int(108), + Column: int(70), }, File: p1, }, - Ctx: p929, + Fodder: ast.Fodder{}, + Ctx: p938, FreeVars: ast.Identifiers{ - "c", + "str", }, }, - Id: "c", + Id: "str", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - BranchFalse: &ast.Conditional{ + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(107), + Column: int(3), + }, + End: ast.Location{ + Line: int(110), + 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: nil, + }, + Value: "split", + 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: p11, + 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(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: p947, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(116), - Column: int(10), + Line: int(113), + Column: int(12), }, End: ast.Location{ - Line: int(130), - Column: int(29), + Line: int(113), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p947, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(12), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(113), + Column: int(25), + }, + End: ast.Location{ + Line: int(113), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p956, + 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, + 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, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + 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: p947, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(12), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(114), + Column: int(25), + }, + End: ast.Location{ + Line: int(114), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p969, + 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, FreeVars: ast.Identifiers{ "c", - "maxsplits", "std", "str", }, @@ -13688,18 +16023,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(116), - Column: int(13), + Line: int(115), + Column: int(12), }, End: ast.Location{ - Line: int(116), - Column: int(31), + Line: int(115), + Column: int(30), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ "c", "std", @@ -13708,18 +16044,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(116), - Column: int(13), + Line: int(115), + Column: int(12), }, End: ast.Location{ - Line: int(116), - Column: int(26), + Line: int(115), + Column: int(25), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ "c", "std", @@ -13728,18 +16065,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(116), - Column: int(13), + Line: int(115), + Column: int(12), }, End: ast.Location{ - Line: int(116), - Column: int(23), + Line: int(115), + Column: int(22), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ "std", }, @@ -13747,17 +16085,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(116), - Column: int(13), + Line: int(115), + Column: int(12), }, End: ast.Location{ - Line: int(116), - Column: int(16), + Line: int(115), + Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -13765,6 +16104,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -13779,319 +16119,385 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(24), + 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, }, - End: ast.Location{ - Line: int(116), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p984, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, - }, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", }, + Id: "c", }, - Id: "c", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(13), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(116), - Column: int(30), + Line: int(115), + Column: int(29), }, End: ast.Location{ - Line: int(116), - Column: int(31), + Line: int(115), + Column: int(30), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, - BranchTrue: &ast.Error{ + ThenFodder: nil, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(117), - Column: int(7), + Line: int(116), + Column: int(5), }, End: ast.Location{ - Line: int(117), - Column: int(89), + Line: int(116), + Column: int(31), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ "c", "std", + "str", }, }, - Expr: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(117), - Column: int(13), + Line: int(116), + Column: int(5), }, End: ast.Location{ - Line: int(117), - Column: int(89), + Line: int(116), + Column: int(19), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ - "c", "std", }, }, - Left: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(117), - Column: int(13), + Line: int(116), + Column: int(5), }, End: ast.Location{ - Line: int(117), - Column: int(73), + Line: int(116), + Column: int(8), }, File: p1, }, - Ctx: p867, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "std.splitLimit second parameter should have length 1, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(117), - Column: int(76), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(117), - Column: int(89), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p867, - FreeVars: ast.Identifiers{ - "c", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(117), - Column: int(76), + Value: "splitLimit", + 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(116), + Column: int(20), + }, + End: ast.Location{ + Line: int(116), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(117), - Column: int(86), + Fodder: ast.Fodder{}, + Ctx: p997, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p867, - FreeVars: ast.Identifiers{ - "std", }, + Id: "str", }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(117), - Column: int(76), + Line: int(116), + Column: int(25), }, End: ast.Location{ - Line: int(117), - Column: int(79), + Line: int(116), + Column: int(26), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p997, FreeVars: ast.Identifiers{ - "std", + "c", }, }, - Id: "std", + Id: "c", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(116), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(116), + Column: int(30), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p997, FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Op: ast.UnaryOp(3), + Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(117), - Column: int(87), + Line: int(116), + Column: int(29), }, End: ast.Location{ - Line: int(117), - Column: int(88), + Line: int(116), + Column: int(30), }, File: p1, }, - Ctx: p961, - FreeVars: ast.Identifiers{ - "c", - }, + Fodder: ast.Fodder{}, + Ctx: p997, + FreeVars: nil, }, - Id: "c", + OriginalString: "1", }, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Conditional{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(118), - Column: int(10), + Line: int(115), + Column: int(5), }, End: ast.Location{ - Line: int(130), - Column: int(29), + Line: int(116), + Column: int(31), }, File: p1, }, - Ctx: p867, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "c", - "maxsplits", "std", - "str", }, }, - Cond: &ast.Binary{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(118), - Column: int(13), + Line: int(115), + Column: int(33), }, End: ast.Location{ - Line: int(118), - Column: int(44), + Line: int(115), + Column: int(104), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ - "maxsplits", + "c", "std", }, }, - Left: &ast.Apply{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(118), - Column: int(13), + Line: int(115), + Column: int(33), }, End: ast.Location{ - Line: int(118), - Column: int(32), + Line: int(115), + Column: int(88), }, File: p1, }, - Ctx: p867, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", + Fodder: ast.Fodder{}, + Ctx: p947, + FreeVars: nil, + }, + 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: p947, + FreeVars: ast.Identifiers{ + "c", + "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(118), - Column: int(13), + Line: int(115), + Column: int(91), }, End: ast.Location{ - Line: int(118), - Column: int(21), + Line: int(115), + Column: int(101), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ "std", }, @@ -14099,17 +16505,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(118), - Column: int(13), + Line: int(115), + Column: int(91), }, End: ast.Location{ - Line: int(118), - Column: int(16), + Line: int(115), + Column: int(94), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -14117,6 +16524,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -14131,258 +16539,1240 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(22), + 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, }, - End: ast.Location{ - Line: int(118), - Column: int(31), + Fodder: ast.Fodder{}, + Ctx: p1017, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, - }, - Ctx: p976, - FreeVars: ast.Identifiers{ - "maxsplits", }, + Id: "c", }, - Id: "maxsplits", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ + }, + }, + }, + ElseFodder: nil, + BranchFalse: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(114), + Column: int(5), + }, + End: ast.Location{ + 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: p947, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + 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: p947, + FreeVars: nil, + }, + 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: p947, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(118), - Column: int(36), + Line: int(114), + Column: int(86), }, End: ast.Location{ - Line: int(118), - Column: int(44), + Line: int(114), + Column: int(94), }, File: p1, }, - Ctx: p867, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p947, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: nil, + }, + 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: p1033, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchTrue: &ast.Error{ + }, + }, + }, + ElseFodder: nil, + BranchFalse: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(113), + Column: int(5), + }, + End: ast.Location{ + 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: p947, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + 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: p947, + FreeVars: nil, + }, + 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: p947, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(119), - Column: int(7), + Line: int(113), + Column: int(87), }, End: ast.Location{ - Line: int(119), - Column: int(92), + Line: int(113), + Column: int(95), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p947, FreeVars: ast.Identifiers{ - "maxsplits", "std", }, }, - Expr: &ast.Binary{ + 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: nil, + }, + 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: p1049, + 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(112), + Column: int(3), + }, + End: ast.Location{ + Line: int(116), + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "splitLimit", + 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: p11, + 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(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: p1058, + 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: p1058, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(12), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ Line: int(119), - Column: int(13), + Column: int(25), }, End: ast.Location{ Line: int(119), - Column: int(92), + Column: int(28), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p1067, FreeVars: ast.Identifiers{ - "maxsplits", - "std", + "str", }, }, - Left: &ast.LiteralString{ + 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, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + 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: p1058, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(12), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(119), - Column: int(13), + Line: int(120), + Column: int(25), }, End: ast.Location{ - Line: int(119), - Column: int(70), + Line: int(120), + Column: int(26), }, File: p1, }, - Ctx: p867, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p1080, + FreeVars: ast.Identifiers{ + "c", + }, }, - Value: "std.splitLimit third parameter should be a number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "c", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + 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{ + "c", + "maxsplits", + "std", + "str", + }, + }, + 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: p1058, + 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: p1058, + 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: p1058, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(119), - Column: int(73), + Line: int(121), + Column: int(12), }, End: ast.Location{ - Line: int(119), - Column: int(92), + Line: int(121), + Column: int(15), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "maxsplits", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(73), - }, - End: ast.Location{ - Line: int(119), - Column: int(81), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p867, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(119), - Column: int(73), + Line: int(121), + Column: int(23), }, End: ast.Location{ - Line: int(119), - Column: int(76), + Line: int(121), + Column: int(24), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1095, FreeVars: ast.Identifiers{ - "std", + "c", }, }, - Id: "std", + Id: "c", }, - Index: &ast.LiteralString{ + 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(121), + Column: int(29), + }, + End: ast.Location{ + Line: int(121), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: nil, + }, + 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: p1058, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(12), + }, + End: ast.Location{ + Line: int(122), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(12), + }, + End: ast.Location{ + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(0), - Column: int(0), + Line: int(122), + Column: int(25), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(122), + Column: int(34), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(82), - }, - End: ast.Location{ - Line: int(119), - Column: int(91), - }, - File: p1, - }, - Ctx: p993, - FreeVars: ast.Identifiers{ - "maxsplits", - }, + Fodder: ast.Fodder{}, + Ctx: p1109, + FreeVars: ast.Identifiers{ + "maxsplits", }, - Id: "maxsplits", }, + Id: "maxsplits", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Local{ + ThenFodder: nil, + BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(121), - Column: int(7), + Line: int(123), + Column: int(5), }, End: ast.Location{ - Line: int(130), - Column: int(29), + Line: int(132), + Column: int(27), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1058, FreeVars: ast.Identifiers{ "c", "maxsplits", @@ -14392,83 +17782,186 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "aux", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(121), - Column: int(13), + Line: int(123), + Column: int(11), }, End: ast.Location{ - Line: int(129), - Column: int(42), + Line: int(131), + Column: int(40), }, File: p1, }, - Ctx: p999, + Fodder: nil, + Ctx: p1116, FreeVars: ast.Identifiers{ "aux", "maxsplits", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "delim", - "i", - "arr", - "v", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(122), - Column: int(9), + Line: int(123), + Column: int(15), }, End: ast.Location{ - Line: int(129), - Column: int(42), + Line: int(123), + Column: int(18), }, File: p1, }, - Ctx: p1003, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "delim", - "i", - "maxsplits", - "std", + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "delim", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + 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), + }, + End: ast.Location{ + Line: int(123), + Column: int(36), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(124), + 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: p1121, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(122), - Column: int(19), + Line: int(124), + Column: int(17), }, End: ast.Location{ - Line: int(122), - Column: int(25), + Line: int(124), + Column: int(23), }, File: p1, }, - Ctx: p1007, + Fodder: ast.Fodder{}, + Ctx: p1125, FreeVars: ast.Identifiers{ "i", "str", @@ -14477,65 +17970,90 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(122), - Column: int(19), + Line: int(124), + Column: int(17), }, End: ast.Location{ - Line: int(122), - Column: int(22), + Line: int(124), + Column: int(20), }, File: p1, }, - Ctx: p1007, + Fodder: ast.Fodder{}, + Ctx: p1125, FreeVars: ast.Identifiers{ "str", }, }, Id: "str", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(122), - Column: int(23), + Line: int(124), + Column: int(21), }, End: ast.Location{ - Line: int(122), - Column: int(24), + Line: int(124), + Column: int(22), }, File: p1, }, - Ctx: p1007, + Fodder: ast.Fodder{}, + Ctx: p1125, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(123), - Column: int(9), + Line: int(125), + Column: int(7), }, End: ast.Location{ - Line: int(129), - Column: int(42), + Line: int(131), + Column: int(40), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "aux", @@ -14550,22 +18068,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "i2", + EqFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(123), - Column: int(20), + Line: int(125), + Column: int(18), }, End: ast.Location{ - Line: int(123), - Column: int(25), + Line: int(125), + Column: int(23), }, File: p1, }, - Ctx: p1017, + Fodder: ast.Fodder{}, + Ctx: p1136, FreeVars: ast.Identifiers{ "i", }, @@ -14573,64 +18094,87 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(123), - Column: int(20), + Line: int(125), + Column: int(18), }, End: ast.Location{ - Line: int(123), - Column: int(21), + Line: int(125), + Column: int(19), }, File: p1, }, - Ctx: p1017, + Fodder: ast.Fodder{}, + Ctx: p1136, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(123), - Column: int(24), + Line: int(125), + Column: int(22), }, End: ast.Location{ - Line: int(123), - Column: int(25), + Line: int(125), + Column: int(23), }, File: p1, }, - Ctx: p1017, + Fodder: ast.Fodder{}, + Ctx: p1136, FreeVars: nil, }, - Value: float64(1), 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: "", + FileName: "", Begin: ast.Location{ - Line: int(124), - Column: int(9), + Line: int(126), + Column: int(7), }, End: ast.Location{ - Line: int(129), - Column: int(42), + Line: int(131), + Column: int(40), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "aux", @@ -14647,18 +18191,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(124), - Column: int(12), + Line: int(126), + Column: int(10), }, End: ast.Location{ - Line: int(124), - Column: int(32), + Line: int(126), + Column: int(30), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "i", "std", @@ -14668,40 +18213,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(124), - Column: int(12), + Line: int(126), + Column: int(10), }, End: ast.Location{ - Line: int(124), - Column: int(13), + Line: int(126), + Column: int(11), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(124), - Column: int(17), + Line: int(126), + Column: int(15), }, End: ast.Location{ - Line: int(124), - Column: int(32), + Line: int(126), + Column: int(30), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "std", "str", @@ -14710,18 +18258,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(124), - Column: int(17), + Line: int(126), + Column: int(15), }, End: ast.Location{ - Line: int(124), - Column: int(27), + Line: int(126), + Column: int(25), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "std", }, @@ -14729,17 +18278,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(124), - Column: int(17), + Line: int(126), + Column: int(15), }, End: ast.Location{ - Line: int(124), - Column: int(20), + Line: int(126), + Column: int(18), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -14747,6 +18297,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -14761,60 +18312,72 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(28), + 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, }, - End: ast.Location{ - Line: int(124), - Column: int(31), + Fodder: ast.Fodder{}, + Ctx: p1157, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p1037, - FreeVars: ast.Identifiers{ - "str", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(125), - Column: int(11), + Line: int(127), + Column: int(9), }, End: ast.Location{ - Line: int(125), - Column: int(20), + Line: int(127), + Column: int(18), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "v", @@ -14823,85 +18386,109 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(125), - Column: int(11), + Line: int(127), + Column: int(9), }, End: ast.Location{ - Line: int(125), - Column: int(14), + Line: int(127), + Column: int(12), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", }, }, Id: "arr", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(125), - Column: int(17), + Line: int(127), + Column: int(15), }, End: ast.Location{ - Line: int(125), - Column: int(20), + Line: int(127), + Column: int(18), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "v", }, }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(18), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(127), + Column: int(16), + }, + End: ast.Location{ + Line: int(127), + Column: int(17), + }, + File: p1, }, - End: ast.Location{ - Line: int(125), - Column: int(19), + Fodder: ast.Fodder{}, + Ctx: p1168, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p1047, - FreeVars: ast.Identifiers{ - "v", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(14), + Line: int(128), + Column: int(12), }, End: ast.Location{ - Line: int(129), - Column: int(42), + Line: int(131), + Column: int(40), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "aux", @@ -14917,18 +18504,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(17), + Line: int(128), + Column: int(15), }, End: ast.Location{ - Line: int(126), - Column: int(79), + Line: int(128), + Column: int(77), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "c", @@ -14940,18 +18528,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(17), + Line: int(128), + Column: int(15), }, End: ast.Location{ - Line: int(126), - Column: int(27), + Line: int(128), + Column: int(25), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "c", "delim", @@ -14960,40 +18549,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(17), + Line: int(128), + Column: int(15), }, End: ast.Location{ - Line: int(126), - Column: int(18), + Line: int(128), + Column: int(16), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "c", }, }, Id: "c", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(22), + Line: int(128), + Column: int(20), }, End: ast.Location{ - Line: int(126), - Column: int(27), + Line: int(128), + Column: int(25), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "delim", }, @@ -15001,22 +18593,24 @@ var _StdAst = &ast.DesugaredObject{ Id: "delim", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(17), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(32), + Line: int(128), + Column: int(30), }, End: ast.Location{ - Line: int(126), - Column: int(78), + Line: int(128), + Column: int(76), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "maxsplits", @@ -15026,18 +18620,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(32), + Line: int(128), + Column: int(30), }, End: ast.Location{ - Line: int(126), - Column: int(47), + Line: int(128), + Column: int(45), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "maxsplits", }, @@ -15045,81 +18640,86 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(32), + Line: int(128), + Column: int(30), }, End: ast.Location{ - Line: int(126), - Column: int(41), + Line: int(128), + Column: int(39), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "maxsplits", }, }, Id: "maxsplits", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(45), + Line: int(128), + Column: int(43), }, End: ast.Location{ - Line: int(126), - Column: int(47), + Line: int(128), + Column: int(45), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: nil, }, Op: ast.UnaryOp(3), Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(46), + Line: int(128), + Column: int(44), }, End: ast.Location{ - Line: int(126), - Column: int(47), + Line: int(128), + Column: int(45), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(18), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(51), + Line: int(128), + Column: int(49), }, End: ast.Location{ - Line: int(126), - Column: int(78), + Line: int(128), + Column: int(76), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "maxsplits", @@ -15129,18 +18729,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(51), + Line: int(128), + Column: int(49), }, End: ast.Location{ - Line: int(126), - Column: int(66), + Line: int(128), + Column: int(64), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "std", @@ -15149,18 +18750,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(51), + Line: int(128), + Column: int(49), }, End: ast.Location{ - Line: int(126), - Column: int(61), + Line: int(128), + Column: int(59), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "std", }, @@ -15168,17 +18770,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(51), + Line: int(128), + Column: int(49), }, End: ast.Location{ - Line: int(126), - Column: int(54), + Line: int(128), + Column: int(52), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -15186,6 +18789,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -15200,60 +18804,72 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(62), + 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, }, - End: ast.Location{ - Line: int(126), - Column: int(65), + Fodder: ast.Fodder{}, + Ctx: p1200, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p1078, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(126), - Column: int(69), + Line: int(128), + Column: int(67), }, End: ast.Location{ - Line: int(126), - Column: int(78), + Line: int(128), + Column: int(76), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "maxsplits", }, @@ -15263,21 +18879,23 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(127), - Column: int(11), + Line: int(129), + Column: int(9), }, End: ast.Location{ - Line: int(127), - Column: int(45), + Line: int(129), + Column: int(43), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "aux", @@ -15290,218 +18908,267 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(127), - Column: int(11), + Line: int(129), + Column: int(9), }, End: ast.Location{ - Line: int(127), - Column: int(14), + Line: int(129), + Column: int(12), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p1121, FreeVars: ast.Identifiers{ "aux", }, }, Id: "aux", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - 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, - }, - Ctx: p1088, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(20), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(13), + }, + End: ast.Location{ + Line: int(129), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(127), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p1211, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p1088, - FreeVars: ast.Identifiers{ - "delim", }, + Id: "str", }, - Id: "delim", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(27), + 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), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(127), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p1211, + FreeVars: ast.Identifiers{ + "delim", }, - File: p1, - }, - Ctx: p1088, - FreeVars: ast.Identifiers{ - "i2", }, + Id: "delim", }, - Id: "i2", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(31), - }, - End: ast.Location{ - Line: int(127), - Column: int(40), - }, - File: p1, - }, - Ctx: p1088, - FreeVars: ast.Identifiers{ - "arr", - "v", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(127), - Column: int(31), + Line: int(129), + Column: int(25), }, End: ast.Location{ - Line: int(127), - Column: int(34), + Line: int(129), + Column: int(27), }, File: p1, }, - Ctx: p1088, + Fodder: ast.Fodder{}, + Ctx: p1211, FreeVars: ast.Identifiers{ - "arr", + "i2", }, }, - Id: "arr", + Id: "i2", }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(127), - Column: int(37), + Line: int(129), + Column: int(29), }, End: ast.Location{ - Line: int(127), - Column: int(40), + Line: int(129), + Column: int(38), }, File: p1, }, - Ctx: p1088, + Fodder: ast.Fodder{}, + Ctx: p1211, FreeVars: ast.Identifiers{ + "arr", "v", }, }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(38), - }, - End: ast.Location{ - Line: int(127), - Column: int(39), - }, - File: p1, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(29), }, - Ctx: p1102, - FreeVars: ast.Identifiers{ - "v", + End: ast.Location{ + Line: int(129), + Column: int(32), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1211, + FreeVars: ast.Identifiers{ + "arr", }, - Id: "v", }, + 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: p1211, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(129), + Column: int(36), + }, + End: ast.Location{ + Line: int(129), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1225, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - TrailingComma: false, }, + CommaFodder: ast.Fodder{}, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(42), - }, - End: ast.Location{ - Line: int(127), - Column: int(44), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1211, + FreeVars: nil, }, - Ctx: p1088, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(129), - Column: int(11), + Line: int(131), + Column: int(9), }, End: ast.Location{ - Line: int(129), - Column: int(42), + Line: int(131), + Column: int(40), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{}, + Ctx: p1121, FreeVars: ast.Identifiers{ "arr", "aux", @@ -15515,179 +19182,213 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(129), - Column: int(11), + Line: int(131), + Column: int(9), }, End: ast.Location{ - Line: int(129), - Column: int(14), + Line: int(131), + Column: int(12), }, File: p1, }, - Ctx: p1003, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p1121, FreeVars: ast.Identifiers{ "aux", }, }, Id: "aux", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(15), - }, - End: ast.Location{ - Line: int(129), - Column: int(18), - }, - File: p1, - }, - Ctx: p1111, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(20), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(131), + Column: int(13), + }, + End: ast.Location{ + Line: int(131), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(129), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p1236, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p1111, - FreeVars: ast.Identifiers{ - "delim", }, + Id: "str", }, - Id: "delim", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(27), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(131), + Column: int(18), + }, + End: ast.Location{ + Line: int(131), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(129), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p1236, + FreeVars: ast.Identifiers{ + "delim", }, - File: p1, - }, - Ctx: p1111, - FreeVars: ast.Identifiers{ - "i2", }, + Id: "delim", }, - Id: "i2", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(31), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(131), + Column: int(25), + }, + End: ast.Location{ + Line: int(131), + Column: int(27), + }, + File: p1, }, - End: ast.Location{ - Line: int(129), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p1236, + FreeVars: ast.Identifiers{ + "i2", }, - File: p1, - }, - Ctx: p1111, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "i2", }, - Id: "arr", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(36), - }, - End: ast.Location{ - Line: int(129), - Column: int(41), - }, - File: p1, - }, - Ctx: p1111, - FreeVars: ast.Identifiers{ - "c", - "v", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(129), - Column: int(36), + Line: int(131), + Column: int(29), }, End: ast.Location{ - Line: int(129), - Column: int(37), + Line: int(131), + Column: int(32), }, File: p1, }, - Ctx: p1111, + Fodder: ast.Fodder{}, + Ctx: p1236, FreeVars: ast.Identifiers{ - "v", + "arr", }, }, - Id: "v", + Id: "arr", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(129), - Column: int(40), + Line: int(131), + Column: int(34), }, End: ast.Location{ - Line: int(129), - Column: int(41), + Line: int(131), + Column: int(39), }, File: p1, }, - Ctx: p1111, + Fodder: ast.Fodder{}, + Ctx: p1236, FreeVars: ast.Identifiers{ "c", + "v", }, }, - Id: "c", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(131), + Column: int(34), + }, + End: ast.Location{ + Line: int(131), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1236, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p1236, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, }, @@ -15695,23 +19396,37 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(130), - Column: int(7), + Line: int(132), + Column: int(5), }, End: ast.Location{ - Line: int(130), - Column: int(29), + Line: int(132), + Column: int(27), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{}, + Ctx: p1058, FreeVars: ast.Identifiers{ "aux", "c", @@ -15721,151 +19436,979 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(130), - Column: int(7), + Line: int(132), + Column: int(5), }, End: ast.Location{ - Line: int(130), - Column: int(10), + Line: int(132), + Column: int(8), }, File: p1, }, - Ctx: p867, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1058, FreeVars: ast.Identifiers{ "aux", }, }, Id: "aux", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(11), + 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, }, - End: ast.Location{ - Line: int(130), - Column: int(14), + Fodder: ast.Fodder{}, + Ctx: p1257, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p1131, - FreeVars: ast.Identifiers{ - "str", }, + Id: "str", }, - Id: "str", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(16), + 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, }, - End: ast.Location{ - Line: int(130), - Column: int(17), + Fodder: ast.Fodder{}, + Ctx: p1257, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, }, - Ctx: p1131, - 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: p1257, + FreeVars: nil, }, + OriginalString: "0", }, - Id: "c", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(19), + 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, }, - End: ast.Location{ - Line: int(130), - Column: int(20), + Fodder: ast.Fodder{}, + Ctx: p1257, + FreeVars: nil, + }, + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1257, + FreeVars: nil, }, - Ctx: p1131, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: float64(0), - OriginalString: "0", + 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(122), + Column: int(5), + }, + End: ast.Location{ + Line: int(132), + Column: int(27), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(122), + Column: int(38), + }, + End: ast.Location{ + Line: int(122), + Column: int(117), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + 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: p1058, + FreeVars: nil, + }, + 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: p1058, + FreeVars: ast.Identifiers{ + "maxsplits", + "std", }, - &ast.Array{ + }, + 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: p1058, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(130), - Column: int(22), + Line: int(122), + Column: int(98), }, End: ast.Location{ - Line: int(130), - Column: int(24), + Line: int(122), + Column: int(101), }, File: p1, }, - Ctx: p1131, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Elements: nil, - TrailingComma: false, + Id: "std", }, - &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(130), - Column: int(26), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(130), - Column: int(28), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p1131, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "", + Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - }, - }, - }, - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(0), - Name: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), + FodderLeft: ast.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: p1278, + FreeVars: ast.Identifiers{ + "maxsplits", + }, + }, + Id: "maxsplits", + }, + 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(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), + }, + End: ast.Location{ + Line: int(121), + Column: int(109), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(121), + Column: int(33), + }, + End: ast.Location{ + Line: int(121), + Column: int(93), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: nil, + }, + Value: "std.splitLimit 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(121), + Column: int(96), + }, + End: ast.Location{ + Line: int(121), + Column: int(109), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + 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: p1058, + 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: nil, + }, + 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(107), + }, + End: ast.Location{ + Line: int(121), + Column: int(108), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1294, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, + 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(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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(120), + Column: int(30), + }, + End: ast.Location{ + Line: int(120), + Column: int(102), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + 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: p1058, + FreeVars: nil, + }, + 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: p1058, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + 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: p1058, + 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: nil, + }, + 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(120), + Column: int(100), + }, + End: ast.Location{ + Line: int(120), + Column: int(101), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1310, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, + 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(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), + }, + End: ast.Location{ + Line: int(119), + Column: int(105), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(119), + Column: int(32), + }, + End: ast.Location{ + Line: int(119), + Column: int(89), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: nil, + }, + Value: "std.splitLimit 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(119), + Column: int(92), + }, + End: ast.Location{ + Line: int(119), + Column: int(105), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1058, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + 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: p1058, + 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: nil, + }, + 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(119), + Column: int(101), + }, + End: ast.Location{ + Line: int(119), + Column: int(104), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1326, + 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(118), + Column: int(3), + }, + End: ast.Location{ + Line: int(132), + Column: int(27), + }, + 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{ @@ -15874,12 +20417,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "strReplace", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -15895,20 +20440,74 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "from", - "to", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -15923,6 +20522,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "from", @@ -15931,161 +20531,133 @@ var _StdAst = &ast.DesugaredObject{ "to", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(133), + Line: int(135), Column: int(12), }, End: ast.Location{ - Line: int(133), - Column: int(37), + Line: int(135), + Column: int(29), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "std", "str", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(133), + Line: int(135), Column: int(12), }, End: ast.Location{ - Line: int(133), - Column: int(25), + Line: int(135), + Column: int(24), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "std", - "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(133), + Line: int(135), Column: int(12), }, End: ast.Location{ - Line: int(133), - Column: int(20), + Line: int(135), + Column: int(15), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(133), - Column: int(12), - }, - End: ast.Location{ - Line: int(133), - Column: int(15), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isString", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(133), - Column: int(21), + Line: int(135), + Column: int(25), }, End: ast.Location{ - Line: int(133), - Column: int(24), + Line: int(135), + Column: int(28), }, File: p1, }, - Ctx: p1156, + Fodder: ast.Fodder{}, + Ctx: p1344, FreeVars: ast.Identifiers{ "str", }, }, Id: "str", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(133), - Column: int(29), - }, - End: ast.Location{ - Line: int(133), - Column: int(37), - }, - File: p1, - }, - Ctx: p1145, - FreeVars: nil, }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + ThenFodder: nil, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -16100,6 +20672,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "from", @@ -16108,161 +20681,133 @@ var _StdAst = &ast.DesugaredObject{ "to", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(134), + Line: int(136), Column: int(12), }, End: ast.Location{ - Line: int(134), - Column: int(38), + Line: int(136), + Column: int(30), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "from", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(134), + Line: int(136), Column: int(12), }, End: ast.Location{ - Line: int(134), - Column: int(26), + Line: int(136), + Column: int(24), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ - "from", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(134), + Line: int(136), Column: int(12), }, End: ast.Location{ - Line: int(134), - Column: int(20), + Line: int(136), + Column: int(15), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(134), - Column: int(12), - }, - End: ast.Location{ - Line: int(134), - Column: int(15), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isString", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(134), - Column: int(21), + Line: int(136), + Column: int(25), }, End: ast.Location{ - Line: int(134), - Column: int(25), + Line: int(136), + Column: int(29), }, File: p1, }, - Ctx: p1172, + Fodder: ast.Fodder{}, + Ctx: p1357, FreeVars: ast.Identifiers{ "from", }, }, Id: "from", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(134), - Column: int(30), - }, - End: ast.Location{ - Line: int(134), - Column: int(38), - }, - File: p1, - }, - Ctx: p1145, - FreeVars: nil, }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + ThenFodder: nil, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -16277,6 +20822,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "from", @@ -16285,161 +20831,133 @@ var _StdAst = &ast.DesugaredObject{ "to", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(135), + Line: int(137), Column: int(12), }, End: ast.Location{ - Line: int(135), - Column: int(36), + Line: int(137), + Column: int(28), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "std", "to", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(135), + Line: int(137), Column: int(12), }, End: ast.Location{ - Line: int(135), + Line: int(137), Column: int(24), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "std", - "to", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(135), + Line: int(137), Column: int(12), }, End: ast.Location{ - Line: int(135), - Column: int(20), + Line: int(137), + Column: int(15), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - 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, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isString", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(135), - Column: int(21), + Line: int(137), + Column: int(25), }, End: ast.Location{ - Line: int(135), - Column: int(23), + Line: int(137), + Column: int(27), }, File: p1, }, - Ctx: p1188, + Fodder: ast.Fodder{}, + Ctx: p1370, FreeVars: ast.Identifiers{ "to", }, }, Id: "to", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(28), - }, - End: ast.Location{ - Line: int(135), - Column: int(36), - }, - File: p1, - }, - Ctx: p1145, - FreeVars: nil, }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + ThenFodder: nil, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -16454,6 +20972,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "from", @@ -16465,18 +20984,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(136), + Line: int(138), Column: int(12), }, End: ast.Location{ - Line: int(136), + Line: int(138), Column: int(22), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "from", }, @@ -16484,62 +21004,83 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(136), + Line: int(138), Column: int(12), }, End: ast.Location{ - Line: int(136), + Line: int(138), Column: int(16), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "from", }, }, Id: "from", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(13), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(136), + Line: int(138), Column: int(20), }, End: ast.Location{ - Line: int(136), + Line: int(138), Column: int(22), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: nil, }, Value: "", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: nil, BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(139), + Line: int(141), Column: int(5), }, End: ast.Location{ - Line: int(161), + Line: int(163), Column: int(30), }, File: p1, }, - Ctx: p1145, + 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.", + }, + }, + }, + Ctx: p1335, FreeVars: ast.Identifiers{ "from", "std", @@ -16549,22 +21090,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "str_len", + EqFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(139), + Line: int(141), Column: int(21), }, End: ast.Location{ - Line: int(139), + Line: int(141), Column: int(36), }, File: p1, }, - Ctx: p1202, + Fodder: ast.Fodder{}, + Ctx: p1385, FreeVars: ast.Identifiers{ "std", "str", @@ -16573,18 +21117,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(139), + Line: int(141), Column: int(21), }, End: ast.Location{ - Line: int(139), + Line: int(141), Column: int(31), }, File: p1, }, - Ctx: p1202, + Fodder: ast.Fodder{}, + Ctx: p1385, FreeVars: ast.Identifiers{ "std", }, @@ -16592,17 +21137,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(139), + Line: int(141), Column: int(21), }, End: ast.Location{ - Line: int(139), + Line: int(141), Column: int(24), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -16610,6 +21156,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -16624,62 +21171,93 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(32), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(139), - Column: int(35), + Fodder: ast.Fodder{}, + Ctx: p1394, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p1211, - FreeVars: ast.Identifiers{ - "str", }, + Id: "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(141), + Column: int(11), + }, + End: ast.Location{ + Line: int(141), + Column: int(36), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(140), + Line: int(142), Column: int(5), }, End: ast.Location{ - Line: int(161), + Line: int(163), Column: int(30), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1335, FreeVars: ast.Identifiers{ "from", "std", @@ -16690,22 +21268,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "from_len", + EqFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(140), + Line: int(142), Column: int(22), }, End: ast.Location{ - Line: int(140), + Line: int(142), Column: int(38), }, File: p1, }, - Ctx: p1217, + Fodder: ast.Fodder{}, + Ctx: p1401, FreeVars: ast.Identifiers{ "from", "std", @@ -16714,18 +21295,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(140), + Line: int(142), Column: int(22), }, End: ast.Location{ - Line: int(140), + Line: int(142), Column: int(32), }, File: p1, }, - Ctx: p1217, + Fodder: ast.Fodder{}, + Ctx: p1401, FreeVars: ast.Identifiers{ "std", }, @@ -16733,17 +21315,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(140), + Line: int(142), Column: int(22), }, End: ast.Location{ - Line: int(140), + Line: int(142), Column: int(25), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -16751,6 +21334,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -16765,62 +21349,101 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(140), - Column: int(33), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(140), - Column: int(37), + Fodder: ast.Fodder{}, + Ctx: p1410, + FreeVars: ast.Identifiers{ + "from", }, - File: p1, - }, - Ctx: p1226, - FreeVars: ast.Identifiers{ - "from", }, + Id: "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(142), + Column: int(11), + }, + End: ast.Location{ + Line: int(142), + Column: int(38), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(143), + Line: int(145), Column: int(5), }, End: ast.Location{ - Line: int(161), + Line: int(163), Column: int(30), }, File: p1, }, - Ctx: p1145, + 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: p1335, FreeVars: ast.Identifiers{ "from", "from_len", @@ -16832,22 +21455,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "found_at", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(143), + Line: int(145), Column: int(11), }, End: ast.Location{ - Line: int(143), + Line: int(145), Column: int(52), }, File: p1, }, - Ctx: p1232, + Fodder: nil, + Ctx: p1418, FreeVars: ast.Identifiers{ "from", "from_len", @@ -16855,28 +21481,46 @@ var _StdAst = &ast.DesugaredObject{ "str", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(143), + Line: int(145), Column: int(25), }, End: ast.Location{ - Line: int(143), + Line: int(145), Column: int(52), }, File: p1, }, - Ctx: p1236, + Fodder: ast.Fodder{}, + Ctx: p1422, FreeVars: ast.Identifiers{ "from", "from_len", @@ -16890,15 +21534,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(145), + Column: int(25), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(145), + Column: int(44), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "from_len", @@ -16921,6 +21566,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -16940,6 +21586,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -16947,6 +21594,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -16961,163 +21609,190 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "slice", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(25), - }, - End: ast.Location{ - Line: int(143), - Column: int(28), - }, - File: p1, - }, - Ctx: p1236, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(29), + 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, }, - End: ast.Location{ - Line: int(143), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p1422, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p1236, - FreeVars: ast.Identifiers{ - "i", }, + Id: "str", }, - Id: "i", + CommaFodder: nil, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(31), - }, - End: ast.Location{ - Line: int(143), - Column: int(43), - }, - File: p1, - }, - Ctx: p1236, - FreeVars: ast.Identifiers{ - "from_len", - "i", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(143), - Column: int(31), + Line: int(145), + Column: int(29), }, End: ast.Location{ - Line: int(143), - Column: int(32), + Line: int(145), + Column: int(30), }, File: p1, }, - Ctx: p1236, + Fodder: ast.Fodder{}, + Ctx: p1422, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(143), - Column: int(35), + Line: int(145), + Column: int(31), }, End: ast.Location{ - Line: int(143), + Line: int(145), Column: int(43), }, File: p1, }, - Ctx: p1236, + Fodder: ast.Fodder{}, + Ctx: p1422, FreeVars: ast.Identifiers{ "from_len", + "i", }, }, - Id: "from_len", - }, - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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: p1422, + FreeVars: ast.Identifiers{ + "i", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p1422, + FreeVars: ast.Identifiers{ + "from_len", + }, }, - File: nil, + 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: nil, }, - Ctx: nil, - FreeVars: nil, }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(143), + Line: int(145), Column: int(48), }, End: ast.Location{ - Line: int(143), + Line: int(145), Column: int(52), }, File: p1, }, - Ctx: p1236, + Fodder: ast.Fodder{}, + Ctx: p1422, FreeVars: ast.Identifiers{ "from", }, @@ -17127,23 +21802,60 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(147), + Line: int(149), Column: int(5), }, End: ast.Location{ - Line: int(161), + Line: int(163), Column: int(30), }, File: p1, }, - Ctx: p1145, + 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: p1335, FreeVars: ast.Identifiers{ "found_at", "from", @@ -17156,22 +21868,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "replace_after", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(147), + Line: int(149), Column: int(11), }, End: ast.Location{ - Line: int(154), + Line: int(156), Column: int(56), }, File: p1, }, - Ctx: p1263, + Fodder: nil, + Ctx: p1452, FreeVars: ast.Identifiers{ "found_at", "from", @@ -17182,30 +21897,91 @@ var _StdAst = &ast.DesugaredObject{ "to", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "start_index", - "curr_index", - "acc", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(148), + Line: int(150), Column: int(7), }, End: ast.Location{ - Line: int(154), + Line: int(156), Column: int(56), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p1457, FreeVars: ast.Identifiers{ "acc", "curr_index", @@ -17222,18 +21998,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(148), + Line: int(150), Column: int(10), }, End: ast.Location{ - Line: int(148), + Line: int(150), Column: int(30), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "curr_index", "str_len", @@ -17242,40 +22019,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(148), + Line: int(150), Column: int(10), }, End: ast.Location{ - Line: int(148), + Line: int(150), Column: int(20), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(148), + Line: int(150), Column: int(23), }, End: ast.Location{ - Line: int(148), + Line: int(150), Column: int(30), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "str_len", }, @@ -17283,21 +22063,23 @@ var _StdAst = &ast.DesugaredObject{ Id: "str_len", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(149), + Line: int(151), Column: int(9), }, End: ast.Location{ - Line: int(149), + Line: int(151), Column: int(42), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "acc", "curr_index", @@ -17309,39 +22091,49 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(149), + Line: int(151), Column: int(9), }, End: ast.Location{ - Line: int(149), + Line: int(151), Column: int(12), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p1457, 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(0), - Column: int(0), + Line: int(151), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(151), + Column: int(42), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "curr_index", @@ -17364,6 +22156,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -17383,6 +22176,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -17390,6 +22184,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -17404,120 +22199,151 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "slice", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(15), + 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, }, - End: ast.Location{ - Line: int(149), - Column: int(18), + Fodder: ast.Fodder{}, + Ctx: p1457, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p1267, - FreeVars: ast.Identifiers{ - "str", }, + Id: "str", }, - Id: "str", + CommaFodder: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(19), + 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, }, - End: ast.Location{ - Line: int(149), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p1457, + FreeVars: ast.Identifiers{ + "start_index", }, - File: p1, - }, - Ctx: p1267, - FreeVars: ast.Identifiers{ - "start_index", }, + Id: "start_index", }, - Id: "start_index", + CommaFodder: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(31), + 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, }, - End: ast.Location{ - Line: int(149), - Column: int(41), + Fodder: ast.Fodder{}, + Ctx: p1457, + FreeVars: ast.Identifiers{ + "curr_index", }, - File: p1, - }, - Ctx: p1267, - FreeVars: ast.Identifiers{ - "curr_index", }, + Id: "curr_index", }, - Id: "curr_index", + CommaFodder: nil, }, - &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), + 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, }, - File: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Ctx: nil, - FreeVars: 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(6), + Comment: []string{}, }, }, BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(150), + Line: int(152), Column: int(12), }, End: ast.Location{ - Line: int(154), + Line: int(156), Column: int(56), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "acc", "curr_index", @@ -17533,18 +22359,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(150), + Line: int(152), Column: int(15), }, End: ast.Location{ - Line: int(150), + Line: int(152), Column: int(35), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "curr_index", "found_at", @@ -17553,68 +22380,85 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(150), + Line: int(152), Column: int(15), }, End: ast.Location{ - Line: int(150), + Line: int(152), Column: int(23), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "found_at", }, }, Id: "found_at", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(24), + 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, }, - End: ast.Location{ - Line: int(150), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p1494, + FreeVars: ast.Identifiers{ + "curr_index", }, - File: p1, - }, - Ctx: p1302, - FreeVars: ast.Identifiers{ - "curr_index", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(151), + Line: int(153), Column: int(9), }, End: ast.Location{ - Line: int(152), + Line: int(154), Column: int(84), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p1457, FreeVars: ast.Identifiers{ "acc", "curr_index", @@ -17628,22 +22472,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "new_index", + EqFodder: ast.Fodder{}, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(151), + Line: int(153), Column: int(27), }, End: ast.Location{ - Line: int(151), + Line: int(153), Column: int(56), }, File: p1, }, - Ctx: p1308, + Fodder: ast.Fodder{}, + Ctx: p1501, FreeVars: ast.Identifiers{ "curr_index", "from", @@ -17653,40 +22500,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(151), + Line: int(153), Column: int(27), }, End: ast.Location{ - Line: int(151), + Line: int(153), Column: int(37), }, File: p1, }, - Ctx: p1308, + Fodder: ast.Fodder{}, + Ctx: p1501, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(151), + Line: int(153), Column: int(40), }, End: ast.Location{ - Line: int(151), + Line: int(153), Column: int(56), }, File: p1, }, - Ctx: p1308, + Fodder: ast.Fodder{}, + Ctx: p1501, FreeVars: ast.Identifiers{ "from", "std", @@ -17695,18 +22545,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(151), + Line: int(153), Column: int(40), }, End: ast.Location{ - Line: int(151), + Line: int(153), Column: int(50), }, File: p1, }, - Ctx: p1308, + Fodder: ast.Fodder{}, + Ctx: p1501, FreeVars: ast.Identifiers{ "std", }, @@ -17714,17 +22565,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(151), + Line: int(153), Column: int(40), }, End: ast.Location{ - Line: int(151), + Line: int(153), Column: int(43), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -17732,6 +22584,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -17746,63 +22599,87 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(151), - Column: int(51), + 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, }, - End: ast.Location{ - Line: int(151), - Column: int(55), + Fodder: ast.Fodder{}, + Ctx: p1514, + FreeVars: ast.Identifiers{ + "from", }, - File: p1, - }, - Ctx: p1321, - FreeVars: ast.Identifiers{ - "from", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(152), + Line: int(154), Column: int(9), }, End: ast.Location{ - Line: int(152), + Line: int(154), Column: int(84), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "acc", "curr_index", @@ -17817,179 +22694,183 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(152), + Line: int(154), Column: int(9), }, End: ast.Location{ - Line: int(152), + Line: int(154), Column: int(22), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p1457, FreeVars: ast.Identifiers{ "replace_after", }, }, Id: "replace_after", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(23), + 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, }, - End: ast.Location{ - Line: int(152), - Column: int(32), + Fodder: ast.Fodder{}, + Ctx: p1523, + FreeVars: ast.Identifiers{ + "new_index", }, - File: p1, - }, - Ctx: p1329, - FreeVars: ast.Identifiers{ - "new_index", }, + Id: "new_index", }, - Id: "new_index", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(34), + 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, }, - End: ast.Location{ - Line: int(152), - Column: int(43), + Fodder: ast.Fodder{}, + Ctx: p1523, + FreeVars: ast.Identifiers{ + "new_index", }, - File: p1, - }, - Ctx: p1329, - FreeVars: ast.Identifiers{ - "new_index", }, + Id: "new_index", }, - Id: "new_index", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(45), - }, - End: ast.Location{ - Line: int(152), - Column: int(83), - }, - File: p1, - }, - Ctx: p1329, - FreeVars: ast.Identifiers{ - "acc", - "curr_index", - "start_index", - "std", - "str", - "to", - }, - }, - Left: &ast.Binary{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(152), + Line: int(154), Column: int(45), }, End: ast.Location{ - Line: int(152), - Column: int(78), + Line: int(154), + Column: int(83), }, File: p1, }, - Ctx: p1329, + Fodder: ast.Fodder{}, + Ctx: p1523, FreeVars: ast.Identifiers{ "acc", "curr_index", "start_index", "std", "str", + "to", }, }, - Left: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(152), + Line: int(154), Column: int(45), }, End: ast.Location{ - Line: int(152), - Column: int(48), + Line: int(154), + Column: int(78), }, File: p1, }, - Ctx: p1329, + Fodder: ast.Fodder{}, + Ctx: p1523, FreeVars: ast.Identifiers{ "acc", - }, - }, - Id: "acc", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ "curr_index", "start_index", "std", "str", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(154), + Column: int(45), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(154), + Column: int(48), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1523, + 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{ + "curr_index", + "start_index", "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -18003,171 +22884,230 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(152), - Column: int(51), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(152), - Column: int(54), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p1329, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", + Id: "std", }, - &ast.Var{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(152), - Column: int(55), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(152), - Column: int(66), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p1329, - FreeVars: ast.Identifiers{ - "start_index", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "start_index", + Value: "slice", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(67), - }, - End: ast.Location{ - Line: int(152), - Column: int(77), + 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: p1523, + FreeVars: ast.Identifiers{ + "str", + }, }, - File: p1, + Id: "str", }, - Ctx: p1329, - FreeVars: ast.Identifiers{ - "curr_index", + 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: p1523, + FreeVars: ast.Identifiers{ + "start_index", + }, + }, + Id: "start_index", }, + CommaFodder: nil, }, - Id: "curr_index", - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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: p1523, + FreeVars: ast.Identifiers{ + "curr_index", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: nil, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + CommaFodder: nil, }, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(152), - Column: int(81), + 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, }, - End: ast.Location{ - Line: int(152), - Column: int(83), + Fodder: ast.Fodder{}, + Ctx: p1523, + FreeVars: ast.Identifiers{ + "to", }, - File: p1, - }, - Ctx: p1329, - FreeVars: ast.Identifiers{ - "to", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(154), + Line: int(156), Column: int(9), }, End: ast.Location{ - Line: int(154), + Line: int(156), Column: int(56), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{}, + Ctx: p1457, FreeVars: ast.Identifiers{ "acc", "curr_index", @@ -18178,157 +23118,219 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(154), + Line: int(156), Column: int(9), }, End: ast.Location{ - Line: int(154), + Line: int(156), Column: int(22), }, File: p1, }, - Ctx: p1267, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p1457, FreeVars: ast.Identifiers{ "replace_after", }, }, Id: "replace_after", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(23), + 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, }, - End: ast.Location{ - Line: int(154), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p1558, + FreeVars: ast.Identifiers{ + "start_index", }, - File: p1, - }, - Ctx: p1362, - FreeVars: ast.Identifiers{ - "start_index", }, + Id: "start_index", }, - Id: "start_index", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(36), - }, - End: ast.Location{ - Line: int(154), - Column: int(50), - }, - File: p1, - }, - Ctx: p1362, - FreeVars: ast.Identifiers{ - "curr_index", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(154), + Line: int(156), Column: int(36), }, End: ast.Location{ - Line: int(154), - Column: int(46), + Line: int(156), + Column: int(50), }, File: p1, }, - Ctx: p1362, + Fodder: ast.Fodder{}, + Ctx: p1558, FreeVars: ast.Identifiers{ "curr_index", }, }, - Id: "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: p1558, + 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: p1558, + FreeVars: nil, + }, + OriginalString: "1", + }, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(154), - Column: int(49), + Line: int(156), + Column: int(52), }, End: ast.Location{ - Line: int(154), - Column: int(50), + Line: int(156), + Column: int(55), }, File: p1, }, - Ctx: p1362, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(52), - }, - End: ast.Location{ - Line: int(154), - Column: int(55), + Fodder: ast.Fodder{}, + Ctx: p1558, + FreeVars: ast.Identifiers{ + "acc", }, - File: p1, - }, - Ctx: p1362, - FreeVars: ast.Identifiers{ - "acc", }, + Id: "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.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(158), + Line: int(160), Column: int(5), }, End: ast.Location{ - Line: int(161), + Line: int(163), Column: int(30), }, File: p1, }, - Ctx: p1145, + 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{ + "// if from_len==1, then we replace by splitting and rejoining the", + }, + }, + ast.FodderElement{ + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(4), + Comment: []string{ + "// string which is much faster than recursing on replace_after", + }, + }, + }, + Ctx: p1335, FreeVars: ast.Identifiers{ "from", "from_len", @@ -18341,18 +23343,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(158), + Line: int(160), Column: int(8), }, End: ast.Location{ - Line: int(158), + Line: int(160), Column: int(21), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "from_len", }, @@ -18360,61 +23363,65 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(158), + Line: int(160), Column: int(8), }, End: ast.Location{ - Line: int(158), + Line: int(160), Column: int(16), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(158), + Line: int(160), Column: int(20), }, End: ast.Location{ - Line: int(158), + Line: int(160), Column: int(21), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(159), + Line: int(161), Column: int(7), }, End: ast.Location{ - Line: int(159), + Line: int(161), Column: int(41), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "from", "std", @@ -18425,18 +23432,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(159), + Line: int(161), Column: int(7), }, End: ast.Location{ - Line: int(159), + Line: int(161), Column: int(15), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "std", }, @@ -18444,17 +23452,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(159), + Line: int(161), Column: int(7), }, End: ast.Location{ - Line: int(159), + 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", @@ -18462,6 +23478,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -18476,193 +23493,233 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "join", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(159), - Column: int(16), + 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, }, - End: ast.Location{ - Line: int(159), - Column: int(18), + Fodder: ast.Fodder{}, + Ctx: p1587, + FreeVars: ast.Identifiers{ + "to", }, - File: p1, - }, - Ctx: p1387, - FreeVars: ast.Identifiers{ - "to", }, + Id: "to", }, - Id: "to", + CommaFodder: ast.Fodder{}, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(159), - Column: int(20), - }, - End: ast.Location{ - Line: int(159), - Column: int(40), - }, - File: p1, - }, - Ctx: p1387, - FreeVars: ast.Identifiers{ - "from", - "std", - "str", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(159), + Line: int(161), Column: int(20), }, End: ast.Location{ - Line: int(159), - Column: int(29), + Line: int(161), + Column: int(40), }, File: p1, }, - Ctx: p1387, + Fodder: ast.Fodder{}, + Ctx: p1587, FreeVars: ast.Identifiers{ + "from", "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(159), + Line: int(161), Column: int(20), }, End: ast.Location{ - Line: int(159), - Column: int(23), + Line: int(161), + Column: int(29), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1587, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "split", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(159), - Column: int(30), + Line: int(161), + Column: int(20), }, End: ast.Location{ - Line: int(159), - Column: int(33), + Line: int(161), + Column: int(23), }, File: p1, }, - Ctx: p1398, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", + Id: "std", }, - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(159), - Column: int(35), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(159), - Column: int(39), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p1398, - FreeVars: ast.Identifiers{ - "from", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: p1598, + 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: p1598, + FreeVars: ast.Identifiers{ + "from", + }, + }, + Id: "from", + }, + CommaFodder: nil, }, - Id: "from", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - 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.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(161), + Line: int(163), Column: int(7), }, End: ast.Location{ - Line: int(161), + Line: int(163), Column: int(30), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: ast.Identifiers{ "replace_after", }, @@ -18670,152 +23727,180 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(161), + Line: int(163), Column: int(7), }, End: ast.Location{ - Line: int(161), + Line: int(163), Column: int(20), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p1335, FreeVars: ast.Identifiers{ "replace_after", }, }, Id: "replace_after", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(21), - }, - End: ast.Location{ - Line: int(161), - Column: int(22), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1610, + FreeVars: nil, }, - Ctx: p1408, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(24), - }, - End: ast.Location{ - Line: int(161), - Column: int(25), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1610, + FreeVars: nil, }, - Ctx: p1408, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(27), - }, - End: ast.Location{ - Line: int(161), - Column: int(29), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1610, + FreeVars: nil, }, - Ctx: p1408, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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(0), - Column: int(0), + Line: int(138), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(163), + Column: int(30), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(136), + Line: int(138), Column: int(25), }, End: ast.Location{ - Line: int(136), + Line: int(138), Column: int(65), }, File: p1, }, - Ctx: p1145, + Fodder: ast.Fodder{}, + Ctx: p1335, FreeVars: nil, }, Value: "'from' string must not be zero length.", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, + ElseFodder: nil, BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(137), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(163), + Column: int(30), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, @@ -18833,29 +23918,33 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "Assertion failed", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, + ElseFodder: nil, BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(136), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(163), + Column: int(30), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, @@ -18873,29 +23962,33 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "Assertion failed", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, }, + ElseFodder: nil, BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(135), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(163), + Column: int(30), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, @@ -18913,17 +24006,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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), @@ -18941,12 +24048,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "asciiUpper", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -18962,56 +24071,85 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(164), + Line: int(166), Column: int(5), }, End: ast.Location{ - Line: int(169), - Column: int(57), + Line: int(171), + Column: int(59), }, File: p1, }, - Ctx: p1424, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1627, FreeVars: ast.Identifiers{ "std", - "x", + "str", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "cp", + EqFodder: ast.Fodder{}, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(164), + Line: int(166), Column: int(16), }, End: ast.Location{ - Line: int(164), + Line: int(166), Column: int(29), }, File: p1, }, - Ctx: p1428, + Fodder: ast.Fodder{}, + Ctx: p1631, FreeVars: ast.Identifiers{ "std", }, @@ -19019,17 +24157,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(164), + Line: int(166), Column: int(16), }, End: ast.Location{ - Line: int(164), + Line: int(166), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -19037,6 +24176,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -19051,84 +24191,129 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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(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: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(5), }, End: ast.Location{ - Line: int(169), - Column: int(57), + Line: int(171), + Column: int(59), }, File: p1, }, - Ctx: p1424, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1627, FreeVars: ast.Identifiers{ "cp", "std", - "x", + "str", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "up_letter", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(11), }, End: ast.Location{ - Line: int(168), + Line: int(170), Column: int(8), }, File: p1, }, - Ctx: p1437, + Fodder: nil, + Ctx: p1641, FreeVars: ast.Identifiers{ "cp", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "c", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(26), }, End: ast.Location{ - Line: int(168), + Line: int(170), Column: int(8), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", "cp", @@ -19138,18 +24323,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(29), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(55), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", "cp", @@ -19158,18 +24344,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(29), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(40), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", "cp", @@ -19178,18 +24365,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(29), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(34), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", "cp", @@ -19198,91 +24386,102 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(29), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(31), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "cp", }, }, Id: "cp", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(32), + 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, }, - End: ast.Location{ - Line: int(165), - Column: int(33), + Fodder: ast.Fodder{}, + Ctx: p1657, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, - }, - Ctx: p1453, - FreeVars: ast.Identifiers{ - "c", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(38), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(40), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: nil, }, - Value: float64(97), OriginalString: "97", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(17), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(44), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(55), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", "cp", @@ -19291,18 +24490,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(44), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(49), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", "cp", @@ -19311,91 +24511,102 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(44), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(46), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "cp", }, }, Id: "cp", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(47), + 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, }, - End: ast.Location{ - Line: int(165), - Column: int(48), + Fodder: ast.Fodder{}, + Ctx: p1668, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, - }, - Ctx: p1464, - FreeVars: ast.Identifiers{ - "c", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(165), + Line: int(167), Column: int(52), }, End: ast.Location{ - Line: int(165), + Line: int(167), Column: int(55), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: nil, }, - Value: float64(123), OriginalString: "123", }, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(166), + Line: int(168), Column: int(7), }, End: ast.Location{ - Line: int(166), + Line: int(168), Column: int(27), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", "cp", @@ -19405,18 +24616,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(166), + Line: int(168), Column: int(7), }, End: ast.Location{ - Line: int(166), + Line: int(168), Column: int(15), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{}, + Ctx: p1645, FreeVars: ast.Identifiers{ "std", }, @@ -19424,17 +24636,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(166), + Line: int(168), Column: int(7), }, End: ast.Location{ - Line: int(166), + 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", @@ -19442,6 +24662,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -19456,150 +24677,186 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "char", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(16), - }, - End: ast.Location{ - Line: int(166), - Column: int(26), - }, - File: p1, - }, - Ctx: p1476, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(166), + Line: int(168), Column: int(16), }, End: ast.Location{ - Line: int(166), - Column: int(21), + Line: int(168), + Column: int(26), }, File: p1, }, - Ctx: p1476, + Fodder: ast.Fodder{}, + Ctx: p1681, FreeVars: ast.Identifiers{ "c", "cp", }, }, - Target: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(166), + Line: int(168), Column: int(16), }, End: ast.Location{ - Line: int(166), - Column: int(18), + Line: int(168), + Column: int(21), }, File: p1, }, - Ctx: p1476, + Fodder: ast.Fodder{}, + Ctx: p1681, FreeVars: ast.Identifiers{ + "c", "cp", }, }, - Id: "cp", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(19), - }, - End: ast.Location{ - Line: int(166), - Column: int(20), - }, - File: p1, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(168), + Column: int(16), }, - Ctx: p1484, - FreeVars: ast.Identifiers{ - "c", + End: ast.Location{ + Line: int(168), + Column: int(18), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1681, + FreeVars: ast.Identifiers{ + "cp", }, - Id: "c", }, + Id: "cp", }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(24), + FodderLeft: ast.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: p1689, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, + CommaFodder: nil, + }, }, - End: ast.Location{ - Line: int(166), - Column: int(26), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1681, + FreeVars: nil, }, - Ctx: p1476, - FreeVars: nil, + OriginalString: "32", }, - Value: float64(32), - 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: "", + FileName: "", Begin: ast.Location{ - Line: int(168), + Line: int(170), Column: int(7), }, End: ast.Location{ - Line: int(168), + Line: int(170), Column: int(8), }, File: p1, }, - Ctx: p1441, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p1645, FreeVars: ast.Identifiers{ "c", }, @@ -19609,44 +24866,59 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(169), + Line: int(171), Column: int(5), }, End: ast.Location{ - Line: int(169), - Column: int(57), + Line: int(171), + Column: int(59), }, File: p1, }, - Ctx: p1424, + Fodder: ast.Fodder{}, + Ctx: p1627, FreeVars: ast.Identifiers{ "std", + "str", "up_letter", - "x", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(169), + Line: int(171), Column: int(5), }, End: ast.Location{ - Line: int(169), + Line: int(171), Column: int(13), }, File: p1, }, - Ctx: p1424, + Fodder: ast.Fodder{}, + Ctx: p1627, FreeVars: ast.Identifiers{ "std", }, @@ -19654,17 +24926,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(169), + Line: int(171), Column: int(5), }, End: ast.Location{ - Line: int(169), + 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", @@ -19672,6 +24952,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -19686,273 +24967,330 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "join", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(169), - Column: int(14), - }, - End: ast.Location{ - Line: int(169), - Column: int(16), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1706, + FreeVars: nil, }, - Ctx: p1498, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(169), - Column: int(18), - }, - End: ast.Location{ - Line: int(169), - Column: int(56), - }, - File: p1, - }, - Ctx: p1498, - FreeVars: ast.Identifiers{ - "std", - "up_letter", - "x", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(169), + Line: int(171), Column: int(18), }, End: ast.Location{ - Line: int(169), - Column: int(25), + Line: int(171), + Column: int(58), }, File: p1, }, - Ctx: p1498, + Fodder: ast.Fodder{}, + Ctx: p1706, FreeVars: ast.Identifiers{ "std", + "str", + "up_letter", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(169), + Line: int(171), Column: int(18), }, End: ast.Location{ - Line: int(169), - Column: int(21), + Line: int(171), + Column: int(25), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1706, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(169), - Column: int(26), + Line: int(171), + Column: int(18), }, End: ast.Location{ - Line: int(169), - Column: int(35), + Line: int(171), + Column: int(21), }, File: p1, }, - Ctx: p1508, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "up_letter", + "std", }, }, - Id: "up_letter", + Id: "std", }, - &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(169), - Column: int(37), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(169), - Column: int(55), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p1508, - FreeVars: ast.Identifiers{ - "std", - "x", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(169), - Column: int(37), - }, - End: ast.Location{ - Line: int(169), - Column: int(52), - }, - File: p1, - }, - Ctx: p1508, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(169), - Column: int(37), + Line: int(171), + Column: int(26), }, End: ast.Location{ - Line: int(169), - Column: int(40), + Line: int(171), + Column: int(35), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1716, FreeVars: ast.Identifiers{ - "std", + "up_letter", }, }, - Id: "std", + Id: "up_letter", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(171), + Column: int(37), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(171), + Column: int(57), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1716, + FreeVars: ast.Identifiers{ + "std", + "str", }, - Ctx: nil, - FreeVars: nil, }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(169), - Column: int(53), + Line: int(171), + Column: int(37), }, End: ast.Location{ - Line: int(169), - Column: int(54), + Line: int(171), + Column: int(52), }, File: p1, }, - Ctx: p1519, + Fodder: ast.Fodder{}, + Ctx: p1716, FreeVars: ast.Identifiers{ - "x", + "std", }, }, - Id: "x", + 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: nil, + }, + 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: p1727, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - 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(165), + Column: int(3), + }, + End: ast.Location{ + Line: int(171), + Column: int(59), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -19970,12 +25308,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "asciiLower", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -19991,56 +25331,85 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(172), + Line: int(174), Column: int(5), }, End: ast.Location{ - Line: int(177), - Column: int(59), + Line: int(179), + Column: int(61), }, File: p1, }, - Ctx: p1526, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1735, FreeVars: ast.Identifiers{ "std", - "x", + "str", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "cp", + EqFodder: ast.Fodder{}, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(172), + Line: int(174), Column: int(16), }, End: ast.Location{ - Line: int(172), + Line: int(174), Column: int(29), }, File: p1, }, - Ctx: p1530, + Fodder: ast.Fodder{}, + Ctx: p1739, FreeVars: ast.Identifiers{ "std", }, @@ -20048,17 +25417,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(172), + Line: int(174), Column: int(16), }, End: ast.Location{ - Line: int(172), + Line: int(174), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -20066,6 +25436,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -20080,84 +25451,129 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(5), }, End: ast.Location{ - Line: int(177), - Column: int(59), + Line: int(179), + Column: int(61), }, File: p1, }, - Ctx: p1526, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1735, FreeVars: ast.Identifiers{ "cp", "std", - "x", + "str", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "down_letter", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(11), }, End: ast.Location{ - Line: int(176), + Line: int(178), Column: int(8), }, File: p1, }, - Ctx: p1539, + Fodder: nil, + Ctx: p1749, FreeVars: ast.Identifiers{ "cp", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "c", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(28), }, End: ast.Location{ - Line: int(176), + Line: int(178), Column: int(8), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", "cp", @@ -20167,18 +25583,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(31), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(56), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", "cp", @@ -20187,18 +25604,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(31), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(42), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", "cp", @@ -20207,18 +25625,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(31), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(36), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", "cp", @@ -20227,91 +25646,102 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(31), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(33), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "cp", }, }, Id: "cp", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(34), + 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, }, - End: ast.Location{ - Line: int(173), - Column: int(35), + Fodder: ast.Fodder{}, + Ctx: p1765, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, - }, - Ctx: p1555, - FreeVars: ast.Identifiers{ - "c", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(40), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(42), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: nil, }, - Value: float64(65), OriginalString: "65", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(17), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(46), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(56), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", "cp", @@ -20320,18 +25750,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(46), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(51), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", "cp", @@ -20340,91 +25771,102 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(46), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(48), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "cp", }, }, Id: "cp", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(49), + 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, }, - End: ast.Location{ - Line: int(173), - Column: int(50), + Fodder: ast.Fodder{}, + Ctx: p1776, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, - }, - Ctx: p1566, - FreeVars: ast.Identifiers{ - "c", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(173), + Line: int(175), Column: int(54), }, End: ast.Location{ - Line: int(173), + Line: int(175), Column: int(56), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: nil, }, - Value: float64(91), OriginalString: "91", }, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(174), + Line: int(176), Column: int(7), }, End: ast.Location{ - Line: int(174), + Line: int(176), Column: int(27), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", "cp", @@ -20434,18 +25876,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(174), + Line: int(176), Column: int(7), }, End: ast.Location{ - Line: int(174), + Line: int(176), Column: int(15), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{}, + Ctx: p1753, FreeVars: ast.Identifiers{ "std", }, @@ -20453,17 +25896,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(174), + Line: int(176), Column: int(7), }, End: ast.Location{ - Line: int(174), + 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", @@ -20471,6 +25922,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -20485,150 +25937,186 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "char", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(174), - Column: int(16), - }, - End: ast.Location{ - Line: int(174), - Column: int(26), - }, - File: p1, - }, - Ctx: p1578, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - }, - Left: &ast.Apply{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(174), + Line: int(176), Column: int(16), }, End: ast.Location{ - Line: int(174), - Column: int(21), + Line: int(176), + Column: int(26), }, File: p1, }, - Ctx: p1578, + Fodder: ast.Fodder{}, + Ctx: p1789, FreeVars: ast.Identifiers{ "c", "cp", }, }, - Target: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(174), + Line: int(176), Column: int(16), }, End: ast.Location{ - Line: int(174), - Column: int(18), + Line: int(176), + Column: int(21), }, File: p1, }, - Ctx: p1578, + Fodder: ast.Fodder{}, + Ctx: p1789, FreeVars: ast.Identifiers{ + "c", "cp", }, }, - Id: "cp", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(174), - Column: int(19), - }, - End: ast.Location{ - Line: int(174), - Column: int(20), - }, - File: p1, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(176), + Column: int(16), }, - Ctx: p1586, - FreeVars: ast.Identifiers{ - "c", + End: ast.Location{ + Line: int(176), + Column: int(18), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1789, + FreeVars: ast.Identifiers{ + "cp", }, - Id: "c", }, + Id: "cp", }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(174), - Column: int(24), + FodderLeft: ast.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: p1797, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, + CommaFodder: nil, + }, }, - End: ast.Location{ - Line: int(174), - Column: int(26), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1789, + FreeVars: nil, }, - Ctx: p1578, - FreeVars: nil, + OriginalString: "32", }, - Value: float64(32), - 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: "", + FileName: "", Begin: ast.Location{ - Line: int(176), + Line: int(178), Column: int(7), }, End: ast.Location{ - Line: int(176), + Line: int(178), Column: int(8), }, File: p1, }, - Ctx: p1543, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p1753, FreeVars: ast.Identifiers{ "c", }, @@ -20638,44 +26126,59 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(177), + Line: int(179), Column: int(5), }, End: ast.Location{ - Line: int(177), - Column: int(59), + Line: int(179), + Column: int(61), }, File: p1, }, - Ctx: p1526, + Fodder: ast.Fodder{}, + Ctx: p1735, FreeVars: ast.Identifiers{ "down_letter", "std", - "x", + "str", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(177), + Line: int(179), Column: int(5), }, End: ast.Location{ - Line: int(177), + Line: int(179), Column: int(13), }, File: p1, }, - Ctx: p1526, + Fodder: ast.Fodder{}, + Ctx: p1735, FreeVars: ast.Identifiers{ "std", }, @@ -20683,17 +26186,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(177), + Line: int(179), Column: int(5), }, End: ast.Location{ - Line: int(177), + 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", @@ -20701,6 +26212,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -20715,273 +26227,330 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "join", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(177), - Column: int(14), - }, - End: ast.Location{ - Line: int(177), - Column: int(16), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1814, + FreeVars: nil, }, - Ctx: p1600, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(177), - Column: int(18), - }, - End: ast.Location{ - Line: int(177), - Column: int(58), - }, - File: p1, - }, - Ctx: p1600, - FreeVars: ast.Identifiers{ - "down_letter", - "std", - "x", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(177), + Line: int(179), Column: int(18), }, End: ast.Location{ - Line: int(177), - Column: int(25), + Line: int(179), + Column: int(60), }, File: p1, }, - Ctx: p1600, + Fodder: ast.Fodder{}, + Ctx: p1814, FreeVars: ast.Identifiers{ + "down_letter", "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(177), + Line: int(179), Column: int(18), }, End: ast.Location{ - Line: int(177), - Column: int(21), + Line: int(179), + Column: int(25), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1814, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(177), - Column: int(26), + Line: int(179), + Column: int(18), }, End: ast.Location{ - Line: int(177), - Column: int(37), + Line: int(179), + Column: int(21), }, File: p1, }, - Ctx: p1610, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "down_letter", + "std", }, }, - Id: "down_letter", + Id: "std", }, - &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(177), - Column: int(39), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(177), - Column: int(57), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p1610, - FreeVars: ast.Identifiers{ - "std", - "x", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(177), - Column: int(39), - }, - End: ast.Location{ - Line: int(177), - Column: int(54), - }, - File: p1, - }, - Ctx: p1610, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(177), - Column: int(39), + Line: int(179), + Column: int(26), }, End: ast.Location{ - Line: int(177), - Column: int(42), + Line: int(179), + Column: int(37), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1824, FreeVars: ast.Identifiers{ - "std", + "down_letter", }, }, - Id: "std", + Id: "down_letter", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(179), + Column: int(39), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(179), + Column: int(59), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1824, + FreeVars: ast.Identifiers{ + "std", + "str", }, - Ctx: nil, - FreeVars: nil, }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(177), - Column: int(55), + Line: int(179), + Column: int(39), }, End: ast.Location{ - Line: int(177), - Column: int(56), + Line: int(179), + Column: int(54), }, File: p1, }, - Ctx: p1621, + Fodder: ast.Fodder{}, + Ctx: p1824, FreeVars: ast.Identifiers{ - "x", + "std", }, }, - Id: "x", + 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: nil, + }, + 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: p1835, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - 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(173), + Column: int(3), + }, + End: ast.Location{ + Line: int(179), + Column: int(61), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -20999,12 +26568,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "range", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -21020,34 +26591,71 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "from", - "to", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "from", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(181), + Column: int(9), + }, + End: ast.Location{ + Line: int(181), + Column: int(13), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "to", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(181), + Column: int(15), + }, + End: ast.Location{ + Line: int(181), + Column: int(17), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), + Line: int(182), Column: int(5), }, End: ast.Location{ - Line: int(181), + Line: int(182), Column: int(55), }, File: p1, }, - Ctx: p1628, + Fodder: ast.Fodder{}, + Ctx: p1842, FreeVars: ast.Identifiers{ "from", "std", @@ -21057,18 +26665,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), + Line: int(182), Column: int(5), }, End: ast.Location{ - Line: int(181), + Line: int(182), Column: int(18), }, File: p1, }, - Ctx: p1628, + Fodder: ast.Fodder{}, + Ctx: p1842, FreeVars: ast.Identifiers{ "std", }, @@ -21076,17 +26685,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), + Line: int(182), Column: int(5), }, End: ast.Location{ - Line: int(181), + Line: int(182), 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", @@ -21094,6 +26711,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -21108,222 +26726,274 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "makeArray", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(181), - Column: int(19), - }, - End: ast.Location{ - Line: int(181), - Column: int(32), - }, - File: p1, - }, - Ctx: p1637, - FreeVars: ast.Identifiers{ - "from", - "to", - }, - }, - Left: &ast.Binary{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), + Line: int(182), Column: int(19), }, End: ast.Location{ - Line: int(181), - Column: int(28), + Line: int(182), + Column: int(32), }, File: p1, }, - Ctx: p1637, + Fodder: ast.Fodder{}, + Ctx: p1852, FreeVars: ast.Identifiers{ "from", "to", }, }, - Left: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), + Line: int(182), Column: int(19), }, End: ast.Location{ - Line: int(181), - Column: int(21), + Line: int(182), + Column: int(28), }, File: p1, }, - Ctx: p1637, + Fodder: ast.Fodder{}, + Ctx: p1852, FreeVars: ast.Identifiers{ + "from", "to", }, }, - Id: "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: p1852, + 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: p1852, + FreeVars: ast.Identifiers{ + "from", + }, + }, + Id: "from", + }, }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), - Column: int(24), + Line: int(182), + Column: int(31), }, End: ast.Location{ - Line: int(181), - Column: int(28), + Line: int(182), + Column: int(32), }, File: p1, }, - Ctx: p1637, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Id: "from", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(181), - Column: int(31), - }, - End: ast.Location{ - Line: int(181), - Column: int(32), - }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p1852, + FreeVars: nil, }, - Ctx: p1637, - FreeVars: nil, + OriginalString: "1", }, - Value: float64(1), - OriginalString: "1", }, + CommaFodder: ast.Fodder{}, }, - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(181), - Column: int(34), - }, - End: ast.Location{ - Line: int(181), - Column: int(54), - }, - File: p1, - }, - Ctx: p1637, - FreeVars: ast.Identifiers{ - "from", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), - Column: int(46), + Line: int(182), + Column: int(34), }, End: ast.Location{ - Line: int(181), + Line: int(182), Column: int(54), }, File: p1, }, - Ctx: p1650, + Fodder: ast.Fodder{}, + Ctx: p1852, FreeVars: ast.Identifiers{ "from", - "i", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), - Column: int(46), + Line: int(182), + Column: int(43), }, End: ast.Location{ - Line: int(181), - Column: int(47), + Line: int(182), + Column: int(44), }, File: p1, }, - Ctx: p1650, - FreeVars: ast.Identifiers{ - "i", - }, }, - Id: "i", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(181), - Column: int(50), + Line: int(182), + Column: int(46), }, End: ast.Location{ - Line: int(181), + Line: int(182), Column: int(54), }, File: p1, }, - Ctx: p1650, + Fodder: ast.Fodder{}, + Ctx: p1865, FreeVars: ast.Identifiers{ "from", + "i", }, }, - Id: "from", + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p1865, + 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(182), + Column: int(50), + }, + End: ast.Location{ + Line: int(182), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1865, + FreeVars: ast.Identifiers{ + "from", + }, + }, + Id: "from", + }, }, }, + 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), @@ -21341,12 +27011,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "slice", + Value: "repeat", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -21362,121 +27034,182 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "indexable", - "index", - "end", - "step", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "what", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(184), + Column: int(10), + }, + End: ast.Location{ + Line: int(184), + Column: int(14), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "count", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(184), + Column: int(16), + }, + End: ast.Location{ + Line: int(184), + Column: int(21), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(184), + Line: int(185), Column: int(5), }, End: ast.Location{ - Line: int(219), - Column: int(68), + Line: int(189), + Column: int(61), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1877, FreeVars: ast.Identifiers{ - "end", - "index", - "indexable", + "count", "std", - "step", + "what", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "invar", - Body: &ast.DesugaredObject{ + VarFodder: ast.Fodder{}, + Variable: "joiner", + EqFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(186), Column: int(7), }, End: ast.Location{ - Line: int(199), - Column: int(8), + Line: int(188), + Column: int(74), }, File: p1, }, - Ctx: p1665, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p1882, FreeVars: ast.Identifiers{ - "end", - "index", - "indexable", "std", - "step", + "what", }, }, - 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, + 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: p1882, + FreeVars: ast.Identifiers{ + "std", + "what", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(186), + Column: int(10), }, - Ctx: nil, - FreeVars: nil, + End: ast.Location{ + Line: int(186), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1882, + FreeVars: ast.Identifiers{ + "std", }, - Value: "indexable", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Body: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(187), - Column: int(20), + Line: int(186), + Column: int(10), }, End: ast.Location{ - Line: int(187), - Column: int(29), + Line: int(186), + Column: int(13), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "indexable", + "std", }, }, - Id: "indexable", + Id: "std", }, - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -21490,377 +27223,1412 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "index", + Value: "isString", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(11), - }, - End: ast.Location{ - Line: int(190), - Column: int(21), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(14), - }, - End: ast.Location{ - Line: int(189), - Column: int(27), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(14), - }, - End: ast.Location{ - Line: int(189), - Column: int(19), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Id: "index", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(189), + Line: int(186), Column: int(23), }, End: ast.Location{ - Line: int(189), + Line: int(186), Column: int(27), }, File: p1, }, - Ctx: p1670, - FreeVars: nil, - }, - }, - }, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(189), - Column: int(33), - }, - End: ast.Location{ - Line: int(189), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p1893, + FreeVars: ast.Identifiers{ + "what", }, - File: p1, }, - Ctx: p1670, - FreeVars: nil, + Id: "what", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: nil, }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(190), - Column: int(16), - }, - End: ast.Location{ - Line: int(190), - Column: int(21), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "index", - }, - }, - Id: "index", + }, + 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, }, - PlusSuper: false, + Fodder: ast.Fodder{}, + Ctx: p1882, + FreeVars: nil, }, - 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, + 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: p1882, + FreeVars: ast.Identifiers{ + "std", + "what", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(15), }, - Ctx: nil, - FreeVars: nil, + End: ast.Location{ + Line: int(187), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1882, + FreeVars: ast.Identifiers{ + "std", + "what", }, - Value: "end", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Body: &ast.Conditional{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(192), - Column: int(11), + Line: int(187), + Column: int(15), }, End: ast.Location{ - Line: int(193), - Column: int(19), + Line: int(187), + Column: int(26), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1882, FreeVars: ast.Identifiers{ - "end", - "indexable", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(192), - Column: int(14), + Line: int(187), + Column: int(15), }, End: ast.Location{ - Line: int(192), - Column: int(25), + Line: int(187), + Column: int(18), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "end", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(192), - Column: int(14), - }, - End: ast.Location{ - Line: int(192), - Column: int(17), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "end", - }, - }, - Id: "end", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(192), - Column: int(21), - }, - End: ast.Location{ - Line: int(192), - Column: int(25), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: nil, + "std", }, }, + Id: "std", }, - BranchTrue: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(192), - Column: int(31), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(192), - Column: int(52), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "indexable", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(192), - Column: int(31), - }, - End: ast.Location{ - Line: int(192), - Column: int(41), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(192), - Column: int(31), + Line: int(187), + Column: int(27), }, End: ast.Location{ - Line: int(192), - Column: int(34), + Line: int(187), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1908, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(192), - Column: int(42), - }, - End: ast.Location{ - Line: int(192), - Column: int(51), - }, - File: p1, - }, - Ctx: p1700, - FreeVars: ast.Identifiers{ - "indexable", - }, + "what", }, - Id: "indexable", }, + Id: "what", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(193), - Column: int(16), - }, - End: ast.Location{ - Line: int(193), - Column: int(19), - }, - File: p1, - }, - Ctx: p1670, - FreeVars: ast.Identifiers{ - "end", - }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(187), + Column: int(38), }, - Id: "end", + End: ast.Location{ + Line: int(187), + Column: int(40), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p1882, + FreeVars: nil, }, - PlusSuper: false, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - ast.DesugaredObjectField{ + 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: p1882, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(188), + Column: int(18), + }, + End: ast.Location{ + Line: int(188), + Column: int(74), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1882, + FreeVars: nil, + }, + Value: "std.repeat first argument must be an array or a string", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(185), + Column: int(11), + }, + End: ast.Location{ + Line: int(188), + 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: p1877, + 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: p1877, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + 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: nil, + }, + 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(189), + Column: int(14), + }, + End: ast.Location{ + Line: int(189), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1924, + FreeVars: ast.Identifiers{ + "joiner", + }, + }, + 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: p1924, + 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: p1924, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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.Var{ + 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: p1935, + FreeVars: ast.Identifiers{ + "count", + }, + }, + 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), + }, + End: ast.Location{ + Line: int(189), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p1935, + FreeVars: ast.Identifiers{ + "what", + }, + }, + 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(189), + Column: int(52), + }, + End: ast.Location{ + Line: int(189), + Column: int(53), + }, + File: p1, + }, + }, + }, + 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: p1941, + FreeVars: ast.Identifiers{ + "what", + }, + }, + Id: "what", + }, + }, + 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(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: nil, + }, + 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: p11, + FreeVars: ast.Identifiers{ + "std", + }, + }, + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indexable", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(9), + }, + End: ast.Location{ + Line: int(191), + Column: int(18), + }, + 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, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(191), + Column: int(32), + }, + End: ast.Location{ + Line: int(191), + Column: int(36), + }, + File: p1, + }, + }, + }, + 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, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1949, + FreeVars: ast.Identifiers{ + "end", + "index", + "indexable", + "std", + "step", + }, + }, + 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), + }, + End: ast.Location{ + Line: int(207), + Column: int(8), + }, + 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{ + "// loop invariant with defaults applied", + }, + }, + }, + Ctx: p1955, + FreeVars: ast.Identifiers{ + "end", + "index", + "indexable", + "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: nil, + }, + Value: "indexable", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + 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: p1960, + 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: nil, + }, + 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: p1960, + 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: p1960, + 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: p1960, + 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: p1960, + FreeVars: nil, + }, + }, + }, + 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: p1960, + FreeVars: nil, + }, + 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: p1960, + 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: nil, + }, + 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: p1960, + 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: p1960, + 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: p1960, + 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: p1960, + FreeVars: nil, + }, + }, + }, + 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: p1960, + 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: p1960, + 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: nil, + }, + 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: p1993, + 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: p1960, + 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{ @@ -21876,28 +28644,38 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "step", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(195), + Line: int(203), Column: int(11), }, End: ast.Location{ - Line: int(196), + Line: int(204), Column: int(20), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p1960, FreeVars: ast.Identifiers{ "step", }, @@ -21905,18 +28683,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(195), + Line: int(203), Column: int(14), }, End: ast.Location{ - Line: int(195), + Line: int(203), Column: int(26), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: ast.Identifiers{ "step", }, @@ -21924,79 +28703,92 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(195), + Line: int(203), Column: int(14), }, End: ast.Location{ - Line: int(195), + Line: int(203), Column: int(18), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: ast.Identifiers{ "step", }, }, Id: "step", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(195), + Line: int(203), Column: int(22), }, End: ast.Location{ - Line: int(195), + Line: int(203), Column: int(26), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: nil, }, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(195), + Line: int(203), Column: int(32), }, End: ast.Location{ - Line: int(195), + Line: int(203), Column: int(33), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: nil, }, - Value: float64(1), 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: "", + FileName: "", Begin: ast.Location{ - Line: int(196), + Line: int(204), Column: int(16), }, End: ast.Location{ - Line: int(196), + Line: int(204), Column: int(20), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: ast.Identifiers{ "step", }, @@ -22005,6 +28797,18 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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), @@ -22022,28 +28826,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(197), + Line: int(205), Column: int(17), }, End: ast.Location{ - Line: int(197), + Line: int(205), Column: int(38), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: ast.Identifiers{ "indexable", "std", @@ -22052,18 +28859,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(197), + Line: int(205), Column: int(17), }, End: ast.Location{ - Line: int(197), + Line: int(205), Column: int(27), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: ast.Identifiers{ "std", }, @@ -22071,17 +28879,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(197), + Line: int(205), Column: int(17), }, End: ast.Location{ - Line: int(197), + Line: int(205), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -22089,6 +28898,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -22103,45 +28913,67 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(28), + 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, }, - End: ast.Location{ - Line: int(197), - Column: int(37), + Fodder: ast.Fodder{}, + Ctx: p2021, + FreeVars: ast.Identifiers{ + "indexable", }, - File: p1, - }, - Ctx: p1725, - FreeVars: ast.Identifiers{ - "indexable", }, + Id: "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), @@ -22159,28 +28991,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(198), + Line: int(206), Column: int(15), }, End: ast.Location{ - Line: int(198), + Line: int(206), Column: int(34), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: ast.Identifiers{ "indexable", "std", @@ -22189,18 +29024,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(198), + Line: int(206), Column: int(15), }, End: ast.Location{ - Line: int(198), + Line: int(206), Column: int(23), }, File: p1, }, - Ctx: p1670, + Fodder: ast.Fodder{}, + Ctx: p1960, FreeVars: ast.Identifiers{ "std", }, @@ -22208,17 +29044,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(198), + Line: int(206), Column: int(15), }, End: ast.Location{ - Line: int(198), + Line: int(206), Column: int(18), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -22226,6 +29063,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -22240,67 +29078,103 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(24), + 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, }, - End: ast.Location{ - Line: int(198), - Column: int(33), + Fodder: ast.Fodder{}, + Ctx: p2033, + FreeVars: ast.Identifiers{ + "indexable", }, - File: p1, - }, - Ctx: p1737, - FreeVars: ast.Identifiers{ - "indexable", }, + Id: "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, + }, }, }, Locals: ast.LocalBinds{}, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(192), + Column: int(11), + }, + End: ast.Location{ + Line: int(207), + Column: int(8), + }, + File: p1, + }, }, }, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(5), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(219), - Column: int(68), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p1661, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "indexable", "invar", @@ -22311,18 +29185,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(8), + Line: int(208), + Column: int(12), }, End: ast.Location{ - Line: int(200), - Column: int(58), + Line: int(208), + Column: int(65), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22330,18 +29205,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(8), + Line: int(208), + Column: int(12), }, End: ast.Location{ - Line: int(200), - Column: int(40), + Line: int(208), + Column: int(46), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22349,18 +29225,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(8), + Line: int(208), + Column: int(12), }, End: ast.Location{ - Line: int(200), - Column: int(23), + Line: int(208), + Column: int(28), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22368,18 +29245,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(8), + Line: int(208), + Column: int(12), }, End: ast.Location{ - Line: int(200), - Column: int(19), + Line: int(208), + Column: int(23), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22387,17 +29265,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(8), + Line: int(208), + Column: int(12), }, End: ast.Location{ - Line: int(200), - Column: int(13), + Line: int(208), + Column: int(17), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "invar", @@ -22405,6 +29284,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "invar", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -22419,53 +29299,59 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "index", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Op: ast.BinaryOp(9), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(22), + Line: int(208), + Column: int(27), }, End: ast.Location{ - Line: int(200), - Column: int(23), + Line: int(208), + Column: int(28), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, - Op: ast.BinaryOp(18), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(27), + Line: int(208), + Column: int(32), }, End: ast.Location{ - Line: int(200), - Column: int(40), + Line: int(208), + Column: int(46), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22473,18 +29359,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(27), + Line: int(208), + Column: int(32), }, End: ast.Location{ - Line: int(200), - Column: int(36), + Line: int(208), + Column: int(41), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22492,17 +29379,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(27), + Line: int(208), + Column: int(32), }, End: ast.Location{ - Line: int(200), - Column: int(32), + Line: int(208), + Column: int(37), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "invar", @@ -22510,6 +29398,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "invar", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -22524,54 +29413,60 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "end", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Op: ast.BinaryOp(9), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(39), + Line: int(208), + Column: int(45), }, End: ast.Location{ - Line: int(200), - Column: int(40), + Line: int(208), + Column: int(46), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, }, - Op: ast.BinaryOp(18), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(44), + Line: int(208), + Column: int(50), }, End: ast.Location{ - Line: int(200), - Column: int(58), + Line: int(208), + Column: int(65), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22579,18 +29474,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(44), + Line: int(208), + Column: int(50), }, End: ast.Location{ - Line: int(200), - Column: int(54), + Line: int(208), + Column: int(60), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "invar", }, @@ -22598,17 +29494,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(44), + Line: int(208), + Column: int(50), }, End: ast.Location{ - Line: int(200), - Column: int(49), + Line: int(208), + Column: int(55), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "invar", @@ -22616,6 +29513,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "invar", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -22630,398 +29528,59 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "step", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Op: ast.BinaryOp(9), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(200), - Column: int(57), + Line: int(208), + Column: int(64), }, End: ast.Location{ - Line: int(200), - Column: int(58), + Line: int(208), + Column: int(65), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(7), - }, - End: ast.Location{ - Line: int(202), - Column: int(53), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "invar", - "std", - }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(14), - }, - End: ast.Location{ - Line: int(201), - Column: int(83), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: nil, - }, - Value: "got [%s:%s:%s] but negative index, end, and steps are not supported", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(16), - }, - End: ast.Location{ - Line: int(202), - Column: int(52), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Elements: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(17), - }, - End: ast.Location{ - Line: int(202), - Column: int(28), - }, - File: p1, - }, - Ctx: p1784, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(17), - }, - End: ast.Location{ - Line: int(202), - Column: int(22), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "index", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(30), - }, - End: ast.Location{ - Line: int(202), - Column: int(39), - }, - File: p1, - }, - Ctx: p1784, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(30), - }, - End: ast.Location{ - Line: int(202), - Column: int(35), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "end", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(41), - }, - End: ast.Location{ - Line: int(202), - Column: int(51), - }, - File: p1, - }, - Ctx: p1784, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(202), - Column: int(41), - }, - End: ast.Location{ - Line: int(202), - Column: int(46), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "step", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Conditional{ + ThenFodder: nil, + BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(203), - Column: int(10), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(219), - Column: int(68), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p1661, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "indexable", "invar", @@ -23032,18 +29591,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(203), - Column: int(13), + Line: int(209), + Column: int(12), }, End: ast.Location{ - Line: int(203), - Column: int(22), + Line: int(209), + Column: int(21), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "step", }, @@ -23051,215 +29611,65 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(203), - Column: int(13), + Line: int(209), + Column: int(12), }, End: ast.Location{ - Line: int(203), - Column: int(17), + Line: int(209), + Column: int(16), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "step", }, }, Id: "step", }, - Op: ast.BinaryOp(12), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(203), - Column: int(21), + Line: int(209), + Column: int(20), }, End: ast.Location{ - Line: int(203), - Column: int(22), + Line: int(209), + Column: int(21), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(204), - Column: int(7), - }, - End: ast.Location{ - Line: int(204), - Column: int(62), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "std", - "step", - }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: 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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(204), - Column: int(14), - }, - End: ast.Location{ - Line: int(204), - Column: int(54), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: nil, - }, - Value: "got %s but step must be greater than 0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(204), - Column: int(57), - }, - End: ast.Location{ - Line: int(204), - Column: int(61), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "step", - }, - }, - Id: "step", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Conditional{ + ThenFodder: nil, + BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(205), - Column: int(10), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(219), - Column: int(68), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p1661, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "indexable", "invar", @@ -23269,370 +29679,168 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(205), - Column: int(13), + Line: int(210), + Column: int(12), }, End: ast.Location{ - Line: int(205), - Column: int(78), + Line: int(210), + Column: int(61), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "indexable", "std", }, }, - Left: &ast.Binary{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(205), - Column: int(13), + Line: int(210), + Column: int(12), }, End: ast.Location{ - Line: int(205), - Column: int(44), + Line: int(210), + Column: int(35), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "indexable", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(205), - Column: int(13), + Line: int(210), + Column: int(12), }, End: ast.Location{ - Line: int(205), - Column: int(32), + Line: int(210), + Column: int(24), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ - "indexable", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(205), - Column: int(13), + Line: int(210), + Column: int(12), }, End: ast.Location{ - Line: int(205), - Column: int(21), + Line: int(210), + Column: int(15), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(13), - }, - End: ast.Location{ - Line: int(205), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(22), - }, - End: ast.Location{ - Line: int(205), - Column: int(31), - }, - File: p1, - }, - Ctx: p1834, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(36), - }, - End: ast.Location{ - Line: int(205), - Column: int(44), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(48), - }, - End: ast.Location{ - Line: int(205), - Column: int(78), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(48), - }, - End: ast.Location{ - Line: int(205), - Column: int(67), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, + Id: "std", }, - Target: &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(205), - Column: int(48), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(205), - Column: int(56), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(48), - }, - End: ast.Location{ - Line: int(205), - Column: int(51), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isString", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(205), - Column: int(57), + Line: int(210), + Column: int(25), }, End: ast.Location{ - Line: int(205), - Column: int(66), + Line: int(210), + Column: int(34), }, File: p1, }, - Ctx: p1848, + Fodder: ast.Fodder{}, + Ctx: p2085, FreeVars: ast.Identifiers{ "indexable", }, }, Id: "indexable", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(205), - Column: int(71), - }, - End: ast.Location{ - Line: int(205), - Column: int(78), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: nil, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(7), - }, - End: ast.Location{ - Line: int(206), - Column: int(90), }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "indexable", - "std", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Expr: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(18), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(210), + Column: int(39), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(210), + Column: int(61), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "indexable", "std", @@ -23643,16 +29851,17 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(210), + Column: int(39), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(210), + Column: int(50), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "std", }, @@ -23662,15 +29871,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(210), + Column: int(39), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(210), + Column: int(42), }, - File: nil, + File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -23678,6 +29888,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -23692,222 +29903,175 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "mod", + Value: "isArray", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(14), - }, - End: ast.Location{ - Line: int(206), - Column: int(67), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: nil, - }, - Value: "std.slice accepts a string or an array, but got: %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(70), - }, - End: ast.Location{ - Line: int(206), - Column: int(89), - }, - File: p1, - }, - Ctx: p1661, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - }, - Target: &ast.Index{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(206), - Column: int(70), + Line: int(210), + Column: int(51), }, End: ast.Location{ - Line: int(206), - Column: int(78), + Line: int(210), + Column: int(60), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p2096, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(70), - }, - End: ast.Location{ - Line: int(206), - Column: int(73), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(79), - }, - End: ast.Location{ - Line: int(206), - Column: int(88), - }, - File: p1, - }, - Ctx: p1871, - FreeVars: ast.Identifiers{ - "indexable", - }, - }, - Id: "indexable", + "indexable", }, }, - Named: nil, + Id: "indexable", }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - BranchFalse: &ast.Local{ + ThenFodder: nil, + BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(208), - Column: int(7), + Line: int(211), + Column: int(5), }, End: ast.Location{ - Line: int(219), - Column: int(68), + Line: int(222), + Column: int(66), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1949, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(208), - Column: int(13), + Line: int(211), + Column: int(11), }, End: ast.Location{ - Line: int(218), - Column: int(12), + Line: int(221), + Column: int(10), }, File: p1, }, - Ctx: p1877, + Fodder: nil, + Ctx: p2103, FreeVars: ast.Identifiers{ "build", "invar", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "slice", - "cur", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(9), + Line: int(212), + Column: int(7), }, End: ast.Location{ - Line: int(218), - Column: int(12), + Line: int(221), + Column: int(10), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p2108, FreeVars: ast.Identifiers{ "build", "cur", @@ -23918,18 +30082,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(12), + Line: int(212), + Column: int(10), }, End: ast.Location{ - Line: int(209), - Column: int(51), + Line: int(212), + Column: int(49), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "cur", "invar", @@ -23938,18 +30103,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(12), + Line: int(212), + Column: int(10), }, End: ast.Location{ - Line: int(209), - Column: int(28), + Line: int(212), + Column: int(26), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "cur", "invar", @@ -23958,40 +30124,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(12), + Line: int(212), + Column: int(10), }, End: ast.Location{ - Line: int(209), - Column: int(15), + Line: int(212), + Column: int(13), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "cur", }, }, Id: "cur", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(19), + Line: int(212), + Column: int(17), }, End: ast.Location{ - Line: int(209), - Column: int(28), + Line: int(212), + Column: int(26), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "invar", }, @@ -23999,17 +30168,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(19), + Line: int(212), + Column: int(17), }, End: ast.Location{ - Line: int(209), - Column: int(24), + Line: int(212), + Column: int(22), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "invar", @@ -24017,6 +30187,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "invar", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -24031,32 +30202,37 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(32), + Line: int(212), + Column: int(30), }, End: ast.Location{ - Line: int(209), - Column: int(51), + Line: int(212), + Column: int(49), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "cur", "invar", @@ -24065,40 +30241,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(32), + Line: int(212), + Column: int(30), }, End: ast.Location{ - Line: int(209), - Column: int(35), + Line: int(212), + Column: int(33), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "cur", }, }, Id: "cur", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(39), + Line: int(212), + Column: int(37), }, End: ast.Location{ - Line: int(209), - Column: int(51), + Line: int(212), + Column: int(49), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "invar", }, @@ -24106,17 +30285,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(209), - Column: int(39), + Line: int(212), + Column: int(37), }, End: ast.Location{ - Line: int(209), - Column: int(44), + Line: int(212), + Column: int(42), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "invar", @@ -24124,6 +30304,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "invar", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -24138,53 +30319,74 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(210), - Column: int(11), + Line: int(213), + Column: int(9), }, End: ast.Location{ - Line: int(210), - Column: int(16), + Line: int(213), + Column: int(14), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p2108, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(212), - Column: int(11), + Line: int(215), + Column: int(9), }, End: ast.Location{ - Line: int(218), - Column: int(12), + Line: int(221), + Column: int(10), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{}, + Ctx: p2108, FreeVars: ast.Identifiers{ "build", "cur", @@ -24195,230 +30397,101 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(212), - Column: int(11), + Line: int(215), + Column: int(9), }, End: ast.Location{ - Line: int(212), - Column: int(16), + Line: int(215), + Column: int(14), }, File: p1, }, - Ctx: p1881, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p2108, FreeVars: ast.Identifiers{ "build", }, }, Id: "build", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(213), - Column: int(13), - }, - End: ast.Location{ - Line: int(216), - Column: int(45), - }, - File: p1, - }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", - }, - }, - Cond: &ast.Binary{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(213), - Column: int(16), + Line: int(216), + Column: int(11), }, End: ast.Location{ - Line: int(213), - Column: int(38), + Line: int(219), + Column: int(43), }, File: p1, }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(213), - Column: int(16), - }, - End: ast.Location{ - Line: int(213), - Column: int(26), - }, - File: p1, - }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(213), - Column: int(16), - }, - End: ast.Location{ - Line: int(213), - Column: int(21), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Id: "invar", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(213), - Column: int(30), - }, - End: ast.Location{ - Line: int(213), - Column: int(38), - }, - File: p1, - }, - Ctx: p1911, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(214), - Column: int(15), - }, - End: ast.Location{ - Line: int(214), - Column: int(43), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - File: p1, }, - Ctx: p1911, + Ctx: p2142, FreeVars: ast.Identifiers{ "cur", "invar", "slice", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(214), - Column: int(15), - }, - End: ast.Location{ - Line: int(214), - Column: int(20), - }, - File: p1, - }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "slice", - }, - }, - Id: "slice", - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(214), - Column: int(23), + Line: int(216), + Column: int(14), }, End: ast.Location{ - Line: int(214), - Column: int(43), + Line: int(216), + Column: int(36), }, File: p1, }, - Ctx: p1911, + Fodder: ast.Fodder{}, + Ctx: p2142, FreeVars: ast.Identifiers{ - "cur", "invar", }, }, - Target: &ast.Index{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(214), - Column: int(23), + Line: int(216), + Column: int(14), }, End: ast.Location{ - Line: int(214), - Column: int(38), + Line: int(216), + Column: int(24), }, File: p1, }, - Ctx: p1911, + Fodder: ast.Fodder{}, + Ctx: p2142, FreeVars: ast.Identifiers{ "invar", }, @@ -24426,17 +30499,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(214), - Column: int(23), + Line: int(216), + Column: int(14), }, End: ast.Location{ - Line: int(214), - Column: int(28), + Line: int(216), + Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "invar", @@ -24444,6 +30518,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "invar", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -24458,346 +30533,599 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "indexable", + Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Index: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(214), - Column: int(39), + Line: int(216), + Column: int(28), }, End: ast.Location{ - Line: int(214), - Column: int(42), + Line: int(216), + Column: int(36), }, File: p1, }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - Id: nil, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(15), - }, - End: ast.Location{ - Line: int(216), - Column: int(45), + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: nil, }, - File: p1, - }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", + Value: "string", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - Left: &ast.Var{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(216), - Column: int(15), + Line: int(217), + Column: int(13), }, End: ast.Location{ - Line: int(216), - Column: int(20), + Line: int(217), + Column: int(41), }, File: p1, }, - Ctx: p1911, + Fodder: ast.Fodder{}, + Ctx: p2142, FreeVars: ast.Identifiers{ + "cur", + "invar", "slice", }, }, - Id: "slice", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(23), + 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, }, - End: ast.Location{ - Line: int(216), - Column: int(45), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p2142, + FreeVars: ast.Identifiers{ + "slice", }, - File: p1, - }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "cur", - "invar", }, + Id: "slice", }, - Elements: ast.Nodes{ - &ast.Index{ + 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: p2142, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(216), - Column: int(24), + Line: int(217), + Column: int(21), }, End: ast.Location{ - Line: int(216), - Column: int(44), + Line: int(217), + Column: int(36), }, File: p1, }, - Ctx: p1942, + Fodder: ast.Fodder{}, + Ctx: p2142, FreeVars: ast.Identifiers{ - "cur", "invar", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(216), - Column: int(24), + Line: int(217), + Column: int(21), }, End: ast.Location{ - Line: int(216), - Column: int(39), + Line: int(217), + Column: int(26), }, File: p1, }, - Ctx: p1942, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "invar", }, }, - Target: &ast.Var{ + 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: nil, + }, + 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: p2142, + 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: p2142, + 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: p2142, + 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: p2142, + FreeVars: ast.Identifiers{ + "cur", + "invar", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(216), - Column: int(24), + Line: int(219), + Column: int(22), }, End: ast.Location{ - Line: int(216), - Column: int(29), + Line: int(219), + Column: int(42), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2176, FreeVars: ast.Identifiers{ + "cur", "invar", }, }, - Id: "invar", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - 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(219), + Column: int(22), + }, + End: ast.Location{ + Line: int(219), + Column: int(37), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p2176, + FreeVars: ast.Identifiers{ + "invar", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "indexable", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(40), + 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", }, - End: ast.Location{ - Line: int(216), - Column: int(43), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "indexable", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - File: p1, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: p1942, - FreeVars: ast.Identifiers{ - "cur", + 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: p2176, + FreeVars: ast.Identifiers{ + "cur", + }, + }, + Id: "cur", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: "cur", + CommaFodder: nil, }, - Id: nil, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - TrailingComma: false, }, }, + CommaFodder: ast.Fodder{}, }, - &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(29), - }, - File: p1, - }, - Ctx: p1911, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(217), - Column: int(13), + Line: int(220), + Column: int(11), }, End: ast.Location{ - Line: int(217), - Column: int(16), + Line: int(220), + Column: int(27), }, File: p1, }, - Ctx: p1911, + Fodder: ast.Fodder{}, + Ctx: p2142, FreeVars: ast.Identifiers{ "cur", - }, - }, - Id: "cur", - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(19), - }, - End: ast.Location{ - Line: int(217), - Column: int(29), - }, - File: p1, - }, - Ctx: p1911, - FreeVars: ast.Identifiers{ "invar", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(217), - Column: int(19), + Line: int(220), + Column: int(11), }, End: ast.Location{ - Line: int(217), - Column: int(24), + Line: int(220), + Column: int(14), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p2142, FreeVars: ast.Identifiers{ - "invar", + "cur", }, }, - Id: "invar", + Id: "cur", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(220), + Column: int(17), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(220), + Column: int(27), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2142, + FreeVars: ast.Identifiers{ + "invar", }, - Ctx: nil, - FreeVars: nil, }, - Value: "step", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: nil, + }, + Value: "step", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - 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: "", + FileName: "", Begin: ast.Location{ - Line: int(219), - Column: int(7), + Line: int(222), + Column: int(5), }, End: ast.Location{ - Line: int(219), - Column: int(68), + Line: int(222), + Column: int(66), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{}, + Ctx: p1949, FreeVars: ast.Identifiers{ "build", "invar", @@ -24806,791 +31134,626 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(219), - Column: int(7), + Line: int(222), + Column: int(5), }, End: ast.Location{ - Line: int(219), - Column: int(12), + Line: int(222), + Column: int(10), }, File: p1, }, - Ctx: p1661, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p1949, FreeVars: ast.Identifiers{ "build", }, }, Id: "build", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(13), - }, - End: ast.Location{ - Line: int(219), - Column: int(54), - }, - File: p1, - }, - Ctx: p1966, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Cond: &ast.Binary{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(219), - Column: int(16), + Line: int(222), + Column: int(11), }, End: ast.Location{ - Line: int(219), - Column: int(38), + Line: int(222), + Column: int(52), }, File: p1, }, - Ctx: p1966, + Fodder: ast.Fodder{}, + Ctx: p2203, FreeVars: ast.Identifiers{ "invar", }, }, - Left: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(219), - Column: int(16), + Line: int(222), + Column: int(14), }, End: ast.Location{ - Line: int(219), - Column: int(26), + Line: int(222), + Column: int(36), }, File: p1, }, - Ctx: p1966, + Fodder: ast.Fodder{}, + Ctx: p2203, FreeVars: ast.Identifiers{ "invar", }, }, - Target: &ast.Var{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(219), - Column: int(16), + Line: int(222), + Column: int(14), }, End: ast.Location{ - Line: int(219), - Column: int(21), + Line: int(222), + Column: int(24), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2203, FreeVars: ast.Identifiers{ "invar", }, }, - Id: "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: nil, + }, + Value: "type", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(222), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(222), + Column: int(36), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2203, FreeVars: nil, }, - Value: "type", + Value: "string", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(219), - Column: int(30), + Line: int(222), + Column: int(42), }, End: ast.Location{ - Line: int(219), - Column: int(38), + Line: int(222), + Column: int(44), }, File: p1, }, - Ctx: p1966, + Fodder: ast.Fodder{}, + Ctx: p2203, FreeVars: nil, }, - Value: "string", + Value: "", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(44), - }, - End: ast.Location{ - Line: int(219), - Column: int(46), - }, - File: p1, - }, - Ctx: p1966, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(52), - }, - End: ast.Location{ - Line: int(219), - Column: int(54), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p2203, + FreeVars: nil, }, - Ctx: p1966, - FreeVars: nil, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Elements: nil, - TrailingComma: false, }, + CommaFodder: ast.Fodder{}, }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(219), - Column: int(56), - }, - End: ast.Location{ - Line: int(219), - Column: int(67), - }, - File: p1, - }, - Ctx: p1966, - FreeVars: ast.Identifiers{ - "invar", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(219), - Column: int(56), + Line: int(222), + Column: int(54), }, End: ast.Location{ - Line: int(219), - Column: int(61), + Line: int(222), + Column: int(65), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2203, FreeVars: ast.Identifiers{ "invar", }, }, - Id: "invar", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "invar", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "invar", }, - Value: "index", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "index", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: nil, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "count", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - "x", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(19), - }, - End: ast.Location{ - Line: int(221), - Column: int(66), - }, - File: p1, - }, - Ctx: p1988, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(19), - }, - End: ast.Location{ - Line: int(221), - Column: int(29), - }, - File: p1, - }, - Ctx: p1988, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(19), - }, - End: ast.Location{ - Line: int(221), - Column: int(22), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(30), - }, - End: ast.Location{ - Line: int(221), - Column: int(65), - }, - File: p1, - }, - Ctx: p1997, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - }, - Target: &ast.Index{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(221), - Column: int(30), + Line: int(210), + Column: int(5), }, End: ast.Location{ - Line: int(221), - Column: int(40), + Line: int(222), + Column: int(66), }, File: p1, }, - Ctx: p1997, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "indexable", "std", }, }, - Target: &ast.Var{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(221), - Column: int(30), + Line: int(210), + Column: int(64), }, End: ast.Location{ - Line: int(221), - Column: int(33), + Line: int(210), + Column: int(139), }, File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ + "indexable", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "filter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(221), - Column: int(41), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(221), - Column: int(59), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2006, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "x", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + "std", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(221), - Column: int(53), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(221), - Column: int(59), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2010, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "v", - "x", + "std", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(53), - }, - End: ast.Location{ - Line: int(221), - Column: int(54), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2010, - FreeVars: ast.Identifiers{ - "v", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "v", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(58), - }, - End: ast.Location{ - Line: int(221), - Column: int(59), + 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, }, - File: p1, - }, - Ctx: p2010, - FreeVars: ast.Identifiers{ - "x", + Fodder: ast.Fodder{}, + Ctx: p1949, + FreeVars: nil, }, + Value: "std.slice accepts a string or an array, but got: %s", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "x", + CommaFodder: nil, }, - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(61), - }, - End: ast.Location{ - Line: int(221), - Column: int(64), + 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: p1949, + 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: p1949, + 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: nil, + }, + 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: p2240, + FreeVars: ast.Identifiers{ + "indexable", + }, + }, + Id: "indexable", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - File: p1, - }, - Ctx: p2006, - FreeVars: ast.Identifiers{ - "arr", + CommaFodder: nil, }, }, - Id: "arr", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(5), - }, - End: ast.Location{ - Line: int(229), - Column: int(94), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(8), - }, - End: ast.Location{ - Line: int(224), - Column: int(58), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(8), - }, - End: ast.Location{ - Line: int(224), - Column: int(31), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: ast.Identifiers{ - "a", - "std", }, }, - Left: &ast.Apply{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(8), + Line: int(209), + Column: int(5), }, End: ast.Location{ - Line: int(224), - Column: int(19), + Line: int(222), + Column: int(66), }, File: p1, }, - Ctx: p2023, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", "std", + "step", }, }, - Target: &ast.Index{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(8), + Line: int(209), + Column: int(24), }, End: ast.Location{ - Line: int(224), - Column: int(16), + Line: int(209), + Column: int(71), }, File: p1, }, - Ctx: p2023, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", + "step", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(8), - }, - End: ast.Location{ - Line: int(224), - Column: int(11), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -25604,123 +31767,184 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(17), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(224), - Column: int(18), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2038, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", + "std", }, }, - Id: "a", + Id: "std", }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(23), + 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: nil, + }, + Value: "mod", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - End: ast.Location{ - Line: int(224), - Column: int(31), + 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: p1949, + FreeVars: nil, + }, + 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: p1949, + FreeVars: ast.Identifiers{ + "step", + }, + }, + Id: "step", + }, + CommaFodder: nil, + }, }, - File: p1, + Named: nil, }, - Ctx: p2023, - FreeVars: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ + ElseFodder: nil, + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(35), + Line: int(208), + Column: int(5), }, End: ast.Location{ - Line: int(224), - Column: int(58), + Line: int(222), + Column: int(66), }, File: p1, }, - Ctx: p2023, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "b", + "invar", "std", }, }, - Left: &ast.Apply{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(35), + Line: int(208), + Column: int(68), }, End: ast.Location{ - Line: int(224), - Column: int(46), + Line: int(208), + Column: int(176), }, File: p1, }, - Ctx: p2023, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "b", + "invar", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(35), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(224), - Column: int(43), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2023, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, @@ -25728,17 +31952,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(224), - Column: int(35), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(224), - Column: int(38), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -25746,6 +31971,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -25760,104 +31986,471 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(44), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(208), + Column: int(68), + }, + End: ast.Location{ + Line: int(208), + Column: int(137), + }, + File: p1, }, - End: ast.Location{ - Line: int(224), - Column: int(45), + Fodder: ast.Fodder{}, + Ctx: p1949, + FreeVars: nil, + }, + 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: p1949, + FreeVars: ast.Identifiers{ + "invar", }, - File: p1, }, - Ctx: p2052, - FreeVars: ast.Identifiers{ - "b", + 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: p2270, + FreeVars: ast.Identifiers{ + "invar", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(208), + Column: int(141), + }, + End: ast.Location{ + Line: int(208), + Column: int(146), + }, + 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: nil, + }, + Value: "index", + 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(208), + Column: int(154), + }, + End: ast.Location{ + Line: int(208), + Column: int(163), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2270, + FreeVars: ast.Identifiers{ + "invar", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(208), + Column: int(154), + }, + End: ast.Location{ + Line: int(208), + Column: int(159), + }, + 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: nil, + }, + Value: "end", + 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(208), + Column: int(165), + }, + End: ast.Location{ + Line: int(208), + Column: int(175), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2270, + FreeVars: ast.Identifiers{ + "invar", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "step", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Id: "b", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(50), - }, - End: ast.Location{ - Line: int(224), - Column: int(58), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + }, + }, + }, + }, + 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: nil, + }, + 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: p11, + 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(224), + Column: int(10), }, + End: ast.Location{ + Line: int(224), + Column: int(13), + }, + File: p1, }, }, - BranchTrue: &ast.Apply{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "x", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(224), + Column: int(15), + }, + End: ast.Location{ + Line: int(224), + 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(225), + Column: int(5), + }, + End: ast.Location{ + Line: int(229), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p2291, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, + }, + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(225), - Column: int(7), + Column: int(8), }, End: ast.Location{ Line: int(225), - Column: int(23), + Column: int(24), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", - "b", + "arr", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(225), - Column: int(7), + Column: int(8), }, End: ast.Location{ Line: int(225), - Column: int(17), + Column: int(19), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ "std", }, @@ -25865,17 +32458,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(225), - Column: int(7), + Column: int(8), }, End: ast.Location{ Line: int(225), - Column: int(10), + Column: int(11), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -25883,6 +32477,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -25897,195 +32492,208 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "modulo", + Value: "isArray", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(18), - }, - End: ast.Location{ - Line: int(225), - Column: int(19), - }, - File: p1, - }, - Ctx: p2064, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(225), - Column: int(22), + Fodder: ast.Fodder{}, + Ctx: p2302, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p2064, - FreeVars: ast.Identifiers{ - "b", }, + Id: "arr", }, - Id: "b", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Conditional{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(226), - Column: int(10), + Column: int(7), }, End: ast.Location{ - Line: int(229), - Column: int(94), + Line: int(226), + Column: int(28), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", - "b", + "arr", "std", + "x", }, }, - Cond: &ast.Binary{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(226), - Column: int(13), + Column: int(7), }, End: ast.Location{ Line: int(226), - Column: int(36), + Column: int(24), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", + "arr", "std", + "x", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(226), - Column: int(13), + Column: int(7), }, End: ast.Location{ Line: int(226), - Column: int(24), + Column: int(16), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(226), - Column: int(13), + Column: int(7), }, End: ast.Location{ Line: int(226), - Column: int(21), + Column: int(10), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(13), - }, - End: ast.Location{ - Line: int(226), - Column: int(16), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Value: "count", + 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(226), + Column: int(17), + }, + End: ast.Location{ + Line: int(226), + Column: int(20), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p2316, + FreeVars: ast.Identifiers{ + "arr", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "arr", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(226), Column: int(22), @@ -26096,78 +32704,114 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p2081, + Fodder: ast.Fodder{}, + Ctx: p2316, FreeVars: ast.Identifiers{ - "a", + "x", }, }, - Id: "a", + Id: "x", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(226), - Column: int(28), - }, - End: ast.Location{ - Line: int(226), - Column: int(36), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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(226), + Column: int(27), + }, + End: ast.Location{ + Line: int(226), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2291, + FreeVars: nil, }, + OriginalString: "0", }, - BranchTrue: &ast.Apply{ + }, + 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(227), + Column: int(10), + }, + End: ast.Location{ + Line: int(229), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2291, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", + }, + }, + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(227), - Column: int(7), + Column: int(13), }, End: ast.Location{ Line: int(227), - Column: int(23), + Column: int(30), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", - "b", + "arr", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(227), - Column: int(7), + Column: int(13), }, End: ast.Location{ Line: int(227), - Column: int(17), + Column: int(25), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ "std", }, @@ -26175,17 +32819,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(227), - Column: int(7), + Column: int(13), }, End: ast.Location{ Line: int(227), - Column: int(10), + Column: int(16), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -26193,6 +32838,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -26207,225 +32853,217 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "format", + Value: "isString", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(18), - }, - End: ast.Location{ - Line: int(227), - Column: int(19), - }, - File: p1, - }, - Ctx: p2093, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(227), - Column: int(22), + Fodder: ast.Fodder{}, + Ctx: p2333, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p2093, - FreeVars: ast.Identifiers{ - "b", }, + Id: "arr", }, - Id: "b", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Error{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), + Line: int(228), Column: int(7), }, End: ast.Location{ - Line: int(229), - Column: int(94), + Line: int(228), + Column: int(45), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", - "b", + "arr", "std", + "x", }, }, - Expr: &ast.Binary{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(13), + Line: int(228), + Column: int(7), }, End: ast.Location{ - Line: int(229), - Column: int(94), + Line: int(228), + Column: int(41), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", - "b", + "arr", "std", + "x", }, }, - Left: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(13), + Line: int(228), + Column: int(7), }, End: ast.Location{ - Line: int(229), - Column: int(88), + Line: int(228), + Column: int(17), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2291, FreeVars: ast.Identifiers{ - "a", - "b", "std", }, }, - Left: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(13), + Line: int(228), + Column: int(7), }, End: ast.Location{ - Line: int(229), - Column: int(74), + Line: int(228), + Column: int(10), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", "std", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(13), - }, - End: ast.Location{ - Line: int(229), - Column: int(64), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: ast.Identifiers{ - "a", - "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), }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(13), - }, - End: ast.Location{ - Line: int(229), - Column: int(50), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Value: "Operator % cannot be used on types ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(53), + Line: int(228), + Column: int(18), }, End: ast.Location{ - Line: int(229), - Column: int(64), + Line: int(228), + Column: int(40), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2347, FreeVars: ast.Identifiers{ - "a", + "arr", "std", + "x", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(53), + Line: int(228), + Column: int(18), }, End: ast.Location{ - Line: int(229), - Column: int(61), + Line: int(228), + Column: int(32), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2347, FreeVars: ast.Identifiers{ "std", }, @@ -26433,17 +33071,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(53), + Line: int(228), + Column: int(18), }, End: ast.Location{ - Line: int(229), - Column: int(56), + Line: int(228), + Column: int(21), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -26451,6 +33090,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -26465,210 +33105,629 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "findSubstr", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(62), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(229), - Column: int(63), + Fodder: ast.Fodder{}, + Ctx: p2356, + FreeVars: ast.Identifiers{ + "x", }, - File: p1, }, - Ctx: p2117, - FreeVars: ast.Identifiers{ - "a", + Id: "x", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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: p2356, + FreeVars: ast.Identifiers{ + "arr", + }, }, + Id: "arr", }, - Id: "a", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(67), - }, - End: ast.Location{ - Line: int(229), - Column: int(74), - }, - File: p1, - }, - Ctx: p2023, - FreeVars: 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(228), + Column: int(44), + }, + End: ast.Location{ + Line: int(228), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2291, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + 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(229), + Column: int(10), + }, + End: ast.Location{ + Line: int(229), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2291, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(229), + Column: int(16), + }, + End: ast.Location{ + Line: int(229), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2291, + FreeVars: nil, + }, + Value: "std.member first argument must be an array or a string", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + }, + }, + }, + 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: nil, + }, + 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: p11, + 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, + }, + }, + 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), + }, + End: ast.Location{ + Line: int(231), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2369, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p2369, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(231), + Column: int(30), }, - Value: " and ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(231), + Column: int(65), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2378, + FreeVars: ast.Identifiers{ + "arr", + "std", + "x", }, }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(77), + Line: int(231), + Column: int(30), }, End: ast.Location{ - Line: int(229), - Column: int(88), + Line: int(231), + Column: int(40), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: p2378, FreeVars: ast.Identifiers{ - "b", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(77), + Line: int(231), + Column: int(30), }, End: ast.Location{ - Line: int(229), - Column: int(85), + Line: int(231), + Column: int(33), }, File: p1, }, - Ctx: p2023, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(77), - }, - End: ast.Location{ - Line: int(229), - Column: int(80), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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(231), + Column: int(41), + }, + End: ast.Location{ + Line: int(231), + Column: int(59), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p2387, + 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), + }, + End: ast.Location{ + Line: int(231), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2391, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p2391, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p2391, + FreeVars: ast.Identifiers{ + "x", + }, + }, + Id: "x", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(229), - Column: int(86), + Line: int(231), + Column: int(61), }, End: ast.Location{ - Line: int(229), - Column: int(87), + Line: int(231), + Column: int(64), }, File: p1, }, - Ctx: p2129, + Fodder: ast.Fodder{}, + Ctx: p2387, FreeVars: ast.Identifiers{ - "b", + "arr", }, }, - Id: "b", + Id: "arr", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(91), - }, - End: ast.Location{ - Line: int(229), - Column: int(94), - }, - File: p1, }, - Ctx: p2023, - FreeVars: nil, + Named: nil, }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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(231), + Column: int(3), + }, + End: ast.Location{ + Line: int(231), + Column: int(66), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -26686,12 +33745,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "map", + Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -26707,95 +33768,143 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "func", - "arr", + 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(233), + Column: int(7), + }, + End: ast.Location{ + Line: int(233), + 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(233), + Column: int(10), + }, + End: ast.Location{ + Line: int(233), + Column: int(11), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(232), + Line: int(234), Column: int(5), }, End: ast.Location{ - Line: int(237), - Column: int(63), + Line: int(239), + Column: int(94), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", - "func", + "a", + "b", "std", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(232), + Line: int(234), Column: int(8), }, End: ast.Location{ - Line: int(232), - Column: int(36), + Line: int(234), + Column: int(42), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "func", + "a", + "b", "std", }, }, Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(232), + Line: int(234), Column: int(8), }, End: ast.Location{ - Line: int(232), - Column: int(22), + Line: int(234), + Column: int(23), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "func", + "a", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(232), + Line: int(234), Column: int(8), }, End: ast.Location{ - Line: int(232), - Column: int(16), + Line: int(234), + Column: int(20), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ "std", }, @@ -26803,17 +33912,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(232), + Line: int(234), Column: int(8), }, End: ast.Location{ - Line: int(232), + Line: int(234), Column: int(11), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -26821,6 +33931,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -26835,1122 +33946,1132 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isNumber", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(232), - Column: int(17), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(234), + Column: int(21), + }, + End: ast.Location{ + Line: int(234), + Column: int(22), + }, + File: p1, }, - End: ast.Location{ - Line: int(232), - Column: int(21), + Fodder: ast.Fodder{}, + Ctx: p2418, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p2150, - FreeVars: ast.Identifiers{ - "func", }, + Id: "a", }, - Id: "func", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(232), - Column: int(26), - }, - End: ast.Location{ - Line: int(232), - Column: int(36), - }, - File: p1, - }, - Ctx: p2137, - FreeVars: nil, - }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(233), - Column: int(7), - }, - End: ast.Location{ - Line: int(233), - Column: int(76), - }, - File: p1, - }, - Ctx: p2137, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - }, - Expr: &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(233), - Column: int(14), + Line: int(234), + Column: int(27), }, End: ast.Location{ - Line: int(233), - Column: int(75), + Line: int(234), + Column: int(42), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "func", + "b", "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(233), - Column: int(14), - }, - End: ast.Location{ - Line: int(233), - Column: int(58), - }, - File: p1, - }, - Ctx: p2137, - FreeVars: nil, - }, - Value: "std.map first param must be function, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(233), - Column: int(61), + Line: int(234), + Column: int(27), }, End: ast.Location{ - Line: int(233), - Column: int(75), + Line: int(234), + Column: int(39), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "func", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(233), - Column: int(61), + Line: int(234), + Column: int(27), }, End: ast.Location{ - Line: int(233), - Column: int(69), + Line: int(234), + Column: int(30), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(233), - Column: int(61), - }, - End: ast.Location{ - Line: int(233), - Column: int(64), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isNumber", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(233), - Column: int(70), + Line: int(234), + Column: int(40), }, End: ast.Location{ - Line: int(233), - Column: int(74), + Line: int(234), + Column: int(41), }, File: p1, }, - Ctx: p2167, + Fodder: ast.Fodder{}, + Ctx: p2429, FreeVars: ast.Identifiers{ - "func", + "b", }, }, - Id: "func", + Id: "b", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - BranchFalse: &ast.Conditional{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(10), + Line: int(235), + Column: int(7), }, End: ast.Location{ - Line: int(237), - Column: int(63), + Line: int(235), + Column: int(23), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", - "func", + "a", + "b", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(13), + Line: int(235), + Column: int(7), }, End: ast.Location{ - Line: int(234), - Column: int(66), + Line: int(235), + Column: int(17), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(13), + Line: int(235), + Column: int(7), }, End: ast.Location{ - Line: int(234), - Column: int(37), + Line: int(235), + Column: int(10), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(13), - }, - End: ast.Location{ - Line: int(234), - Column: int(26), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2137, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Index{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "modulo", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(13), + Line: int(235), + Column: int(18), }, End: ast.Location{ - Line: int(234), - Column: int(21), + Line: int(235), + Column: int(19), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2441, FreeVars: ast.Identifiers{ - "std", + "a", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(13), - }, - End: ast.Location{ - Line: int(234), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Id: "a", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(235), + Column: int(21), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(235), + Column: int(22), }, - Ctx: nil, - FreeVars: nil, + File: p1, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(22), - }, - End: ast.Location{ - Line: int(234), - Column: int(25), - }, - File: p1, - }, - Ctx: p2184, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", + Fodder: ast.Fodder{}, + Ctx: p2441, + FreeVars: ast.Identifiers{ + "b", }, }, - Named: nil, + Id: "b", }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(30), - }, - End: ast.Location{ - Line: int(234), - Column: int(37), - }, - File: p1, - }, - Ctx: p2137, - FreeVars: 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: p2405, + 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), }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(236), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2405, + FreeVars: ast.Identifiers{ + "a", + "std", }, }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(41), + Line: int(236), + Column: int(13), }, End: ast.Location{ - Line: int(234), - Column: int(66), + Line: int(236), + Column: int(25), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(41), + Line: int(236), + Column: int(13), }, End: ast.Location{ - Line: int(234), - Column: int(54), + Line: int(236), + Column: int(16), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(41), - }, - End: ast.Location{ - Line: int(234), - Column: int(49), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2137, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(234), - Column: int(41), + Line: int(236), + Column: int(26), }, End: ast.Location{ - Line: int(234), - Column: int(44), + Line: int(236), + Column: int(27), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2457, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(50), - }, - End: ast.Location{ - Line: int(234), - Column: int(53), - }, - File: p1, - }, - Ctx: p2198, - FreeVars: ast.Identifiers{ - "arr", - }, + "a", }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(58), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), }, - File: p1, + Id: "a", }, - Ctx: p2137, - FreeVars: nil, + CommaFodder: nil, }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchTrue: &ast.Error{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(235), + Line: int(237), Column: int(7), }, End: ast.Location{ - Line: int(235), - Column: int(82), + Line: int(237), + Column: int(23), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", + "a", + "b", "std", }, }, - Expr: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(235), - Column: int(14), + Line: int(237), + Column: int(7), }, End: ast.Location{ - Line: int(235), - Column: int(81), + Line: int(237), + Column: int(17), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(235), - Column: int(14), + Line: int(237), + Column: int(7), }, End: ast.Location{ - Line: int(235), - Column: int(65), + Line: int(237), + Column: int(10), }, File: p1, }, - Ctx: p2137, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "std.map second param must be array / string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(235), - Column: int(68), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(235), - Column: int(81), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p2137, - FreeVars: ast.Identifiers{ - "arr", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(235), - Column: int(68), - }, - End: ast.Location{ - Line: int(235), - Column: int(76), - }, - File: p1, - }, - Ctx: p2137, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + Value: "format", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(235), - Column: int(68), + Line: int(237), + Column: int(18), }, End: ast.Location{ - Line: int(235), - Column: int(71), + Line: int(237), + Column: int(19), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2469, FreeVars: ast.Identifiers{ - "std", + "a", }, }, - Id: "std", + Id: "a", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(237), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(237), + Column: int(22), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(235), - Column: int(77), - }, - End: ast.Location{ - Line: int(235), - Column: int(80), - }, - File: p1, - }, - Ctx: p2215, - FreeVars: ast.Identifiers{ - "arr", - }, + Fodder: ast.Fodder{}, + Ctx: p2469, + FreeVars: ast.Identifiers{ + "b", }, - Id: "arr", }, + Id: "b", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + 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{ + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), + Line: int(239), Column: int(7), }, End: ast.Location{ - Line: int(237), - Column: int(63), + Line: int(239), + Column: int(94), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", - "func", + "a", + "b", "std", }, }, - Target: &ast.Index{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(7), + Line: int(239), + Column: int(13), }, End: ast.Location{ - Line: int(237), - Column: int(20), + Line: int(239), + Column: int(94), }, File: p1, }, - Ctx: p2137, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ + "a", + "b", "std", }, }, - Target: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(7), + Line: int(239), + Column: int(13), }, End: ast.Location{ - Line: int(237), - Column: int(10), + Line: int(239), + Column: int(88), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ + "a", + "b", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(21), + Line: int(239), + Column: int(13), }, End: ast.Location{ - Line: int(237), - Column: int(36), + Line: int(239), + Column: int(74), }, File: p1, }, - Ctx: p2226, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", + "a", "std", }, }, - Target: &ast.Index{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(21), + Line: int(239), + Column: int(13), }, End: ast.Location{ - Line: int(237), - Column: int(31), + Line: int(239), + Column: int(64), }, File: p1, }, - Ctx: p2226, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ + "a", "std", }, }, - Target: &ast.Var{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(21), + Line: int(239), + Column: int(13), }, End: ast.Location{ - Line: int(237), - Column: int(24), + Line: int(239), + Column: int(50), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p2405, + FreeVars: nil, }, - Id: "std", + Value: "Operator % cannot be used on types ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(239), + Column: int(53), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(239), + Column: int(64), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2405, + FreeVars: ast.Identifiers{ + "a", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(32), + Line: int(239), + Column: int(53), }, End: ast.Location{ - Line: int(237), - Column: int(35), + Line: int(239), + Column: int(61), }, File: p1, }, - Ctx: p2235, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", + "std", }, }, - Id: "arr", + 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: nil, + }, + 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: p2495, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + 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: p2405, + FreeVars: nil, + }, + Value: " and ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, - &ast.Function{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(38), + Line: int(239), + Column: int(77), }, End: ast.Location{ - Line: int(237), - Column: int(62), + Line: int(239), + Column: int(88), }, File: p1, }, - Ctx: p2226, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", - "func", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + "b", + "std", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(50), + Line: int(239), + Column: int(77), }, End: ast.Location{ - Line: int(237), - Column: int(62), + Line: int(239), + Column: int(85), }, File: p1, }, - Ctx: p2241, + Fodder: ast.Fodder{}, + Ctx: p2405, FreeVars: ast.Identifiers{ - "arr", - "func", - "i", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(50), + Line: int(239), + Column: int(77), }, End: ast.Location{ - Line: int(237), - Column: int(54), + Line: int(239), + Column: int(80), }, File: p1, }, - Ctx: p2241, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "func", + "std", }, }, - Id: "func", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(237), - Column: int(55), + Line: int(239), + Column: int(86), }, End: ast.Location{ - Line: int(237), - Column: int(61), + Line: int(239), + Column: int(87), }, File: p1, }, - Ctx: p2247, + Fodder: ast.Fodder{}, + Ctx: p2507, FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(55), - }, - End: ast.Location{ - Line: int(237), - Column: int(58), - }, - File: p1, - }, - Ctx: p2247, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(59), - }, - End: ast.Location{ - Line: int(237), - Column: int(60), - }, - File: p1, - }, - Ctx: p2247, - FreeVars: ast.Identifiers{ - "i", - }, + "b", }, - Id: "i", }, - Id: nil, + Id: "b", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Named: 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: p2405, + FreeVars: nil, + }, + Value: ".", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, - TrailingComma: false, - TailStrict: false, }, }, }, }, 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), @@ -27968,12 +35089,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "mapWithIndex", + Value: "map", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -27989,75 +35112,122 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "func", - "arr", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(240), + Line: int(242), Column: int(5), }, End: ast.Location{ - Line: int(245), - Column: int(66), + Line: int(247), + Column: int(63), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "func", "std", }, }, - Cond: &ast.Binary{ + Cond: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(240), + Line: int(242), Column: int(8), }, End: ast.Location{ - Line: int(240), - Column: int(36), + Line: int(242), + Column: int(29), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "func", "std", }, }, - Left: &ast.Apply{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(240), - Column: int(8), + Line: int(242), + Column: int(9), }, End: ast.Location{ - Line: int(240), - Column: int(22), + Line: int(242), + Column: int(29), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "func", "std", @@ -28066,18 +35236,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(240), - Column: int(8), + Line: int(242), + Column: int(9), }, End: ast.Location{ - Line: int(240), - Column: int(16), + Line: int(242), + Column: int(23), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "std", }, @@ -28085,17 +35256,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(240), - Column: int(8), + Line: int(242), + Column: int(9), }, End: ast.Location{ - Line: int(240), - Column: int(11), + Line: int(242), + Column: int(12), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -28103,6 +35275,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -28117,82 +35290,79 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isFunction", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(17), + 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, }, - End: ast.Location{ - Line: int(240), - Column: int(21), + Fodder: ast.Fodder{}, + Ctx: p2529, + FreeVars: ast.Identifiers{ + "func", }, - File: p1, - }, - Ctx: p2271, - FreeVars: ast.Identifiers{ - "func", }, + Id: "func", }, - Id: "func", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(26), - }, - End: ast.Location{ - Line: int(240), - Column: int(36), - }, - File: p1, - }, - Ctx: p2258, - FreeVars: nil, - }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(241), + Line: int(243), Column: int(7), }, End: ast.Location{ - Line: int(241), - Column: int(85), + Line: int(243), + Column: int(76), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p2516, FreeVars: ast.Identifiers{ "func", "std", @@ -28201,18 +35371,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(241), + Line: int(243), Column: int(14), }, End: ast.Location{ - Line: int(241), - Column: int(84), + Line: int(243), + Column: int(75), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "func", "std", @@ -28221,40 +35392,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(241), + Line: int(243), Column: int(14), }, End: ast.Location{ - Line: int(241), - Column: int(67), + Line: int(243), + Column: int(58), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: nil, }, - Value: "std.mapWithIndex first param must be function, got ", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(241), - Column: int(70), + Line: int(243), + Column: int(61), }, End: ast.Location{ - Line: int(241), - Column: int(84), + Line: int(243), + Column: int(75), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "func", "std", @@ -28263,18 +35438,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(241), - Column: int(70), + Line: int(243), + Column: int(61), }, End: ast.Location{ - Line: int(241), - Column: int(78), + Line: int(243), + Column: int(69), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "std", }, @@ -28282,17 +35458,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(241), - Column: int(70), + Line: int(243), + Column: int(61), }, End: ast.Location{ - Line: int(241), - Column: int(73), + Line: int(243), + Column: int(64), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -28300,6 +35477,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -28314,61 +35492,80 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(241), - Column: int(79), + 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, }, - End: ast.Location{ - Line: int(241), - Column: int(83), + Fodder: ast.Fodder{}, + Ctx: p2546, + FreeVars: ast.Identifiers{ + "func", }, - File: p1, - }, - Ctx: p2288, - FreeVars: ast.Identifiers{ - "func", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(242), + Line: int(244), Column: int(10), }, End: ast.Location{ - Line: int(245), - Column: int(66), + Line: int(247), + Column: int(63), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "func", @@ -28378,58 +35575,62 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), + Line: int(244), Column: int(13), }, End: ast.Location{ - Line: int(242), - Column: int(66), + Line: int(244), + Column: int(52), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", }, }, - Left: &ast.Binary{ + Left: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), + Line: int(244), Column: int(13), }, End: ast.Location{ - Line: int(242), - Column: int(37), + Line: int(244), + Column: int(30), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", }, }, - Left: &ast.Apply{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), - Column: int(13), + Line: int(244), + Column: int(14), }, End: ast.Location{ - Line: int(242), - Column: int(26), + Line: int(244), + Column: int(30), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", @@ -28438,18 +35639,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), - Column: int(13), + Line: int(244), + Column: int(14), }, End: ast.Location{ - Line: int(242), - Column: int(21), + Line: int(244), + Column: int(25), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "std", }, @@ -28457,17 +35659,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), - Column: int(13), + Line: int(244), + Column: int(14), }, End: ast.Location{ - Line: int(242), - Column: int(16), + Line: int(244), + Column: int(17), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -28475,6 +35678,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -28489,103 +35693,95 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isArray", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(22), + 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, }, - End: ast.Location{ - Line: int(242), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p2564, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p2305, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "arr", }, - Id: "arr", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(30), - }, - End: ast.Location{ - Line: int(242), - Column: int(37), - }, - File: p1, - }, - Ctx: p2258, - FreeVars: nil, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(17), - Right: &ast.Binary{ + Right: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), - Column: int(41), + Line: int(244), + Column: int(34), }, End: ast.Location{ - Line: int(242), - Column: int(66), + Line: int(244), + Column: int(52), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", }, }, - Left: &ast.Apply{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), - Column: int(41), + Line: int(244), + Column: int(35), }, End: ast.Location{ - Line: int(242), - Column: int(54), + Line: int(244), + Column: int(52), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", @@ -28594,18 +35790,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), - Column: int(41), + Line: int(244), + Column: int(35), }, End: ast.Location{ - Line: int(242), - Column: int(49), + Line: int(244), + Column: int(47), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "std", }, @@ -28613,17 +35810,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(242), - Column: int(41), + Line: int(244), + Column: int(35), }, End: ast.Location{ - Line: int(242), - Column: int(44), + Line: int(244), + Column: int(38), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -28631,6 +35829,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -28645,83 +35844,80 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isString", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(50), + 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, }, - End: ast.Location{ - Line: int(242), - Column: int(53), + Fodder: ast.Fodder{}, + Ctx: p2577, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p2319, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "arr", }, - Id: "arr", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(242), - Column: int(58), - }, - End: ast.Location{ - Line: int(242), - Column: int(66), - }, - File: p1, - }, - Ctx: p2258, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(243), + Line: int(245), Column: int(7), }, End: ast.Location{ - Line: int(243), + Line: int(245), Column: int(82), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", @@ -28730,18 +35926,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(243), + Line: int(245), Column: int(14), }, End: ast.Location{ - Line: int(243), + Line: int(245), Column: int(81), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", @@ -28750,40 +35947,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(243), + Line: int(245), Column: int(14), }, End: ast.Location{ - Line: int(243), + Line: int(245), Column: int(65), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: nil, }, - Value: "std.mapWithIndex second param must be array, got ", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(243), + Line: int(245), Column: int(68), }, End: ast.Location{ - Line: int(243), + Line: int(245), Column: int(81), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "std", @@ -28792,18 +35993,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(243), + Line: int(245), Column: int(68), }, End: ast.Location{ - Line: int(243), + Line: int(245), Column: int(76), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "std", }, @@ -28811,17 +36013,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(243), + Line: int(245), Column: int(68), }, End: ast.Location{ - Line: int(243), + Line: int(245), Column: int(71), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -28829,6 +36032,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -28843,61 +36047,80 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(77), + 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, }, - End: ast.Location{ - Line: int(243), - Column: int(80), + Fodder: ast.Fodder{}, + Ctx: p2594, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p2336, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(245), + Line: int(247), Column: int(7), }, End: ast.Location{ - Line: int(245), - Column: int(66), + Line: int(247), + Column: int(63), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "arr", "func", @@ -28907,18 +36130,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(245), + Line: int(247), Column: int(7), }, End: ast.Location{ - Line: int(245), + Line: int(247), Column: int(20), }, File: p1, }, - Ctx: p2258, + Fodder: ast.Fodder{}, + Ctx: p2516, FreeVars: ast.Identifiers{ "std", }, @@ -28926,17 +36150,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(245), + Line: int(247), Column: int(7), }, End: ast.Location{ - Line: int(245), + 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", @@ -28944,6 +36176,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -28958,302 +36191,350 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "makeArray", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(21), - }, - End: ast.Location{ - Line: int(245), - Column: int(36), - }, - File: p1, - }, - Ctx: p2347, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(245), + Line: int(247), Column: int(21), }, End: ast.Location{ - Line: int(245), - Column: int(31), + Line: int(247), + Column: int(36), }, File: p1, }, - Ctx: p2347, + Fodder: ast.Fodder{}, + Ctx: p2607, FreeVars: ast.Identifiers{ + "arr", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(245), + Line: int(247), Column: int(21), }, End: ast.Location{ - Line: int(245), - Column: int(24), + Line: int(247), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2607, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(245), - Column: int(32), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(245), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p2356, - FreeVars: ast.Identifiers{ - "arr", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "arr", + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(38), - }, - End: ast.Location{ - Line: int(245), - Column: int(65), + FodderLeft: ast.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: p2616, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + CommaFodder: nil, + }, }, - File: p1, - }, - Ctx: p2347, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + Named: nil, }, - Optional: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - Body: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(245), - Column: int(50), + Line: int(247), + Column: int(38), }, End: ast.Location{ - Line: int(245), - Column: int(65), + Line: int(247), + Column: int(62), }, File: p1, }, - Ctx: p2362, + Fodder: ast.Fodder{}, + Ctx: p2607, FreeVars: ast.Identifiers{ "arr", "func", - "i", }, }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(245), + Line: int(247), Column: int(50), }, End: ast.Location{ - Line: int(245), - Column: int(54), + Line: int(247), + Column: int(62), }, File: p1, }, - Ctx: p2362, + Fodder: ast.Fodder{}, + Ctx: p2622, FreeVars: ast.Identifiers{ + "arr", "func", + "i", }, }, - Id: "func", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(55), - }, - End: ast.Location{ - Line: int(245), - Column: int(56), - }, - File: p1, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(247), + Column: int(50), }, - Ctx: p2368, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(247), + Column: int(54), }, + File: p1, }, - Id: "i", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(58), - }, - End: ast.Location{ - Line: int(245), - Column: int(64), - }, - File: p1, - }, - Ctx: p2368, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, + Fodder: ast.Fodder{}, + Ctx: p2622, + FreeVars: ast.Identifiers{ + "func", }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(58), + }, + 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, }, - End: ast.Location{ - Line: int(245), - Column: int(61), + Fodder: ast.Fodder{}, + Ctx: p2628, + FreeVars: ast.Identifiers{ + "arr", + "i", }, - File: p1, - }, - Ctx: p2368, - FreeVars: ast.Identifiers{ - "arr", }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(62), - }, - End: ast.Location{ - Line: int(245), - Column: int(63), + 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: p2628, + FreeVars: ast.Identifiers{ + "arr", + }, }, - File: p1, + Id: "arr", }, - Ctx: p2368, - FreeVars: ast.Identifiers{ - "i", + 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: p2628, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: "i", + CommaFodder: nil, }, - Id: nil, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - 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(241), + Column: int(3), + }, + End: ast.Location{ + Line: int(247), + Column: int(63), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -29271,12 +36552,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "mapWithKey", + Value: "mapWithIndex", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -29292,75 +36575,122 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "func", - "obj", + 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, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(248), + Line: int(250), Column: int(5), }, End: ast.Location{ - Line: int(253), - Column: int(62), + Line: int(255), + Column: int(66), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p2640, FreeVars: ast.Identifiers{ + "arr", "func", - "obj", "std", }, }, - Cond: &ast.Binary{ + Cond: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(248), + Line: int(250), Column: int(8), }, End: ast.Location{ - Line: int(248), - Column: int(36), + Line: int(250), + Column: int(29), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "func", "std", }, }, - Left: &ast.Apply{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(248), - Column: int(8), + Line: int(250), + Column: int(9), }, End: ast.Location{ - Line: int(248), - Column: int(22), + Line: int(250), + Column: int(29), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "func", "std", @@ -29369,18 +36699,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(248), - Column: int(8), + Line: int(250), + Column: int(9), }, End: ast.Location{ - Line: int(248), - Column: int(16), + Line: int(250), + Column: int(23), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "std", }, @@ -29388,17 +36719,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(248), - Column: int(8), + Line: int(250), + Column: int(9), }, End: ast.Location{ - Line: int(248), - Column: int(11), + Line: int(250), + Column: int(12), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -29406,6 +36738,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -29420,82 +36753,79 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isFunction", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(248), - Column: int(17), + 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, }, - End: ast.Location{ - Line: int(248), - Column: int(21), + Fodder: ast.Fodder{}, + Ctx: p2653, + FreeVars: ast.Identifiers{ + "func", }, - File: p1, - }, - Ctx: p2394, - FreeVars: ast.Identifiers{ - "func", }, + Id: "func", }, - Id: "func", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(248), - Column: int(26), - }, - End: ast.Location{ - Line: int(248), - Column: int(36), - }, - File: p1, - }, - Ctx: p2381, - FreeVars: nil, - }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(249), + Line: int(251), Column: int(7), }, End: ast.Location{ - Line: int(249), - Column: int(83), + Line: int(251), + Column: int(85), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p2640, FreeVars: ast.Identifiers{ "func", "std", @@ -29504,18 +36834,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(249), + Line: int(251), Column: int(14), }, End: ast.Location{ - Line: int(249), - Column: int(82), + Line: int(251), + Column: int(84), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "func", "std", @@ -29524,40 +36855,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(249), + Line: int(251), Column: int(14), }, End: ast.Location{ - Line: int(249), - Column: int(65), + Line: int(251), + Column: int(67), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: nil, }, - Value: "std.mapWithKey first param must be function, got ", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(249), - Column: int(68), + Line: int(251), + Column: int(70), }, End: ast.Location{ - Line: int(249), - Column: int(82), + Line: int(251), + Column: int(84), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "func", "std", @@ -29566,18 +36901,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(249), - Column: int(68), + Line: int(251), + Column: int(70), }, End: ast.Location{ - Line: int(249), - Column: int(76), + Line: int(251), + Column: int(78), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "std", }, @@ -29585,17 +36921,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(249), - Column: int(68), + Line: int(251), + Column: int(70), }, End: ast.Location{ - Line: int(249), - Column: int(71), + Line: int(251), + Column: int(73), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -29603,6 +36940,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -29617,319 +36955,520 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(77), + 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, }, - End: ast.Location{ - Line: int(249), - Column: int(81), + Fodder: ast.Fodder{}, + Ctx: p2670, + FreeVars: ast.Identifiers{ + "func", }, - File: p1, - }, - Ctx: p2411, - FreeVars: ast.Identifiers{ - "func", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(250), + Line: int(252), Column: int(10), }, End: ast.Location{ - Line: int(253), - Column: int(62), + Line: int(255), + Column: int(66), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ + "arr", "func", - "obj", "std", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(250), + Line: int(252), Column: int(13), }, End: ast.Location{ - Line: int(250), - Column: int(38), + Line: int(252), + Column: int(52), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ - "obj", + "arr", "std", }, }, - Left: &ast.Apply{ + Left: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(250), + Line: int(252), Column: int(13), }, End: ast.Location{ - Line: int(250), - Column: int(26), + Line: int(252), + Column: int(30), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ - "obj", + "arr", "std", }, }, - Target: &ast.Index{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(250), - Column: int(13), + Line: int(252), + Column: int(14), }, End: ast.Location{ - Line: int(250), - Column: int(21), + Line: int(252), + Column: int(30), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ + "arr", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(250), - Column: int(13), + Line: int(252), + Column: int(14), }, End: ast.Location{ - Line: int(250), - Column: int(16), + Line: int(252), + Column: int(25), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(250), - Column: int(22), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(250), - Column: int(25), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2426, - FreeVars: ast.Identifiers{ - "obj", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(252), + Column: int(26), + }, + End: ast.Location{ + Line: int(252), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2688, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", }, + CommaFodder: nil, }, - Id: "obj", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(250), - Column: int(30), + Line: int(252), + Column: int(34), }, End: ast.Location{ - Line: int(250), - Column: int(38), + Line: int(252), + Column: int(52), }, File: p1, }, - Ctx: p2381, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p2640, + 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: p2640, + 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: p2640, + 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, + FreeVars: nil, + }, + 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(252), + Column: int(48), + }, + End: ast.Location{ + Line: int(252), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2701, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(251), + Line: int(253), Column: int(7), }, End: ast.Location{ - Line: int(251), - Column: int(81), + Line: int(253), + Column: int(82), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p2640, FreeVars: ast.Identifiers{ - "obj", + "arr", "std", }, }, Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(251), + Line: int(253), Column: int(14), }, End: ast.Location{ - Line: int(251), - Column: int(80), + Line: int(253), + Column: int(81), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ - "obj", + "arr", "std", }, }, Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(251), + Line: int(253), Column: int(14), }, End: ast.Location{ - Line: int(251), - Column: int(64), + Line: int(253), + Column: int(65), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: nil, }, - Value: "std.mapWithKey second param must be object, got ", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(251), - Column: int(67), + Line: int(253), + Column: int(68), }, End: ast.Location{ - Line: int(251), - Column: int(80), + Line: int(253), + Column: int(81), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ - "obj", + "arr", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(251), - Column: int(67), + Line: int(253), + Column: int(68), }, End: ast.Location{ - Line: int(251), - Column: int(75), + Line: int(253), + Column: int(76), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "std", }, @@ -29937,17 +37476,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(251), - Column: int(67), + Line: int(253), + Column: int(68), }, End: ast.Location{ - Line: int(251), - Column: int(70), + Line: int(253), + Column: int(71), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -29955,6 +37495,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -29969,64 +37510,83 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(76), + 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, }, - End: ast.Location{ - Line: int(251), - Column: int(79), + Fodder: ast.Fodder{}, + Ctx: p2718, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p2443, - FreeVars: ast.Identifiers{ - "obj", }, + Id: "arr", }, - Id: "obj", + 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(0), - Column: int(0), + Line: int(255), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(66), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ + "arr", "func", - "obj", "std", }, }, @@ -30035,16 +37595,17 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(20), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2640, FreeVars: ast.Identifiers{ "std", }, @@ -30054,14 +37615,22 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + 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{}, }, - File: nil, }, Ctx: nil, FreeVars: ast.Identifiers{ @@ -30070,6 +37639,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -30084,104 +37654,87 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "$objectFlatMerge", + Value: "makeArray", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "func", - "obj", - "std", - }, - }, - Target: &ast.Index{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(36), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2731, FreeVars: ast.Identifiers{ + "arr", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(255), + Column: int(31), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2731, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -30195,359 +37748,281 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "func", - "obj", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", - }, - Optional: nil, + FreeVars: nil, }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - }, - Elements: ast.Nodes{ - &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(7), - }, - End: ast.Location{ - Line: int(253), - Column: int(62), - }, - File: p1, + 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), }, - Ctx: p2381, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", + End: ast.Location{ + Line: int(255), + Column: int(35), }, + File: p1, }, - 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(253), - Column: int(10), - }, - End: ast.Location{ - Line: int(253), - Column: int(11), - }, - File: p1, - }, - Ctx: p2381, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(14), - }, - End: ast.Location{ - Line: int(253), - Column: int(29), - }, - File: p1, - }, - Ctx: p2473, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(14), - }, - End: ast.Location{ - Line: int(253), - Column: int(18), - }, - File: p1, - }, - Ctx: p2473, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(19), - }, - End: ast.Location{ - Line: int(253), - Column: int(20), - }, - File: p1, - }, - Ctx: p2479, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(22), - }, - End: ast.Location{ - Line: int(253), - Column: int(28), - }, - File: p1, - }, - Ctx: p2479, - FreeVars: ast.Identifiers{ - "k", - "obj", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(22), - }, - End: ast.Location{ - Line: int(253), - Column: int(25), - }, - File: p1, - }, - Ctx: p2479, - FreeVars: ast.Identifiers{ - "obj", - }, - }, - Id: "obj", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(26), - }, - End: ast.Location{ - Line: int(253), - Column: int(27), - }, - File: p1, - }, - Ctx: p2479, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - PlusSuper: false, - }, + Fodder: ast.Fodder{}, + Ctx: p2740, + FreeVars: ast.Identifiers{ + "arr", }, - Locals: ast.LocalBinds{}, }, + Id: "arr", }, - TrailingComma: false, + 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: p2731, + 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: p2746, + FreeVars: ast.Identifiers{ + "arr", + "func", + "i", }, }, - &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(253), - Column: int(39), + Line: int(255), + Column: int(50), }, End: ast.Location{ - Line: int(253), - Column: int(60), + Line: int(255), + Column: int(54), }, File: p1, }, - Ctx: p2381, + Fodder: ast.Fodder{}, + Ctx: p2746, FreeVars: ast.Identifiers{ - "obj", - "std", + "func", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(39), - }, - End: ast.Location{ - Line: int(253), - Column: int(55), - }, - File: p1, - }, - Ctx: p2381, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(39), - }, - End: ast.Location{ - Line: int(253), - Column: int(42), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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(255), + Column: int(55), + }, + End: ast.Location{ + Line: int(255), + Column: int(56), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p2752, + FreeVars: ast.Identifiers{ + "i", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "i", }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(253), - Column: int(56), + Line: int(255), + Column: int(58), }, End: ast.Location{ - Line: int(253), - Column: int(59), + Line: int(255), + Column: int(64), }, File: p1, }, - Ctx: p2496, + Fodder: ast.Fodder{}, + Ctx: p2752, FreeVars: ast.Identifiers{ - "obj", + "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: p2752, + 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: p2752, + FreeVars: ast.Identifiers{ + "i", + }, }, + Id: "i", }, - Id: "obj", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, }, - 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(249), + Column: int(3), + }, + End: ast.Location{ + Line: int(255), + Column: int(66), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -30565,12 +38040,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "join", + Value: "mapWithKey", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -30586,922 +38063,987 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "sep", - "arr", + 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(257), + Column: int(14), + }, + End: ast.Location{ + Line: int(257), + Column: int(18), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "obj", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(257), + Column: int(20), + }, + End: ast.Location{ + Line: int(257), + Column: int(23), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(256), + Line: int(258), Column: int(5), }, End: ast.Location{ - Line: int(274), - Column: int(83), + Line: int(263), + Column: int(62), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p2766, FreeVars: ast.Identifiers{ - "arr", - "sep", + "func", + "obj", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + 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: p2766, + 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: p2766, + FreeVars: ast.Identifiers{ + "func", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(256), - Column: int(11), + Line: int(258), + Column: int(9), }, End: ast.Location{ - Line: int(266), - Column: int(55), + Line: int(258), + Column: int(23), }, File: p1, }, - Ctx: p2507, + Fodder: ast.Fodder{}, + Ctx: p2766, FreeVars: ast.Identifiers{ - "aux", - "sep", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - "i", - "first", - "running", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(257), - Column: int(7), + Line: int(258), + Column: int(9), }, End: ast.Location{ - Line: int(266), - Column: int(55), + Line: int(258), + Column: int(12), }, File: p1, }, - Ctx: p2511, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - "sep", "std", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(10), - }, - End: ast.Location{ - Line: int(257), - Column: int(30), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(257), - Column: int(10), + Line: int(258), + Column: int(24), }, End: ast.Location{ - Line: int(257), - Column: int(11), + Line: int(258), + Column: int(28), }, File: p1, }, - Ctx: p2511, + Fodder: ast.Fodder{}, + Ctx: p2779, FreeVars: ast.Identifiers{ - "i", + "func", }, }, - Id: "i", + Id: "func", }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(15), - }, - End: ast.Location{ - Line: int(257), - Column: int(30), - }, - File: p1, + 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: p2766, + 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: p2766, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p2766, + FreeVars: nil, + }, + Value: "std.mapWithKey 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(259), + Column: int(68), + }, + End: ast.Location{ + Line: int(259), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2766, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p2766, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(259), + Column: int(68), }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "std", + End: ast.Location{ + Line: int(259), + Column: int(71), }, + File: p1, }, - Target: &ast.Index{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(257), - Column: int(15), + Line: int(259), + Column: int(77), }, End: ast.Location{ - Line: int(257), - Column: int(25), + Line: int(259), + Column: int(81), }, File: p1, }, - Ctx: p2511, + Fodder: ast.Fodder{}, + Ctx: p2796, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(15), - }, - End: ast.Location{ - Line: int(257), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + "func", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "func", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(26), - }, - End: ast.Location{ - Line: int(257), - Column: int(29), - }, - File: p1, - }, - Ctx: p2526, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: 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.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: p2766, + FreeVars: ast.Identifiers{ + "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: p2766, + 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: p2766, + FreeVars: ast.Identifiers{ + "obj", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(260), + Column: int(14), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(260), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2766, + FreeVars: ast.Identifiers{ + "std", }, }, - BranchTrue: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(258), - Column: int(9), + Line: int(260), + Column: int(14), }, End: ast.Location{ - Line: int(258), - Column: int(16), + Line: int(260), + Column: int(17), }, File: p1, }, - Ctx: p2511, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "running", + "std", }, }, - Id: "running", + Id: "std", }, - BranchFalse: &ast.Conditional{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(259), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(266), - Column: int(55), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: p2812, + 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: p2766, + 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: p2766, + 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: p2766, + FreeVars: nil, + }, + 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: p2766, + FreeVars: ast.Identifiers{ + "obj", + "std", + }, + }, + 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, }, - Ctx: p2511, + Fodder: ast.Fodder{}, + Ctx: p2766, FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - "sep", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(259), - Column: int(15), + Line: int(261), + Column: int(67), }, End: ast.Location{ - Line: int(259), - Column: int(29), + Line: int(261), + Column: int(70), }, File: p1, }, - Ctx: p2511, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "i", + "std", }, }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(15), - }, - End: ast.Location{ - Line: int(259), - Column: int(21), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "i", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(259), - Column: int(15), + Line: int(261), + Column: int(76), }, End: ast.Location{ - Line: int(259), - Column: int(18), + Line: int(261), + Column: int(79), }, File: p1, }, - Ctx: p2511, + Fodder: ast.Fodder{}, + Ctx: p2829, FreeVars: ast.Identifiers{ - "arr", + "obj", }, }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(19), - }, - End: ast.Location{ - Line: int(259), - Column: int(20), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(25), - }, - End: ast.Location{ - Line: int(259), - Column: int(29), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: nil, + Id: "obj", }, + CommaFodder: nil, }, }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(9), - }, - End: ast.Location{ - Line: int(260), - Column: int(40), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - }, + 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(263), + Column: int(7), + }, + End: ast.Location{ + Line: int(263), + Column: int(62), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "func", + "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, + }, + 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), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(9), - }, - End: ast.Location{ - Line: int(260), - Column: int(12), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(13), - }, - End: ast.Location{ - Line: int(260), - Column: int(16), - }, - File: p1, - }, - Ctx: p2547, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(18), - }, - End: ast.Location{ - Line: int(260), - Column: int(23), - }, - File: p1, - }, - Ctx: p2547, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(18), - }, - End: ast.Location{ - Line: int(260), - Column: int(19), - }, - File: p1, - }, - Ctx: p2547, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(22), - }, - End: ast.Location{ - Line: int(260), - Column: int(23), - }, - File: p1, - }, - Ctx: p2547, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(25), - }, - End: ast.Location{ - Line: int(260), - Column: int(30), - }, - File: p1, - }, - Ctx: p2547, - FreeVars: ast.Identifiers{ - "first", - }, - }, - Id: "first", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(260), - Column: int(32), - }, - End: ast.Location{ - Line: int(260), - Column: int(39), - }, - File: p1, - }, - Ctx: p2547, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - }, - Named: nil, + 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), }, - TrailingComma: false, - TailStrict: true, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - BranchFalse: &ast.Conditional{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(261), - Column: int(12), + Line: int(263), + Column: int(7), }, End: ast.Location{ - Line: int(266), - Column: int(55), + Line: int(263), + Column: int(62), }, File: p1, }, - Ctx: p2511, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - "sep", + "func", + "obj", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(261), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(261), - Column: int(48), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2511, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", "std", }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(15), - }, - End: ast.Location{ - Line: int(261), - Column: int(31), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(15), - }, - End: ast.Location{ - Line: int(261), - Column: int(23), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(15), - }, - End: ast.Location{ - Line: int(261), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(24), - }, - End: ast.Location{ - Line: int(261), - Column: int(30), - }, - File: p1, - }, - Ctx: p2571, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(24), - }, - End: ast.Location{ - Line: int(261), - Column: int(27), - }, - File: p1, - }, - Ctx: p2571, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(28), - }, - End: ast.Location{ - Line: int(261), - Column: int(29), - }, - File: p1, - }, - Ctx: p2571, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(261), - Column: int(35), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(261), - Column: int(48), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2511, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "sep", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(35), - }, - End: ast.Location{ - Line: int(261), - Column: int(43), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(35), - }, - End: ast.Location{ - Line: int(261), - Column: int(38), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(44), - }, - End: ast.Location{ - Line: int(261), - Column: int(47), - }, - File: p1, - }, - Ctx: p2586, - FreeVars: ast.Identifiers{ - "sep", - }, - }, - Id: "sep", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(9), - }, - End: ast.Location{ - Line: int(262), - Column: int(87), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", - "std", - }, + Id: "std", }, - Expr: &ast.Apply{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -31515,34 +39057,23 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", - "std", - }, + FreeVars: nil, }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", @@ -31556,1078 +39087,836 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ + "func", + "obj", + }, + }, + ParenLeftFodder: nil, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(262), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(262), - Column: int(48), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2511, - FreeVars: nil, }, - Value: "expected %s but arr[%d] was %s ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - &ast.Array{ + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(262), - Column: int(51), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(262), - Column: int(87), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2511, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", - "std", + "func", + "k", + "obj", }, }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(52), - }, - End: ast.Location{ - Line: int(262), - Column: int(65), - }, - File: p1, - }, - Ctx: p2603, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - }, - Target: &ast.Index{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(262), - Column: int(52), + Line: int(263), + Column: int(7), }, End: ast.Location{ - Line: int(262), - Column: int(60), + Line: int(263), + Column: int(62), }, File: p1, }, - Ctx: p2603, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(52), - }, - End: ast.Location{ - Line: int(262), - Column: int(55), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(61), - }, - End: ast.Location{ - Line: int(262), - Column: int(64), - }, - File: p1, - }, - Ctx: p2612, - FreeVars: ast.Identifiers{ - "sep", - }, - }, - Id: "sep", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(67), - }, - End: ast.Location{ - Line: int(262), - Column: int(68), - }, - File: p1, - }, - Ctx: p2603, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(70), - }, - End: ast.Location{ - Line: int(262), - Column: int(86), - }, - File: p1, - }, - Ctx: p2603, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(70), - }, - End: ast.Location{ - Line: int(262), - Column: int(78), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - File: p1, }, - Ctx: p2603, + Ctx: p2766, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(70), - }, - End: ast.Location{ - Line: int(262), - Column: int(73), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + "func", + "k", + "obj", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(79), - }, - End: ast.Location{ - Line: int(262), - Column: int(85), - }, - File: p1, - }, - Ctx: p2625, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(262), - Column: int(79), + Line: int(263), + Column: int(10), }, End: ast.Location{ - Line: int(262), - Column: int(82), + Line: int(263), + Column: int(11), }, File: p1, }, - Ctx: p2625, + Fodder: ast.Fodder{}, + Ctx: p2766, FreeVars: ast.Identifiers{ - "arr", + "k", }, }, - Id: "arr", + Id: "k", }, - Index: &ast.Var{ + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(262), - Column: int(83), + Line: int(263), + Column: int(14), }, End: ast.Location{ - Line: int(262), - Column: int(84), + Line: int(263), + Column: int(29), }, File: p1, }, - Ctx: p2625, + Fodder: ast.Fodder{}, + Ctx: p2861, FreeVars: ast.Identifiers{ - "i", + "func", + "k", + "obj", }, }, - Id: "i", + 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: p2861, + 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: p2867, + 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: p2867, + 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: p2867, + 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: p2867, + 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, }, - Id: nil, }, }, - Named: nil, + Locals: ast.LocalBinds{}, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, TrailingComma: false, + CloseFodder: nil, }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(12), - }, - End: ast.Location{ - Line: int(266), - Column: int(55), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - "sep", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(15), - }, - End: ast.Location{ - Line: int(263), - Column: int(20), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "first", - }, - }, - Id: "first", - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(9), - }, - End: ast.Location{ - Line: int(264), - Column: int(49), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "running", - }, + CommaFodder: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(9), + 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, }, - End: ast.Location{ - Line: int(264), - Column: int(12), + Fodder: ast.Fodder{}, + Ctx: p2766, + FreeVars: ast.Identifiers{ + "obj", + "std", }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "aux", }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(264), - Column: int(13), + Line: int(263), + Column: int(39), }, End: ast.Location{ - Line: int(264), - Column: int(16), + Line: int(263), + Column: int(55), }, File: p1, }, - Ctx: p2641, + Fodder: ast.Fodder{}, + Ctx: p2766, FreeVars: ast.Identifiers{ - "arr", + "std", }, }, - Id: "arr", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(18), - }, - End: ast.Location{ - Line: int(264), - Column: int(23), - }, - File: p1, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(264), - Column: int(18), + Line: int(263), + Column: int(39), }, End: ast.Location{ - Line: int(264), - Column: int(19), + Line: int(263), + Column: int(42), }, File: p1, }, - Ctx: p2641, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", + "std", }, }, - Id: "i", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(264), - Column: int(22), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(264), - Column: int(23), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2641, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(25), - }, - End: ast.Location{ - Line: int(264), - Column: int(30), - }, - File: p1, - }, - Ctx: p2641, - FreeVars: nil, + Value: "objectFields", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: false, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(32), - }, - End: ast.Location{ - Line: int(264), - Column: int(48), - }, - File: p1, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "i", - "running", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(32), - }, - End: ast.Location{ - Line: int(264), - Column: int(39), - }, - File: p1, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(42), - }, - End: ast.Location{ - Line: int(264), - Column: int(48), - }, - File: p1, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(42), - }, - End: ast.Location{ - Line: int(264), - Column: int(45), - }, - File: p1, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(46), + FodderLeft: ast.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, }, - End: ast.Location{ - Line: int(264), - Column: int(47), + Fodder: ast.Fodder{}, + Ctx: p2884, + FreeVars: ast.Identifiers{ + "obj", }, - File: p1, - }, - Ctx: p2641, - FreeVars: ast.Identifiers{ - "i", }, + Id: "obj", }, - Id: "i", + CommaFodder: nil, }, - Id: nil, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: true, }, - BranchFalse: &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(55), - }, - File: p1, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "running", - "sep", - }, - }, - Target: &ast.Var{ - 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, - }, - Ctx: p2511, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + }, + }, + }, + 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: nil, + }, + 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: p11, + 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(265), + Column: int(11), + }, + End: ast.Location{ + Line: int(265), + Column: int(15), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(265), + Column: int(17), + }, + End: ast.Location{ + Line: int(265), + Column: int(20), + }, + File: p1, + }, + }, + }, + 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, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p2892, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + }, + 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: p2892, + 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: p2892, + 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: p2892, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(266), + Column: int(24), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(13), - }, - End: ast.Location{ - Line: int(266), - Column: int(16), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(18), - }, - End: ast.Location{ - Line: int(266), - Column: int(23), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(18), - }, - End: ast.Location{ - Line: int(266), - Column: int(19), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(22), - }, - End: ast.Location{ - Line: int(266), - Column: int(23), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(25), - }, - End: ast.Location{ - Line: int(266), - Column: int(30), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: nil, - }, - Value: false, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(32), - }, - End: ast.Location{ - Line: int(266), - Column: int(54), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "arr", - "i", - "running", - "sep", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(32), - }, - End: ast.Location{ - Line: int(266), - Column: int(45), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "running", - "sep", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(32), - }, - End: ast.Location{ - Line: int(266), - Column: int(39), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(42), - }, - End: ast.Location{ - Line: int(266), - Column: int(45), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "sep", - }, - }, - Id: "sep", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(48), - }, - End: ast.Location{ - Line: int(266), - Column: int(54), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(48), - }, - End: ast.Location{ - Line: int(266), - Column: int(51), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(266), - Column: int(52), - }, - End: ast.Location{ - Line: int(266), - Column: int(53), - }, - File: p1, - }, - Ctx: p2665, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - }, - }, - Named: nil, + End: ast.Location{ + Line: int(266), + Column: int(28), }, - TrailingComma: false, - TailStrict: true, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2905, + FreeVars: ast.Identifiers{ + "func", }, }, + Id: "func", }, + CommaFodder: nil, }, }, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Body: &ast.Conditional{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(267), - Column: int(5), + Column: int(7), }, End: ast.Location{ - Line: int(274), - Column: int(83), + Line: int(267), + Column: int(80), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p2892, FreeVars: ast.Identifiers{ - "arr", - "aux", - "sep", + "func", "std", }, }, - Cond: &ast.Binary{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(267), - Column: int(8), + Column: int(14), }, End: ast.Location{ Line: int(267), - Column: int(32), + Column: int(79), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "arr", + "func", "std", }, }, - Left: &ast.Apply{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(267), - Column: int(8), + Column: int(14), }, End: ast.Location{ Line: int(267), - Column: int(21), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2892, + FreeVars: nil, + }, + Value: "std.flatMap 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(267), + Column: int(65), + }, + End: ast.Location{ + Line: int(267), + Column: int(79), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "arr", + "func", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(267), - Column: int(8), + Column: int(65), }, End: ast.Location{ Line: int(267), - Column: int(16), + Column: int(73), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ "std", }, @@ -32635,17 +39924,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(267), - Column: int(8), + Column: int(65), }, End: ast.Location{ Line: int(267), - Column: int(11), + Column: int(68), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -32653,6 +39943,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -32667,1030 +39958,1634 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(17), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(267), - Column: int(20), + Fodder: ast.Fodder{}, + Ctx: p2922, + FreeVars: ast.Identifiers{ + "func", }, - File: p1, - }, - Ctx: p2700, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "func", }, - Id: "arr", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(25), - }, - End: ast.Location{ - Line: int(267), - Column: int(32), - }, - File: p1, - }, - Ctx: p2503, - FreeVars: 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(268), + Column: int(10), }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(272), + Column: int(89), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2892, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", }, }, - BranchTrue: &ast.Error{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(268), - Column: int(7), + Column: int(13), }, End: ast.Location{ Line: int(268), - Column: int(74), + Column: int(29), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ "arr", "std", }, }, - Expr: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(268), Column: int(13), }, End: ast.Location{ Line: int(268), - Column: int(74), + Column: int(24), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(268), Column: int(13), }, End: ast.Location{ Line: int(268), - Column: int(58), + Column: int(16), }, File: p1, }, - Ctx: p2503, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "join second parameter should be array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(268), - Column: int(61), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(268), - Column: int(74), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p2503, - FreeVars: ast.Identifiers{ - "arr", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(268), - Column: int(61), - }, - End: ast.Location{ - Line: int(268), - Column: int(69), - }, - File: p1, - }, - Ctx: p2503, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ Line: int(268), - Column: int(61), + Column: int(25), }, End: ast.Location{ Line: int(268), - Column: int(64), + Column: int(28), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2936, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(268), - Column: int(70), - }, - End: ast.Location{ - Line: int(268), - Column: int(73), - }, - File: p1, - }, - Ctx: p2717, - FreeVars: ast.Identifiers{ - "arr", - }, + "arr", }, - Id: "arr", }, + Id: "arr", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Conditional{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(269), - Column: int(10), + Column: int(7), }, End: ast.Location{ - Line: int(274), - Column: int(83), + Line: int(269), + Column: int(82), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ "arr", - "aux", - "sep", + "func", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(269), - Column: int(13), + Column: int(7), }, End: ast.Location{ Line: int(269), - Column: int(38), + Column: int(24), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "sep", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(269), - Column: int(13), + Column: int(7), }, End: ast.Location{ Line: int(269), - Column: int(26), + Column: int(10), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "sep", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(13), - }, - End: ast.Location{ - Line: int(269), - Column: int(21), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2503, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "flattenArrays", + 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: "", + FileName: "", Begin: ast.Location{ Line: int(269), - Column: int(13), + Column: int(25), }, End: ast.Location{ Line: int(269), - Column: int(16), + Column: int(81), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p2948, FreeVars: ast.Identifiers{ + "arr", + "func", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(269), - Column: int(22), + Column: int(25), }, End: ast.Location{ Line: int(269), - Column: int(25), + Column: int(38), }, File: p1, }, - Ctx: p2732, + Fodder: ast.Fodder{}, + Ctx: p2948, FreeVars: ast.Identifiers{ - "sep", + "std", }, }, - Id: "sep", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(30), - }, - End: ast.Location{ - Line: int(269), - Column: int(38), + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "makeArray", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - File: p1, - }, - Ctx: p2503, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ + 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: p2957, + 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: p2957, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(269), + Column: int(50), + }, + End: ast.Location{ + Line: int(269), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2966, + 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(269), + Column: int(56), + }, + End: ast.Location{ + Line: int(269), + Column: int(80), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2957, + 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: p2972, + FreeVars: ast.Identifiers{ + "arr", + "func", + "i", + }, + }, + Target: &ast.Var{ + 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: p2972, + 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(269), + Column: int(73), + }, + End: ast.Location{ + Line: int(269), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2978, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p2978, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + 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: p2978, + 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, + }, + 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: p2892, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(270), - Column: int(7), + Column: int(13), }, End: ast.Location{ Line: int(270), - Column: int(28), + Column: int(30), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ "arr", - "aux", + "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(270), - Column: int(7), + Column: int(13), }, End: ast.Location{ Line: int(270), - Column: int(10), + Column: int(25), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(11), - }, - End: ast.Location{ - Line: int(270), - Column: int(14), - }, - File: p1, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(270), + Column: int(13), }, - Ctx: p2741, - FreeVars: ast.Identifiers{ - "arr", + End: ast.Location{ + Line: int(270), + Column: int(16), }, + File: p1, }, - Id: "arr", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(16), - }, - End: ast.Location{ - Line: int(270), - Column: int(17), - }, - File: p1, - }, - Ctx: p2741, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - Value: float64(0), - OriginalString: "0", }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(19), - }, - End: ast.Location{ - Line: int(270), - Column: int(23), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2741, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - Value: true, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(25), + 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(270), + Column: int(26), + }, + End: ast.Location{ + Line: int(270), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(270), - Column: int(27), + Fodder: ast.Fodder{}, + Ctx: p2996, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, }, - Ctx: p2741, - FreeVars: nil, + Id: "arr", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Conditional{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(271), - Column: int(10), + Column: int(7), }, End: ast.Location{ - Line: int(274), - Column: int(83), + Line: int(271), + Column: int(77), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ "arr", - "aux", - "sep", + "func", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(271), - Column: int(13), + Column: int(7), }, End: ast.Location{ Line: int(271), - Column: int(37), + Column: int(15), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "sep", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(271), - Column: int(13), + Column: int(7), }, End: ast.Location{ Line: int(271), - Column: int(26), + Column: int(10), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "sep", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(13), - }, - End: ast.Location{ - Line: int(271), - Column: int(21), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p2503, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ Line: int(271), - Column: int(13), + Column: int(16), }, End: ast.Location{ Line: int(271), - Column: int(16), + Column: int(18), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p3008, + FreeVars: nil, }, - Id: "std", + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(271), + Column: int(20), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(271), + Column: int(76), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3008, + FreeVars: ast.Identifiers{ + "arr", + "func", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(271), - Column: int(22), + Column: int(20), }, End: ast.Location{ Line: int(271), - Column: int(25), + Column: int(33), }, File: p1, }, - Ctx: p2759, + Fodder: ast.Fodder{}, + Ctx: p3008, FreeVars: ast.Identifiers{ - "sep", + "std", }, }, - Id: "sep", + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(271), + Column: int(34), + }, + End: ast.Location{ + Line: int(271), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3018, + 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: p3018, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(271), + Column: int(45), + }, + End: ast.Location{ + Line: int(271), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3027, + 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(271), + Column: int(51), + }, + End: ast.Location{ + Line: int(271), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3018, + 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: p3033, + FreeVars: ast.Identifiers{ + "arr", + "func", + "i", + }, + }, + Target: &ast.Var{ + 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: p3033, + 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(271), + Column: int(68), + }, + End: ast.Location{ + Line: int(271), + Column: int(74), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3039, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p3039, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + 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: p3039, + 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, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(30), - }, - End: ast.Location{ - Line: int(271), - Column: int(37), - }, - File: p1, - }, - Ctx: p2503, - FreeVars: 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), }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(272), + Column: int(89), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p2892, + FreeVars: ast.Identifiers{ + "arr", + "std", }, }, - BranchTrue: &ast.Apply{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(272), - Column: int(7), + Column: int(17), }, End: ast.Location{ Line: int(272), - Column: int(28), + Column: int(88), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ "arr", - "aux", + "std", }, }, - Target: &ast.Var{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(272), - Column: int(7), + Column: int(17), }, End: ast.Location{ Line: int(272), - Column: int(10), + Column: int(72), }, File: p1, }, - Ctx: p2503, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(11), - }, - End: ast.Location{ - Line: int(272), - Column: int(14), - }, - File: p1, - }, - Ctx: p2768, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(16), - }, - End: ast.Location{ - Line: int(272), - Column: int(17), - }, - File: p1, - }, - Ctx: p2768, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(19), - }, - End: ast.Location{ - Line: int(272), - Column: int(23), - }, - File: p1, - }, - Ctx: p2768, - FreeVars: nil, - }, - Value: true, - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(25), - }, - End: ast.Location{ - Line: int(272), - Column: int(27), - }, - File: p1, - }, - Ctx: p2768, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(274), - Column: int(7), - }, - End: ast.Location{ - Line: int(274), - Column: int(83), - }, - File: p1, - }, - Ctx: p2503, - FreeVars: ast.Identifiers{ - "sep", - "std", + Fodder: ast.Fodder{}, + Ctx: p2892, + FreeVars: nil, }, + Value: "std.flatMap second param must be array / string, got ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Expr: &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(274), - Column: int(13), + Line: int(272), + Column: int(75), }, End: ast.Location{ - Line: int(274), - Column: int(83), + Line: int(272), + Column: int(88), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "sep", + "arr", "std", }, }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(274), - Column: int(13), - }, - End: ast.Location{ - Line: int(274), - Column: int(67), - }, - File: p1, - }, - Ctx: p2503, - FreeVars: nil, - }, - Value: "join first parameter should be string or array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(274), - Column: int(70), + Line: int(272), + Column: int(75), }, End: ast.Location{ - Line: int(274), + Line: int(272), Column: int(83), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: p2892, FreeVars: ast.Identifiers{ - "sep", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(274), - Column: int(70), + Line: int(272), + Column: int(75), }, End: ast.Location{ - Line: int(274), + Line: int(272), Column: int(78), }, File: p1, }, - Ctx: p2503, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(274), - Column: int(70), - }, - End: ast.Location{ - Line: int(274), - Column: int(73), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "type", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(274), - Column: int(79), + Line: int(272), + Column: int(84), }, End: ast.Location{ - Line: int(274), - Column: int(82), + Line: int(272), + Column: int(87), }, File: p1, }, - Ctx: p2787, + Fodder: ast.Fodder{}, + Ctx: p3060, FreeVars: ast.Identifiers{ - "sep", + "arr", }, }, - Id: "sep", + Id: "arr", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, @@ -33699,6 +41594,18 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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), @@ -33716,12 +41623,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "lines", + Value: "join", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -33737,743 +41646,336 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "sep", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(277), - Column: int(5), + Line: int(274), + Column: int(8), }, End: ast.Location{ - Line: int(277), - Column: int(31), + Line: int(274), + Column: int(11), }, File: p1, }, - Ctx: p2794, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(5), - }, - End: ast.Location{ - Line: int(277), - Column: int(13), - }, - File: p1, - }, - Ctx: p2794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(5), - }, - End: ast.Location{ - Line: int(277), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(14), - }, - End: ast.Location{ - Line: int(277), - Column: int(18), - }, - File: p1, - }, - Ctx: p2803, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(274), + Column: int(13), }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(20), - }, - End: ast.Location{ - Line: int(277), - Column: int(30), - }, - File: p1, - }, - Ctx: p2803, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(20), - }, - End: ast.Location{ - Line: int(277), - Column: int(23), - }, - File: p1, - }, - Ctx: p2803, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(26), - }, - End: ast.Location{ - Line: int(277), - Column: int(30), - }, - File: p1, - }, - Ctx: p2803, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(27), - }, - End: ast.Location{ - Line: int(277), - Column: int(29), - }, - File: p1, - }, - Ctx: p2811, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - TrailingComma: false, - }, + End: ast.Location{ + Line: int(274), + Column: int(16), }, + File: p1, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "deepJoin", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(280), + Line: int(275), Column: int(5), }, End: ast.Location{ - Line: int(285), - Column: int(63), + Line: int(293), + Column: int(83), }, File: p1, }, - Ctx: p2817, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3068, FreeVars: ast.Identifiers{ "arr", + "sep", "std", }, }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(8), - }, - End: ast.Location{ - Line: int(280), - Column: int(25), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(8), - }, - End: ast.Location{ - Line: int(280), - Column: int(20), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Variable: "aux", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(280), - Column: int(8), + Line: int(275), + Column: int(11), }, End: ast.Location{ - Line: int(280), - Column: int(11), + Line: int(285), + Column: int(55), }, File: p1, }, - Ctx: nil, + Fodder: nil, + Ctx: p3072, FreeVars: ast.Identifiers{ + "aux", + "sep", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(280), - Column: int(21), + Line: int(275), + Column: int(15), }, End: ast.Location{ - Line: int(280), - Column: int(24), + Line: int(275), + Column: int(18), }, File: p1, }, - Ctx: p2828, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(7), - }, - End: ast.Location{ - Line: int(281), - Column: int(10), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(10), - }, - End: ast.Location{ - Line: int(285), - Column: int(63), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(13), - }, - End: ast.Location{ - Line: int(282), - Column: int(29), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(13), - }, - End: ast.Location{ - Line: int(282), - Column: int(24), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "std", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(282), - Column: int(13), + Line: int(275), + Column: int(20), }, End: ast.Location{ - Line: int(282), - Column: int(16), + Line: int(275), + Column: int(21), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "first", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(275), + Column: int(23), }, End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(25), - }, - End: ast.Location{ - Line: int(282), - Column: int(28), - }, - File: p1, - }, - Ctx: p2843, - FreeVars: ast.Identifiers{ - "arr", + Line: int(275), + Column: int(28), }, + File: p1, }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(7), - }, - End: ast.Location{ - Line: int(283), - Column: int(51), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(7), - }, - End: ast.Location{ - Line: int(283), - Column: int(15), - }, - File: p1, }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "running", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(283), - Column: int(7), + Line: int(275), + Column: int(30), }, End: ast.Location{ - Line: int(283), - Column: int(10), + Line: int(275), + Column: int(37), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(276), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(285), + Column: int(55), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(16), - }, - End: ast.Location{ - Line: int(283), - Column: int(18), - }, - File: p1, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Ctx: p2854, - FreeVars: nil, }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Ctx: p3077, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "first", + "i", + "running", + "sep", + "std", + }, }, - &ast.Apply{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(276), + Column: int(10), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(276), + Column: int(30), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ "arr", + "i", "std", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(276), + Column: int(10), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(276), + Column: int(11), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p3077, + 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: p3077, FreeVars: ast.Identifiers{ + "arr", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(276), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(276), + Column: int(25), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -34487,1604 +41989,1197 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", - }, - Optional: nil, + FreeVars: nil, }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(21), - }, - End: ast.Location{ - Line: int(283), - Column: int(36), - }, - File: p1, - }, - Ctx: p2870, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(21), - }, - End: ast.Location{ - Line: int(283), - Column: int(33), - }, - File: p1, - }, - Ctx: p2870, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(21), - }, - End: ast.Location{ - Line: int(283), - Column: int(24), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", + 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(276), + Column: int(26), }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "deepJoin", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(276), + Column: int(29), }, - Id: nil, + File: p1, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(34), - }, - End: ast.Location{ - Line: int(283), - Column: int(35), - }, - File: p1, - }, - Ctx: p2879, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p3092, + FreeVars: ast.Identifiers{ + "arr", }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - &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(49), }, - File: p1, - }, - Ctx: p2854, - FreeVars: ast.Identifiers{ - "arr", + Id: "arr", }, + CommaFodder: nil, }, - Id: "arr", }, + Named: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(7), - }, - End: ast.Location{ - Line: int(285), - Column: int(63), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Target: &ast.Var{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(277), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(277), + Column: int(16), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p3077, FreeVars: ast.Identifiers{ - "std", + "running", }, }, - Id: "std", + Id: "running", }, - Index: &ast.LiteralString{ + 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(0), - Column: int(0), + Line: int(278), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(285), + Column: int(55), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(13), - }, - End: ast.Location{ - Line: int(285), - Column: int(47), - }, - File: p1, - }, - Ctx: p2817, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p3077, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "first", + "i", + "running", + "sep", + "std", }, - Value: "Expected string or array, got %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - &ast.Apply{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(285), - Column: int(50), + Line: int(278), + Column: int(15), }, End: ast.Location{ - Line: int(285), - Column: int(63), + Line: int(278), + Column: int(29), }, File: p1, }, - Ctx: p2817, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ "arr", - "std", + "i", }, }, - Target: &ast.Index{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(285), - Column: int(50), + Line: int(278), + Column: int(15), }, End: ast.Location{ - Line: int(285), - Column: int(58), + Line: int(278), + Column: int(21), }, File: p1, }, - Ctx: p2817, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ - "std", + "arr", + "i", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(285), - Column: int(50), + Line: int(278), + Column: int(15), }, End: ast.Location{ - Line: int(285), - Column: int(53), + Line: int(278), + Column: int(18), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ - "std", + "arr", }, }, - Id: "std", + Id: "arr", }, - Index: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(278), + Column: int(19), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(278), + Column: int(20), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3077, + FreeVars: ast.Identifiers{ + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: p3077, + FreeVars: nil, + }, + }, + }, + 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: p3077, + 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: p3077, + FreeVars: ast.Identifiers{ + "aux", + }, + }, + Id: "aux", + }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(285), - Column: int(59), + 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, }, - End: ast.Location{ - Line: int(285), - Column: int(62), + Fodder: ast.Fodder{}, + Ctx: p3116, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p2903, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "arr", }, - Id: "arr", + CommaFodder: ast.Fodder{}, }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "format", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "vals", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(294), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "std", - "str", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "try_parse_mapping_key", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(294), - Column: int(11), - }, - End: ast.Location{ - Line: int(311), - Column: int(28), - }, - File: p1, - }, - Ctx: p2914, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(7), - }, - End: ast.Location{ - Line: int(311), - Column: int(28), - }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(10), - }, - End: ast.Location{ - Line: int(295), - Column: int(30), - }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(10), + 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: p3116, + 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: p3116, + 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: p3116, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, }, - End: ast.Location{ - Line: int(295), - Column: int(11), + 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: p3116, + 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: p3116, + FreeVars: ast.Identifiers{ + "running", + }, + }, + Id: "running", + }, + CommaFodder: nil, }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "i", }, + Named: nil, }, - Id: "i", + TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(295), - Column: int(15), + Line: int(280), + Column: int(12), }, End: ast.Location{ - Line: int(295), - Column: int(30), + Line: int(285), + Column: int(55), }, File: p1, }, - Ctx: p2918, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ + "arr", + "aux", + "first", + "i", + "running", + "sep", "std", - "str", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(295), + Line: int(280), Column: int(15), }, End: ast.Location{ - Line: int(295), - Column: int(25), + Line: int(280), + Column: int(48), }, File: p1, }, - Ctx: p2918, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ + "arr", + "i", + "sep", "std", }, }, - Target: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(295), + Line: int(280), Column: int(15), }, End: ast.Location{ - Line: int(295), - Column: int(18), + Line: int(280), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ + "arr", + "i", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(295), - Column: int(26), + Line: int(280), + Column: int(15), }, End: ast.Location{ - Line: int(295), - Column: int(29), + Line: int(280), + Column: int(23), }, File: p1, }, - Ctx: p2933, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(9), - }, - End: ast.Location{ - Line: int(296), - Column: int(39), - }, - File: p1, - }, - Ctx: p2918, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(296), - Column: int(15), + 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: nil, + }, + Value: "type", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - End: ast.Location{ - Line: int(296), - Column: int(39), + 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: p3141, + 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: p3141, + 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: p3141, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p2918, - FreeVars: nil, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(9), - }, - End: ast.Location{ - Line: int(311), - Column: int(28), + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(298), - Column: int(19), + Line: int(280), + Column: int(35), }, End: ast.Location{ - Line: int(298), - Column: int(25), + Line: int(280), + Column: int(48), }, File: p1, }, - Ctx: p2941, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ - "i", - "str", + "sep", + "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(298), - Column: int(19), + Line: int(280), + Column: int(35), }, End: ast.Location{ - Line: int(298), - Column: int(22), + Line: int(280), + Column: int(43), }, File: p1, }, - Ctx: p2941, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(23), + 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, }, - End: ast.Location{ - Line: int(298), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p2941, - FreeVars: ast.Identifiers{ - "i", + 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: nil, }, + Value: "type", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "i", - }, - Id: nil, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(9), + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - End: ast.Location{ - Line: int(311), - Column: int(28), + FodderLeft: ast.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: p3156, + FreeVars: ast.Identifiers{ + "sep", + }, + }, + Id: "sep", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "c", - "i", - "std", - "str", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Cond: &ast.Binary{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(299), - Column: int(12), + Line: int(281), + Column: int(9), }, End: ast.Location{ - Line: int(299), - Column: int(20), + Line: int(281), + Column: int(87), }, File: p1, }, - Ctx: p2918, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p3077, FreeVars: ast.Identifiers{ - "c", + "arr", + "i", + "sep", + "std", }, }, - Left: &ast.Var{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(299), - Column: int(12), + Line: int(281), + Column: int(15), }, End: ast.Location{ - Line: int(299), - Column: int(13), + Line: int(281), + Column: int(87), }, File: p1, }, - Ctx: p2918, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "c", + "arr", + "i", + "sep", + "std", }, }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(17), + 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, }, - End: ast.Location{ - Line: int(299), - Column: int(20), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, - }, - Ctx: p2918, - FreeVars: nil, - }, - Value: "(", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(300), - Column: int(11), - }, - End: ast.Location{ - Line: int(309), - Column: int(34), }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "consume", - Body: &ast.Function{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(300), - Column: int(17), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(308), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p2958, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "consume", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "j", - "v", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(13), - }, - End: ast.Location{ - Line: int(308), - Column: int(35), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "consume", - "j", - "std", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(16), - }, - End: ast.Location{ - Line: int(301), - Column: int(36), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(16), - }, - End: ast.Location{ - Line: int(301), - Column: int(17), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(21), - }, - End: ast.Location{ - Line: int(301), - Column: int(36), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(21), - }, - End: ast.Location{ - Line: int(301), - Column: int(31), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(21), - }, - End: ast.Location{ - Line: int(301), - Column: int(24), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(32), - }, - End: ast.Location{ - Line: int(301), - Column: int(35), - }, - File: p1, - }, - Ctx: p2977, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - BranchTrue: &ast.Error{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(302), + Line: int(281), Column: int(15), }, End: ast.Location{ - Line: int(302), - Column: int(45), + Line: int(281), + Column: int(48), }, File: p1, }, - Ctx: p2962, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: nil, }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(21), - }, - End: ast.Location{ - Line: int(302), - Column: int(45), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: nil, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, + Value: "expected %s but arr[%d] was %s ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Local{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(304), - Column: int(15), + Line: int(281), + Column: int(51), }, End: ast.Location{ - Line: int(308), - Column: int(35), + Line: int(281), + Column: int(87), }, File: p1, }, - Ctx: p2962, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", + "arr", + "i", + "sep", + "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(304), - Column: int(25), + Line: int(281), + Column: int(52), }, End: ast.Location{ - Line: int(304), - Column: int(31), + Line: int(281), + Column: int(65), }, File: p1, }, - Ctx: p2985, + Fodder: ast.Fodder{}, + Ctx: p3174, FreeVars: ast.Identifiers{ - "j", - "str", + "sep", + "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(304), - Column: int(25), + Line: int(281), + Column: int(52), }, End: ast.Location{ - Line: int(304), - Column: int(28), + Line: int(281), + Column: int(60), }, File: p1, }, - Ctx: p2985, + Fodder: ast.Fodder{}, + Ctx: p3174, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(304), - Column: int(29), + 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, }, - End: ast.Location{ - Line: int(304), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p2985, - FreeVars: ast.Identifiers{ - "j", + 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: nil, }, + Value: "type", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "j", - }, - Id: nil, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(15), - }, - End: ast.Location{ - Line: int(308), - Column: int(35), + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(18), - }, - End: ast.Location{ - Line: int(305), - Column: int(26), + FodderLeft: ast.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: p3183, + FreeVars: ast.Identifiers{ + "sep", + }, + }, + Id: "sep", + }, + CommaFodder: nil, + }, }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "c", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(305), - Column: int(18), + Line: int(281), + Column: int(67), }, End: ast.Location{ - Line: int(305), - Column: int(19), + Line: int(281), + Column: int(68), }, File: p1, }, - Ctx: p2962, + Fodder: ast.Fodder{}, + Ctx: p3174, FreeVars: ast.Identifiers{ - "c", + "i", }, }, - Id: "c", + Id: "i", }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(305), - Column: int(23), + Line: int(281), + Column: int(70), }, End: ast.Location{ - Line: int(305), - Column: int(26), + Line: int(281), + Column: int(86), }, File: p1, }, - Ctx: p2962, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p3174, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, }, - Value: ")", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(17), - }, - End: ast.Location{ - Line: int(306), - Column: int(43), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(17), - }, - End: ast.Location{ - Line: int(306), - Column: int(24), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(25), - }, - End: ast.Location{ - Line: int(306), - Column: int(28), - }, - File: p1, - }, - Ctx: p3004, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(30), - }, - End: ast.Location{ - Line: int(306), - Column: int(35), - }, - File: p1, - }, - Ctx: p3004, - FreeVars: ast.Identifiers{ - "j", + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(281), + Column: int(70), }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(30), - }, - End: ast.Location{ - Line: int(306), - Column: int(31), - }, - File: p1, - }, - Ctx: p3004, - FreeVars: ast.Identifiers{ - "j", - }, + End: ast.Location{ + Line: int(281), + Column: int(78), }, - Id: "j", + File: p1, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(34), - }, - End: ast.Location{ - Line: int(306), - Column: int(35), - }, - File: p1, - }, - Ctx: p3004, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + Fodder: ast.Fodder{}, + Ctx: p3174, + FreeVars: ast.Identifiers{ + "std", }, }, - &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(306), - Column: int(37), + Line: int(281), + Column: int(70), }, End: ast.Location{ - Line: int(306), - Column: int(42), + Line: int(281), + Column: int(73), }, File: p1, }, - Ctx: p3004, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "c", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(37), - }, - End: ast.Location{ - Line: int(306), - Column: int(38), - }, - File: p1, - }, - Ctx: p3004, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(306), - Column: int(41), - }, - End: ast.Location{ - Line: int(306), - Column: int(42), - }, - File: p1, - }, - Ctx: p3004, - FreeVars: ast.Identifiers{ - "c", - }, + "std", }, - Id: "c", }, + Id: "std", }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(17), - }, - End: ast.Location{ - Line: int(308), - Column: int(35), - }, - File: p1, - }, - Ctx: p2962, - FreeVars: ast.Identifiers{ - "j", - "v", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -36098,7163 +43193,8298 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "i", + Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(22), - }, - End: ast.Location{ - Line: int(308), - Column: int(27), - }, - File: p1, - }, - Ctx: p3022, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(22), + 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, }, - End: ast.Location{ - Line: int(308), - Column: int(23), + Fodder: ast.Fodder{}, + Ctx: p3196, + FreeVars: ast.Identifiers{ + "arr", + "i", }, - File: p1, - }, - Ctx: p3022, - FreeVars: ast.Identifiers{ - "j", }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(26), - }, - End: ast.Location{ - Line: int(308), - Column: int(27), + 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: p3196, + FreeVars: ast.Identifiers{ + "arr", + }, }, - File: p1, - }, - Ctx: p3022, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(32), + Id: "arr", }, - End: ast.Location{ - Line: int(308), - Column: int(33), + 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: p3196, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", }, - File: p1, - }, - Ctx: p3022, - FreeVars: ast.Identifiers{ - "v", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Id: "v", }, - PlusSuper: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Locals: ast.LocalBinds{}, - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(309), - Column: int(11), - }, - End: ast.Location{ - Line: int(309), - Column: int(34), - }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(309), - Column: int(11), - }, - End: ast.Location{ - Line: int(309), - Column: int(18), - }, - File: p1, - }, - Ctx: p2918, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(309), - Column: int(19), - }, - End: ast.Location{ - Line: int(309), - Column: int(22), - }, - File: p1, - }, - Ctx: p3036, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(309), - Column: int(24), - }, - End: ast.Location{ - Line: int(309), - Column: int(29), - }, - File: p1, - }, - Ctx: p3036, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(309), - Column: int(24), - }, - End: ast.Location{ - Line: int(309), - Column: int(25), - }, - File: p1, - }, - Ctx: p3036, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(309), - Column: int(28), - }, - End: ast.Location{ - Line: int(309), - Column: int(29), - }, - File: p1, - }, - Ctx: p3036, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(309), - Column: int(31), - }, - End: ast.Location{ - Line: int(309), - Column: int(33), + CommaFodder: nil, }, - File: p1, }, - Ctx: p3036, - FreeVars: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, }, - BranchFalse: &ast.DesugaredObject{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(311), - Column: int(11), + Line: int(282), + Column: int(12), }, End: ast.Location{ - Line: int(311), - Column: int(28), + Line: int(285), + Column: int(55), }, File: p1, }, - Ctx: p2918, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ + "arr", + "aux", + "first", "i", + "running", + "sep", }, }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(311), - Column: int(16), - }, - End: ast.Location{ - Line: int(311), - Column: int(17), - }, - File: p1, - }, - Ctx: p3049, - FreeVars: ast.Identifiers{ - "i", - }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(282), + Column: int(15), }, - Id: "i", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, + End: ast.Location{ + Line: int(282), + Column: int(20), }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: p1, }, - Body: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(311), - Column: int(22), - }, - End: ast.Location{ - Line: int(311), - Column: int(26), - }, - File: p1, - }, - Ctx: p3049, - FreeVars: nil, - }, + Fodder: ast.Fodder{}, + Ctx: p3077, + FreeVars: ast.Identifiers{ + "first", }, - PlusSuper: false, }, + Id: "first", }, - Locals: ast.LocalBinds{}, - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "std", - "str", - "try_parse_mapping_key", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "try_parse_cflags", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(11), - }, - End: ast.Location{ - Line: int(331), - Column: int(91), - }, - File: p1, - }, - Ctx: p3057, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(7), - }, - End: ast.Location{ - Line: int(331), - Column: int(91), - }, - File: p1, - }, - Ctx: p3061, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "consume", - Body: &ast.Function{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(314), - Column: int(13), + Line: int(283), + Column: int(9), }, End: ast.Location{ - Line: int(330), - Column: int(27), + Line: int(283), + Column: int(49), }, File: p1, }, - Ctx: p3065, + Fodder: ast.Fodder{}, + Ctx: p3077, FreeVars: ast.Identifiers{ - "consume", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "j", - "v", + "arr", + "aux", + "i", + "running", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(315), + Line: int(283), Column: int(9), }, End: ast.Location{ - Line: int(330), - Column: int(27), + Line: int(283), + Column: int(12), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p3077, FreeVars: ast.Identifiers{ - "consume", - "j", - "std", - "str", - "v", + "aux", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(12), - }, - End: ast.Location{ - Line: int(315), - Column: int(32), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(12), + 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, }, - End: ast.Location{ - Line: int(315), - Column: int(13), + Fodder: ast.Fodder{}, + Ctx: p3214, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "j", }, + Id: "arr", }, - Id: "j", + CommaFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(17), - }, - End: ast.Location{ - Line: int(315), - Column: int(32), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(315), - Column: int(17), + Line: int(283), + Column: int(18), }, End: ast.Location{ - Line: int(315), - Column: int(27), + Line: int(283), + Column: int(23), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3214, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(315), - Column: int(17), + Line: int(283), + Column: int(18), }, End: ast.Location{ - Line: int(315), - Column: int(20), + Line: int(283), + Column: int(19), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p3214, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Id: "std", + Id: "i", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(283), + Column: int(22), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(283), + Column: int(23), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p3214, FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(315), - Column: int(28), - }, - End: ast.Location{ - Line: int(315), - Column: int(31), - }, - File: p1, - }, - Ctx: p3084, - FreeVars: ast.Identifiers{ - "str", - }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(283), + Column: int(25), }, - Id: "str", + End: ast.Location{ + Line: int(283), + Column: int(30), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p3214, + FreeVars: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(11), - }, - End: ast.Location{ - Line: int(316), - Column: int(41), - }, - File: p1, + Value: false, }, - Ctx: p3069, - FreeVars: nil, + CommaFodder: ast.Fodder{}, }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(17), + 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, }, - End: ast.Location{ - Line: int(316), - Column: int(41), + Fodder: ast.Fodder{}, + Ctx: p3214, + FreeVars: ast.Identifiers{ + "arr", + "i", + "running", }, - File: p1, - }, - Ctx: p3069, - FreeVars: nil, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(318), - Column: int(11), }, - End: ast.Location{ - Line: int(330), - Column: int(27), + 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: p3214, + FreeVars: ast.Identifiers{ + "running", + }, + }, + Id: "running", }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(318), - Column: int(21), + Line: int(283), + Column: int(42), }, End: ast.Location{ - Line: int(318), - Column: int(27), + Line: int(283), + Column: int(48), }, File: p1, }, - Ctx: p3092, + Fodder: ast.Fodder{}, + Ctx: p3214, FreeVars: ast.Identifiers{ - "j", - "str", + "arr", + "i", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(318), - Column: int(21), + Line: int(283), + Column: int(42), }, End: ast.Location{ - Line: int(318), - Column: int(24), + Line: int(283), + Column: int(45), }, File: p1, }, - Ctx: p3092, + Fodder: ast.Fodder{}, + Ctx: p3214, FreeVars: ast.Identifiers{ - "str", + "arr", }, }, - Id: "str", + Id: "arr", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(318), - Column: int(25), + Line: int(283), + Column: int(46), }, End: ast.Location{ - Line: int(318), - Column: int(26), + Line: int(283), + Column: int(47), }, File: p1, }, - Ctx: p3092, + Fodder: ast.Fodder{}, + Ctx: p3214, FreeVars: ast.Identifiers{ - "j", + "i", }, }, - Id: "j", + Id: "i", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Fun: nil, }, + CommaFodder: nil, }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(319), - Column: int(11), + }, + 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: p3077, + 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: p3077, + 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, }, - End: ast.Location{ - Line: int(330), - Column: int(27), + Fodder: ast.Fodder{}, + Ctx: p3240, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", }, + Id: "arr", }, - Cond: &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(319), - Column: int(14), + Line: int(285), + Column: int(18), }, End: ast.Location{ - Line: int(319), - Column: int(22), + Line: int(285), + Column: int(23), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "c", + "i", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(319), - Column: int(14), + Line: int(285), + Column: int(18), }, End: ast.Location{ - Line: int(319), - Column: int(15), + Line: int(285), + Column: int(19), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "c", + "i", }, }, - Id: "c", + Id: "i", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(319), - Column: int(19), + Line: int(285), + Column: int(22), }, End: ast.Location{ - Line: int(319), - Column: int(22), + Line: int(285), + Column: int(23), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: nil, }, - Value: "#", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, }, - BranchTrue: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(320), - Column: int(13), + Line: int(285), + Column: int(25), }, End: ast.Location{ - Line: int(320), - Column: int(49), + Line: int(285), + Column: int(30), }, File: p1, }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(13), - }, - End: ast.Location{ - Line: int(320), - Column: int(20), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(21), - }, - End: ast.Location{ - Line: int(320), - Column: int(24), - }, - File: p1, - }, - Ctx: p3111, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(26), - }, - End: ast.Location{ - Line: int(320), - Column: int(31), - }, - File: p1, - }, - Ctx: p3111, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(26), - }, - End: ast.Location{ - Line: int(320), - Column: int(27), - }, - File: p1, - }, - Ctx: p3111, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(30), - }, - End: ast.Location{ - Line: int(320), - Column: int(31), - }, - File: p1, - }, - Ctx: p3111, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(33), - }, - End: ast.Location{ - Line: int(320), - Column: int(48), - }, - File: p1, - }, - Ctx: p3111, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(33), - }, - End: ast.Location{ - Line: int(320), - Column: int(34), - }, - File: p1, - }, - Ctx: p3111, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(35), - }, - End: ast.Location{ - Line: int(320), - Column: int(48), - }, - File: p1, - }, - Ctx: p3111, - FreeVars: nil, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(320), - Column: int(42), - }, - End: ast.Location{ - Line: int(320), - Column: int(46), - }, - File: p1, - }, - Ctx: p3126, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p3240, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + Value: false, }, - BranchFalse: &ast.Conditional{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(321), - Column: int(16), + Line: int(285), + Column: int(32), }, End: ast.Location{ - Line: int(330), - Column: int(27), + Line: int(285), + Column: int(54), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", + "arr", + "i", + "running", + "sep", }, }, - Cond: &ast.Binary{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(321), - Column: int(19), + Line: int(285), + Column: int(32), }, End: ast.Location{ - Line: int(321), - Column: int(27), + Line: int(285), + Column: int(45), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "c", + "running", + "sep", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(321), - Column: int(19), + Line: int(285), + Column: int(32), }, End: ast.Location{ - Line: int(321), - Column: int(20), + Line: int(285), + Column: int(39), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(321), - Column: int(24), - }, - End: ast.Location{ - Line: int(321), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: nil, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(13), - }, - End: ast.Location{ - Line: int(322), - Column: int(50), + "running", }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", }, + Id: "running", }, - Target: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(322), - Column: int(13), + Line: int(285), + Column: int(42), }, End: ast.Location{ - Line: int(322), - Column: int(20), + Line: int(285), + Column: int(45), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(21), - }, - End: ast.Location{ - Line: int(322), - Column: int(24), - }, - File: p1, - }, - Ctx: p3140, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(26), - }, - End: ast.Location{ - Line: int(322), - Column: int(31), - }, - File: p1, - }, - Ctx: p3140, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(26), - }, - End: ast.Location{ - Line: int(322), - Column: int(27), - }, - File: p1, - }, - Ctx: p3140, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(30), - }, - End: ast.Location{ - Line: int(322), - Column: int(31), - }, - File: p1, - }, - Ctx: p3140, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(33), - }, - End: ast.Location{ - Line: int(322), - Column: int(49), - }, - File: p1, - }, - Ctx: p3140, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(33), - }, - End: ast.Location{ - Line: int(322), - Column: int(34), - }, - File: p1, - }, - Ctx: p3140, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(35), - }, - End: ast.Location{ - Line: int(322), - Column: int(49), - }, - File: p1, - }, - Ctx: p3140, - FreeVars: nil, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "zero", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(322), - Column: int(43), - }, - End: ast.Location{ - Line: int(322), - Column: int(47), - }, - File: p1, - }, - Ctx: p3155, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, + "sep", }, }, - Named: nil, + Id: "sep", }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.Conditional{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(323), - Column: int(16), + Line: int(285), + Column: int(48), }, End: ast.Location{ - Line: int(330), - Column: int(27), + Line: int(285), + Column: int(54), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", + "arr", + "i", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(323), - Column: int(19), + Line: int(285), + Column: int(48), }, End: ast.Location{ - Line: int(323), - Column: int(27), + Line: int(285), + Column: int(51), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(19), - }, - End: ast.Location{ - Line: int(323), - Column: int(20), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(323), - Column: int(24), - }, - End: ast.Location{ - Line: int(323), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: nil, + "arr", }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "arr", }, - BranchTrue: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(324), - Column: int(13), + Line: int(285), + Column: int(52), }, End: ast.Location{ - Line: int(324), - Column: int(50), + Line: int(285), + Column: int(53), }, File: p1, }, - Ctx: p3069, + Fodder: ast.Fodder{}, + Ctx: p3240, FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(13), - }, - End: ast.Location{ - Line: int(324), - Column: int(20), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(21), - }, - End: ast.Location{ - Line: int(324), - Column: int(24), - }, - File: p1, - }, - Ctx: p3169, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(26), - }, - End: ast.Location{ - Line: int(324), - Column: int(31), - }, - File: p1, - }, - Ctx: p3169, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(26), - }, - End: ast.Location{ - Line: int(324), - Column: int(27), - }, - File: p1, - }, - Ctx: p3169, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(30), - }, - End: ast.Location{ - Line: int(324), - Column: int(31), - }, - File: p1, - }, - Ctx: p3169, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(33), - }, - End: ast.Location{ - Line: int(324), - Column: int(49), - }, - File: p1, - }, - Ctx: p3169, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(33), - }, - End: ast.Location{ - Line: int(324), - Column: int(34), - }, - File: p1, - }, - Ctx: p3169, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(35), - }, - End: ast.Location{ - Line: int(324), - Column: int(49), - }, - File: p1, - }, - Ctx: p3169, - FreeVars: nil, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "left", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(324), - Column: int(43), - }, - End: ast.Location{ - Line: int(324), - Column: int(47), - }, - File: p1, - }, - Ctx: p3184, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(16), - }, - End: ast.Location{ - Line: int(330), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(19), - }, - End: ast.Location{ - Line: int(325), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(19), - }, - End: ast.Location{ - Line: int(325), - Column: int(20), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(24), - }, - End: ast.Location{ - Line: int(325), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(13), - }, - End: ast.Location{ - Line: int(326), - Column: int(51), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(13), - }, - End: ast.Location{ - Line: int(326), - Column: int(20), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(21), - }, - End: ast.Location{ - Line: int(326), - Column: int(24), - }, - File: p1, - }, - Ctx: p3198, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(26), - }, - End: ast.Location{ - Line: int(326), - Column: int(31), - }, - File: p1, - }, - Ctx: p3198, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(26), - }, - End: ast.Location{ - Line: int(326), - Column: int(27), - }, - File: p1, - }, - Ctx: p3198, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(30), - }, - End: ast.Location{ - Line: int(326), - Column: int(31), - }, - File: p1, - }, - Ctx: p3198, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(33), - }, - End: ast.Location{ - Line: int(326), - Column: int(50), - }, - File: p1, - }, - Ctx: p3198, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(33), - }, - End: ast.Location{ - Line: int(326), - Column: int(34), - }, - File: p1, - }, - Ctx: p3198, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(35), - }, - End: ast.Location{ - Line: int(326), - Column: int(50), - }, - File: p1, - }, - Ctx: p3198, - FreeVars: nil, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(44), - }, - End: ast.Location{ - Line: int(326), - Column: int(48), - }, - File: p1, - }, - Ctx: p3213, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(16), - }, - End: ast.Location{ - Line: int(330), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(19), - }, - End: ast.Location{ - Line: int(327), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(19), - }, - End: ast.Location{ - Line: int(327), - Column: int(20), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(24), - }, - End: ast.Location{ - Line: int(327), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: nil, - }, - Value: "+", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(13), - }, - End: ast.Location{ - Line: int(328), - Column: int(50), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(13), - }, - End: ast.Location{ - Line: int(328), - Column: int(20), - }, - File: p1, - }, - Ctx: p3069, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(21), - }, - End: ast.Location{ - Line: int(328), - Column: int(24), - }, - File: p1, - }, - Ctx: p3227, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(26), - }, - End: ast.Location{ - Line: int(328), - Column: int(31), - }, - File: p1, - }, - Ctx: p3227, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(26), - }, - End: ast.Location{ - Line: int(328), - Column: int(27), - }, - File: p1, - }, - Ctx: p3227, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(30), - }, - End: ast.Location{ - Line: int(328), - Column: int(31), - }, - File: p1, - }, - Ctx: p3227, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(33), - }, - End: ast.Location{ - Line: int(328), - Column: int(49), - }, - File: p1, - }, - Ctx: p3227, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(33), - }, - End: ast.Location{ - Line: int(328), - Column: int(34), - }, - File: p1, - }, - Ctx: p3227, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(35), - }, - End: ast.Location{ - Line: int(328), - Column: int(49), - }, - File: p1, - }, - Ctx: p3227, - FreeVars: nil, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(43), - }, - End: ast.Location{ - Line: int(328), - Column: int(47), - }, - File: p1, - }, - Ctx: p3242, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(13), - }, - End: ast.Location{ - Line: int(330), - Column: int(27), - }, - File: p1, - }, - Ctx: p3069, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(18), - }, - End: ast.Location{ - Line: int(330), - Column: int(19), - }, - File: p1, - }, - Ctx: p3248, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(24), - }, - End: ast.Location{ - Line: int(330), - Column: int(25), - }, - File: p1, - }, - Ctx: p3248, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, + "i", }, }, + Id: "i", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, }, + CommaFodder: nil, }, }, + Named: nil, }, + TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - Fun: nil, }, }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(7), - }, - End: ast.Location{ - Line: int(331), - Column: int(91), - }, - File: p1, + }, + }, + }, + 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{ + 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: p3068, + 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: p3068, + 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: p3068, + 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: p3068, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(286), + Column: int(9), }, - Ctx: p3061, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", + End: ast.Location{ + Line: int(286), + Column: int(12), }, + File: p1, }, - Target: &ast.Var{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(331), - Column: int(7), + Line: int(286), + Column: int(21), }, End: ast.Location{ - Line: int(331), - Column: int(14), + Line: int(286), + Column: int(24), }, File: p1, }, - Ctx: p3061, + Fodder: ast.Fodder{}, + Ctx: p3276, FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(15), - }, - End: ast.Location{ - Line: int(331), - Column: int(18), - }, - File: p1, - }, - Ctx: p3259, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(20), - }, - End: ast.Location{ - Line: int(331), - Column: int(21), - }, - File: p1, - }, - Ctx: p3259, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(23), - }, - End: ast.Location{ - Line: int(331), - Column: int(90), - }, - File: p1, - }, - Ctx: p3259, - FreeVars: nil, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(30), - }, - End: ast.Location{ - Line: int(331), - Column: int(35), - }, - File: p1, - }, - Ctx: p3267, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "zero", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(43), - }, - End: ast.Location{ - Line: int(331), - Column: int(48), - }, - File: p1, - }, - Ctx: p3267, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "left", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(56), - }, - End: ast.Location{ - Line: int(331), - Column: int(61), - }, - File: p1, - }, - Ctx: p3267, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(70), - }, - End: ast.Location{ - Line: int(331), - Column: int(75), - }, - File: p1, - }, - Ctx: p3267, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(83), - }, - End: ast.Location{ - Line: int(331), - Column: int(88), - }, - File: p1, - }, - Ctx: p3267, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, + "arr", }, }, - Named: nil, + Id: "arr", }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Body: &ast.Local{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(333), - Column: int(5), + Line: int(287), + Column: int(7), }, End: ast.Location{ - Line: int(754), - Column: int(48), + Line: int(287), + Column: int(74), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3068, FreeVars: ast.Identifiers{ + "arr", "std", - "str", - "try_parse_cflags", - "try_parse_mapping_key", - "vals", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "try_parse_field_width", - Body: &ast.Function{ + 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: p3068, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p3068, + FreeVars: nil, + }, + Value: "join second parameter should 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(287), + Column: int(61), + }, + End: ast.Location{ + Line: int(287), + Column: int(74), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3068, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(333), - Column: int(11), + Line: int(287), + Column: int(61), }, End: ast.Location{ - Line: int(364), - Column: int(27), + Line: int(287), + Column: int(69), }, File: p1, }, - Ctx: p3280, + Fodder: ast.Fodder{}, + Ctx: p3068, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(334), - Column: int(7), + Line: int(287), + Column: int(61), }, End: ast.Location{ - Line: int(364), - Column: int(27), + Line: int(287), + Column: int(64), }, File: p1, }, - Ctx: p3284, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", "std", - "str", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(10), - }, - End: ast.Location{ - Line: int(334), - Column: int(46), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Binary{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(334), - Column: int(10), + Line: int(287), + Column: int(70), }, End: ast.Location{ - Line: int(334), - Column: int(29), + Line: int(287), + Column: int(73), }, File: p1, }, - Ctx: p3284, + Fodder: ast.Fodder{}, + Ctx: p3293, FreeVars: ast.Identifiers{ - "i", - "std", - "str", + "arr", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(10), - }, - End: ast.Location{ - Line: int(334), - Column: int(11), - }, - File: p1, - }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "i", - }, + 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: p3068, + 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: p3068, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(288), + Column: int(13), + }, + End: ast.Location{ + Line: int(288), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3068, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(288), + Column: int(26), }, - Id: "i", - }, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(14), - }, - End: ast.Location{ - Line: int(334), - Column: int(29), - }, - File: p1, - }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + End: ast.Location{ + Line: int(288), + Column: int(29), }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(14), - }, - End: ast.Location{ - Line: int(334), - Column: int(24), - }, - File: p1, - }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(14), - }, - End: ast.Location{ - Line: int(334), - Column: int(17), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3307, + FreeVars: ast.Identifiers{ + "sep", + }, + }, + Id: "sep", + }, + 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(289), + Column: int(7), + }, + End: ast.Location{ + Line: int(289), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3068, + FreeVars: ast.Identifiers{ + "arr", + "aux", + }, + }, + Target: &ast.Var{ + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3068, + 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(289), + Column: int(11), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(25), - }, - End: ast.Location{ - Line: int(334), - Column: int(28), - }, - File: p1, - }, - Ctx: p3301, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, + End: ast.Location{ + Line: int(289), + Column: int(14), }, - TrailingComma: false, - TailStrict: false, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3316, + FreeVars: ast.Identifiers{ + "arr", }, }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ + Id: "arr", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(289), + Column: int(16), + }, + End: ast.Location{ + Line: int(289), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3316, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(289), + Column: int(19), + }, + End: ast.Location{ + Line: int(289), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3316, + FreeVars: nil, + }, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(289), + Column: int(25), + }, + End: ast.Location{ + Line: int(289), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3316, + FreeVars: nil, + }, + 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: p3068, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "sep", + "std", + }, + }, + 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: p3068, + 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: p3068, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(334), - Column: int(33), + Line: int(290), + Column: int(25), }, End: ast.Location{ - Line: int(334), - Column: int(46), + Line: int(290), + Column: int(28), }, File: p1, }, - Ctx: p3284, + Fodder: ast.Fodder{}, + Ctx: p3333, FreeVars: ast.Identifiers{ - "i", - "str", + "sep", }, }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(33), - }, - End: ast.Location{ - Line: int(334), - Column: int(39), - }, - File: p1, + Id: "sep", + }, + 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(291), + Column: int(7), + }, + End: ast.Location{ + Line: int(291), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3068, + FreeVars: ast.Identifiers{ + "arr", + "aux", + }, + }, + Target: &ast.Var{ + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3068, + 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(291), + Column: int(11), }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "i", - "str", + End: ast.Location{ + Line: int(291), + Column: int(14), }, + File: p1, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(33), - }, - End: ast.Location{ - Line: int(334), - Column: int(36), - }, - File: p1, - }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "str", - }, + Fodder: ast.Fodder{}, + Ctx: p3342, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(16), }, - Id: "str", + End: ast.Location{ + Line: int(291), + Column: int(17), + }, + File: p1, }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(37), - }, - End: ast.Location{ - Line: int(334), - Column: int(38), - }, - File: p1, - }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "i", - }, + Fodder: ast.Fodder{}, + Ctx: p3342, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(19), }, - Id: "i", + End: ast.Location{ + Line: int(291), + Column: int(23), + }, + File: p1, }, - Id: nil, + Fodder: ast.Fodder{}, + Ctx: p3342, + FreeVars: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(43), - }, - End: ast.Location{ - Line: int(334), - Column: int(46), - }, - File: p1, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(291), + Column: int(25), }, - Ctx: p3284, - FreeVars: nil, + End: ast.Location{ + Line: int(291), + Column: int(27), + }, + File: p1, }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: ast.Fodder{}, + Ctx: p3342, + FreeVars: nil, }, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, + CommaFodder: nil, }, - BranchTrue: &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(4), + Comment: []string{}, + }, + }, + BranchFalse: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(7), + }, + 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(6), + Comment: []string{}, + }, + }, + Ctx: p3068, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + }, + 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: p3068, + 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: p3068, + FreeVars: nil, + }, + 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: p3068, + FreeVars: ast.Identifiers{ + "sep", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(335), - Column: int(9), + Line: int(293), + Column: int(70), }, End: ast.Location{ - Line: int(335), - Column: int(29), + Line: int(293), + Column: int(78), }, File: p1, }, - Ctx: p3284, + Fodder: ast.Fodder{}, + Ctx: p3068, FreeVars: ast.Identifiers{ - "i", + "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, - }, - Ctx: nil, - FreeVars: nil, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(293), + Column: int(70), }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(14), - }, - End: ast.Location{ - Line: int(335), - Column: int(19), - }, - File: p1, - }, - Ctx: p3317, - FreeVars: ast.Identifiers{ - "i", - }, + End: ast.Location{ + Line: int(293), + Column: int(73), }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(14), - }, - End: ast.Location{ - Line: int(335), - Column: int(15), - }, - File: p1, - }, - Ctx: p3317, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", + File: 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), }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(18), - }, - End: ast.Location{ - Line: int(335), - Column: int(19), - }, - File: p1, - }, - Ctx: p3317, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - PlusSuper: false, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + 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(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(24), + Line: int(293), + Column: int(79), }, End: ast.Location{ - Line: int(335), - Column: int(27), + Line: int(293), + Column: int(82), }, File: p1, }, - Ctx: p3317, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p3363, + FreeVars: ast.Identifiers{ + "sep", + }, }, - Value: "*", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "sep", }, - PlusSuper: false, + CommaFodder: nil, }, }, - Locals: ast.LocalBinds{}, + Named: nil, }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(9), - }, - End: ast.Location{ - Line: int(364), - Column: int(27), - }, - File: p1, - }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + }, + }, + }, + }, + }, + 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: nil, + }, + 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: p11, + FreeVars: ast.Identifiers{ + "std", + }, + }, + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(295), + Column: int(9), + }, + End: ast.Location{ + Line: int(295), + Column: int(12), + }, + File: p1, + }, + }, + }, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p3370, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + 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: p3370, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + 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: nil, + }, + 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(296), + Column: int(14), + }, + End: ast.Location{ + Line: int(296), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3380, + FreeVars: nil, + }, + 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: p3380, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(296), + Column: int(20), }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "consume", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(15), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3328, - FreeVars: ast.Identifiers{ - "consume", - "std", - }, + End: ast.Location{ + Line: int(296), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3380, + 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: p3380, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(296), + Column: int(27), }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "j", - "v", - }, - Optional: nil, + End: ast.Location{ + Line: int(296), + Column: int(29), }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(11), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - "j", - "std", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(14), - }, - End: ast.Location{ - Line: int(338), - Column: int(34), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(14), - }, - End: ast.Location{ - Line: int(338), - Column: int(15), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(19), - }, - End: ast.Location{ - Line: int(338), - Column: int(34), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(19), - }, - End: ast.Location{ - Line: int(338), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(19), - }, - End: ast.Location{ - Line: int(338), - Column: int(22), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(30), - }, - End: ast.Location{ - Line: int(338), - Column: int(33), - }, - File: p1, - }, - Ctx: p3347, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3388, + FreeVars: nil, + }, + 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, + }, + }, + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: p11, + FreeVars: ast.Identifiers{ + "std", + }, + }, + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(298), + Column: int(12), + }, + End: ast.Location{ + Line: int(298), + 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(299), + Column: int(5), + }, + 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(4), + Comment: []string{}, + }, + }, + Ctx: p3395, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + 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: p3395, + 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: p3395, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(299), + Column: int(21), + }, + End: ast.Location{ + Line: int(299), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3406, + 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(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: p3395, + 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: p3395, + FreeVars: ast.Identifiers{ + "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, + }, + Fodder: ast.Fodder{}, + Ctx: p3395, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + 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: p3395, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(301), + Column: int(25), + }, + End: ast.Location{ + Line: int(301), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3423, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + 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: p3395, + FreeVars: ast.Identifiers{ + "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, + }, + Fodder: ast.Fodder{}, + Ctx: p3395, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + 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: nil, + }, + 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(302), + Column: int(16), + }, + End: ast.Location{ + Line: int(302), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3435, + FreeVars: nil, + }, + 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), + }, + End: ast.Location{ + Line: int(302), + Column: int(50), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "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, + }, + 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: nil, + }, + 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, }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(13), - }, - End: ast.Location{ - Line: int(339), - Column: int(43), - }, - File: p1, + 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), }, - Ctx: p3332, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(339), - Column: int(19), - }, - End: ast.Location{ - Line: int(339), - Column: int(43), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: nil, }, }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(341), - Column: int(13), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, + }, + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ + 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: p3451, + FreeVars: ast.Identifiers{ + "std", + "x", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(341), - Column: int(23), + Line: int(302), + Column: int(21), }, End: ast.Location{ - Line: int(341), - Column: int(29), + Line: int(302), + Column: int(33), }, File: p1, }, - Ctx: p3355, + Fodder: ast.Fodder{}, + Ctx: p3451, FreeVars: ast.Identifiers{ - "j", - "str", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(341), - Column: int(23), + Line: int(302), + Column: int(21), }, End: ast.Location{ - Line: int(341), - Column: int(26), + Line: int(302), + Column: int(24), }, File: p1, }, - Ctx: p3355, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", + Id: "std", }, - Index: &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(341), - Column: int(27), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(341), - Column: int(28), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p3355, - FreeVars: ast.Identifiers{ - "j", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "j", + Value: "deepJoin", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(13), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - 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(16), - }, - End: ast.Location{ - Line: int(342), - Column: int(24), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(16), - }, - End: ast.Location{ - Line: int(342), - Column: int(17), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(21), - }, - End: ast.Location{ - Line: int(342), - Column: int(24), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: nil, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(15), - }, - End: ast.Location{ - Line: int(343), - Column: int(46), - }, - File: p1, - }, - Ctx: p3332, - 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(15), - }, - End: ast.Location{ - Line: int(343), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(23), - }, - End: ast.Location{ - Line: int(343), - Column: int(26), - }, - File: p1, - }, - Ctx: p3374, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(28), - }, - End: ast.Location{ - Line: int(343), - Column: int(33), - }, - File: p1, - }, - Ctx: p3374, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - 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, - }, - Ctx: p3374, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(343), - Column: int(32), + Line: int(302), + Column: int(34), }, End: ast.Location{ - Line: int(343), - Column: int(33), - }, - File: p1, - }, - Ctx: p3374, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(35), - }, - End: ast.Location{ - Line: int(343), - Column: int(45), - }, - File: p1, - }, - Ctx: p3374, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), + Line: int(302), Column: int(35), }, - End: ast.Location{ - Line: int(343), - Column: int(41), - }, File: p1, }, - Ctx: p3374, + Fodder: ast.Fodder{}, + Ctx: p3460, FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(35), - }, - End: ast.Location{ - Line: int(343), - Column: int(36), - }, - File: p1, - }, - Ctx: p3374, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(39), - }, - End: ast.Location{ - Line: int(343), - Column: int(41), - }, - File: p1, - }, - Ctx: p3374, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(44), - }, - End: ast.Location{ - Line: int(343), - Column: int(45), - }, - File: p1, + "x", }, - Ctx: p3374, - FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + Id: "x", }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(18), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(21), - }, - End: ast.Location{ - Line: int(344), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(21), - }, - End: ast.Location{ - Line: int(344), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(26), - }, - End: ast.Location{ - Line: int(344), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: 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: p3435, + 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: p3395, + FreeVars: ast.Identifiers{ + "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, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "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, + }, + 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: nil, + }, + 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: p3395, + FreeVars: nil, + }, + 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: p3395, + 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: p3395, + 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: nil, + }, + 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: p3486, + 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, + }, + }, + }, + }, + }, + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: p11, + 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(307), + Column: int(10), + }, + End: ast.Location{ + Line: int(307), + Column: int(13), + }, + File: p1, + }, + }, + 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, + }, + }, + }, + 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(774), + 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{ + "/////////////////////////////", + }, + }, + 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: p3497, + FreeVars: ast.Identifiers{ + "std", + "str", + "vals", + }, + }, + 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: p3501, + 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: p3507, + 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: p3507, + 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: p3507, + 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: p3507, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(314), + Column: int(29), + }, + End: ast.Location{ + Line: int(314), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3520, + 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(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: p3507, + FreeVars: ast.Identifiers{ + "i", + "std", + "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(315), + Column: int(17), + }, + End: ast.Location{ + Line: int(315), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3527, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p3527, + FreeVars: ast.Identifiers{ + "str", + }, + }, + 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: p3527, + 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(315), + Column: int(13), + }, + End: ast.Location{ + Line: int(315), + 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: p3507, + 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: p3507, + 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: p3507, + 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(316), + Column: int(15), + }, + End: ast.Location{ + Line: int(316), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3507, + FreeVars: nil, + }, + 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(317), + Column: int(9), + }, + End: ast.Location{ + Line: int(326), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p3507, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + }, + 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: p3546, + 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: p3551, + 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: p3551, + 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: p3551, + 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: p3551, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(318), + Column: int(19), }, - Value: "1", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(318), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3551, + FreeVars: ast.Identifiers{ + "std", }, }, - BranchTrue: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(345), - Column: int(15), + Line: int(318), + Column: int(19), }, End: ast.Location{ - Line: int(345), - Column: int(46), + Line: int(318), + Column: int(22), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", + "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(15), - }, - End: ast.Location{ - Line: int(345), - Column: int(22), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "consume", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(23), - }, - End: ast.Location{ - Line: int(345), - Column: int(26), - }, - File: p1, + 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(318), + Column: int(30), }, - Ctx: p3402, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(318), + Column: int(33), }, + File: p1, }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(28), - }, - End: ast.Location{ - Line: int(345), - Column: int(33), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(28), - }, - End: ast.Location{ - Line: int(345), - Column: int(29), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(32), - }, - End: ast.Location{ - Line: int(345), - Column: int(33), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(35), - }, - End: ast.Location{ - Line: int(345), - Column: int(45), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(35), - }, - End: ast.Location{ - Line: int(345), - Column: int(41), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(35), - }, - End: ast.Location{ - Line: int(345), - Column: int(36), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(39), - }, - End: ast.Location{ - Line: int(345), - Column: int(41), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(44), - }, - End: ast.Location{ - Line: int(345), - Column: int(45), - }, - File: p1, - }, - Ctx: p3402, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + Fodder: ast.Fodder{}, + Ctx: p3566, + FreeVars: ast.Identifiers{ + "str", }, }, + Id: "str", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.Conditional{ + 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: p3551, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(319), + Column: int(19), + }, + End: ast.Location{ + Line: int(319), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3551, + FreeVars: nil, + }, + Value: "Truncated format code.", + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(321), + 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: p3551, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(346), - Column: int(18), + Line: int(321), + Column: int(23), }, End: ast.Location{ - Line: int(363), + Line: int(321), Column: int(29), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3577, FreeVars: ast.Identifiers{ - "c", - "consume", "j", "str", - "v", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(346), - Column: int(21), + Line: int(321), + Column: int(23), }, End: ast.Location{ - Line: int(346), - Column: int(29), + Line: int(321), + Column: int(26), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3577, FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(21), - }, - End: ast.Location{ - Line: int(346), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(26), - }, - End: ast.Location{ - Line: int(346), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: nil, + "str", }, - Value: "2", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "str", }, - BranchTrue: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(347), - Column: int(15), + Line: int(321), + Column: int(27), }, End: ast.Location{ - Line: int(347), - Column: int(46), + Line: int(321), + Column: int(28), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3577, FreeVars: ast.Identifiers{ - "consume", "j", - "str", - "v", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(15), + Id: "j", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(321), + Column: int(19), + }, + End: ast.Location{ + Line: int(321), + 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: p3551, + 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: p3551, + 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: p3551, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(322), + Column: int(21), + }, + End: ast.Location{ + Line: int(322), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3551, + FreeVars: nil, + }, + 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(323), + Column: int(15), + }, + End: ast.Location{ + Line: int(323), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3551, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "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: p3551, + 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, }, - End: ast.Location{ - Line: int(347), - Column: int(22), + Fodder: ast.Fodder{}, + Ctx: p3598, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", }, + Id: "str", }, - Id: "consume", + CommaFodder: ast.Fodder{}, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: p3598, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(347), - Column: int(23), + Line: int(323), + Column: int(28), }, End: ast.Location{ - Line: int(347), - Column: int(26), + Line: int(323), + Column: int(29), }, File: p1, }, - Ctx: p3430, + Fodder: ast.Fodder{}, + Ctx: p3598, FreeVars: ast.Identifiers{ - "str", + "j", }, }, - Id: "str", + Id: "j", }, - &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(347), - Column: int(28), + Line: int(323), + Column: int(32), }, End: ast.Location{ - Line: int(347), + Line: int(323), Column: int(33), }, File: p1, }, - Ctx: p3430, - FreeVars: ast.Identifiers{ - "j", - }, + Fodder: ast.Fodder{}, + Ctx: p3598, + FreeVars: nil, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(28), - }, - End: ast.Location{ - Line: int(347), - Column: int(29), - }, - File: p1, - }, - Ctx: p3430, - FreeVars: ast.Identifiers{ - "j", - }, + 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), }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(32), - }, - End: ast.Location{ - Line: int(347), - Column: int(33), - }, - File: p1, - }, - Ctx: p3430, - FreeVars: nil, + End: ast.Location{ + Line: int(323), + Column: int(40), }, - Value: float64(1), - OriginalString: "1", + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3598, + FreeVars: ast.Identifiers{ + "c", + "v", }, }, - &ast.Binary{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(347), + Line: int(323), Column: int(35), }, End: ast.Location{ - Line: int(347), - Column: int(45), + Line: int(323), + Column: int(36), }, File: p1, }, - Ctx: p3430, + Fodder: ast.Fodder{}, + Ctx: p3598, FreeVars: ast.Identifiers{ "v", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(35), - }, - End: ast.Location{ - Line: int(347), - Column: int(41), - }, - File: p1, - }, - Ctx: p3430, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(35), - }, - End: ast.Location{ - Line: int(347), - Column: int(36), - }, - File: p1, - }, - Ctx: p3430, - 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), }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(39), - }, - End: ast.Location{ - Line: int(347), - Column: int(41), - }, - File: p1, - }, - Ctx: p3430, - FreeVars: nil, + End: ast.Location{ + Line: int(323), + Column: int(40), }, - Value: float64(10), - OriginalString: "10", + File: p1, }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(44), - }, - End: ast.Location{ - Line: int(347), - Column: int(45), - }, - File: p1, - }, - Ctx: p3430, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p3598, + FreeVars: ast.Identifiers{ + "c", }, - Value: float64(2), - OriginalString: "2", }, + Id: "c", }, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(18), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(325), + Column: int(15), + }, + 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(14), + Comment: []string{}, + }, + }, + Ctx: p3551, + 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, }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Cond: &ast.Binary{ + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(348), - Column: int(21), + Line: int(325), + Column: int(20), }, End: ast.Location{ - Line: int(348), - Column: int(29), + Line: int(325), + Column: int(25), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3618, FreeVars: ast.Identifiers{ - "c", + "j", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(348), - Column: int(21), + Line: int(325), + Column: int(20), }, End: ast.Location{ - Line: int(348), - Column: int(22), + Line: int(325), + Column: int(21), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3618, FreeVars: ast.Identifiers{ - "c", + "j", }, }, - Id: "c", + Id: "j", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(348), - Column: int(26), + Line: int(325), + Column: int(24), }, End: ast.Location{ - Line: int(348), - Column: int(29), + Line: int(325), + Column: int(25), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3618, FreeVars: nil, }, - Value: "3", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, }, - BranchTrue: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(349), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(349), - Column: int(46), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(15), - }, - End: ast.Location{ - Line: int(349), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(23), - }, - End: ast.Location{ - Line: int(349), - Column: int(26), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(28), - }, - End: ast.Location{ - Line: int(349), - Column: int(33), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(28), - }, - End: ast.Location{ - Line: int(349), - Column: int(29), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(32), - }, - End: ast.Location{ - Line: int(349), - Column: int(33), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(35), - }, - End: ast.Location{ - Line: int(349), - Column: int(45), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(35), - }, - End: ast.Location{ - Line: int(349), - Column: int(41), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(35), - }, - End: ast.Location{ - Line: int(349), - Column: int(36), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(39), - }, - End: ast.Location{ - Line: int(349), - Column: int(41), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(44), - }, - End: ast.Location{ - Line: int(349), - Column: int(45), - }, - File: p1, - }, - Ctx: p3458, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, + Line: int(0), + Column: int(0), }, + File: nil, }, - Named: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Conditional{ + Body: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(350), - Column: int(18), + Line: int(325), + Column: int(30), }, End: ast.Location{ - Line: int(363), - Column: int(29), + Line: int(325), + Column: int(31), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3618, FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", "v", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(21), - }, - End: ast.Location{ - Line: int(350), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(21), - }, - End: ast.Location{ - Line: int(350), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(26), - }, - End: ast.Location{ - Line: int(350), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: nil, - }, - Value: "4", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, + Id: "v", + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(325), + Column: int(27), }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(15), - }, - End: ast.Location{ - Line: int(351), - Column: int(46), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(15), - }, - End: ast.Location{ - Line: int(351), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(23), - }, - End: ast.Location{ - Line: int(351), - Column: int(26), - }, - File: p1, - }, - Ctx: p3486, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(28), - }, - End: ast.Location{ - Line: int(351), - Column: int(33), - }, - File: p1, - }, - Ctx: p3486, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(28), - }, - End: ast.Location{ - Line: int(351), - Column: int(29), - }, - File: p1, - }, - Ctx: p3486, - FreeVars: ast.Identifiers{ - "j", - }, + End: ast.Location{ + Line: int(325), + Column: int(31), + }, + File: p1, + }, + }, + }, + Locals: ast.LocalBinds{}, + }, + }, + }, + }, + }, + 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(326), + Column: int(9), + }, + End: ast.Location{ + Line: int(326), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3507, + FreeVars: ast.Identifiers{ + "consume", + "i", + "str", + }, + }, + Target: &ast.Var{ + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p3507, + 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(326), + Column: int(17), + }, + End: ast.Location{ + Line: int(326), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3633, + 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(326), + Column: int(22), + }, + End: ast.Location{ + Line: int(326), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3633, + 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: p3633, + 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(326), + Column: int(26), + }, + End: ast.Location{ + Line: int(326), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3633, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(326), + Column: int(29), + }, + End: ast.Location{ + Line: int(326), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3633, + FreeVars: nil, + }, + 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), + }, + 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(8), + Comment: []string{}, + }, + }, + Ctx: p3507, + 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: nil, + }, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(328), + Column: int(14), + }, + End: ast.Location{ + Line: int(328), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3648, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(328), + Column: int(11), + }, + End: ast.Location{ + Line: int(328), + Column: int(15), + }, + 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: nil, + }, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(328), + Column: int(20), + }, + End: ast.Location{ + Line: int(328), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3648, + FreeVars: nil, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(328), + Column: int(17), + }, + End: ast.Location{ + Line: int(328), + Column: int(24), + }, + File: p1, + }, + }, + }, + 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: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(314), + Column: int(36), + }, + End: ast.Location{ + Line: int(314), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3507, + FreeVars: nil, + }, + 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(774), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3497, + FreeVars: ast.Identifiers{ + "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: p3659, + 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{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3664, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + }, + 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: p3668, + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "consume", + "j", + "std", + "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, + }, + Fodder: ast.Fodder{}, + Ctx: p3674, + FreeVars: ast.Identifiers{ + "j", + "std", + "str", + }, + }, + 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: p3674, + 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: p3674, + 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: p3674, + 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: nil, + }, + 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: p3687, + 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: p3674, + 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: p3694, + 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: p3694, + 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: p3694, + 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: p3674, + 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: p3674, + 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: p3674, + 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: p3674, + FreeVars: nil, + }, + 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: p3674, + 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: p3674, + 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: p3715, + 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: p3715, + 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: p3715, + 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: p3715, + FreeVars: nil, + }, + 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: p3715, + 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: p3715, + 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: p3715, + FreeVars: nil, + }, + 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), }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(32), - }, - End: ast.Location{ - Line: int(351), - Column: int(33), - }, - File: p1, - }, - Ctx: p3486, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Value: float64(1), - OriginalString: "1", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(35), + 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: p3730, + FreeVars: nil, + }, + 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: p3674, + 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: p3674, + 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: p3674, + 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: p3674, + FreeVars: nil, + }, + 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: p3674, + 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: p3674, + 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: p3746, + 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: p3746, + 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: p3746, + 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: p3746, + FreeVars: nil, + }, + 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: p3746, + 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: p3746, + 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: p3746, + FreeVars: nil, + }, + 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(351), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p3486, - FreeVars: ast.Identifiers{ - "v", - }, + Fodder: ast.Fodder{}, + Ctx: p3761, + FreeVars: nil, }, - Left: &ast.Binary{ + 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: p3674, + 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: p3674, + 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: p3674, + 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: p3674, + FreeVars: nil, + }, + 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: p3674, + 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: p3674, + 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: p3777, + 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: p3777, + 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: p3777, + 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: p3777, + FreeVars: nil, + }, + 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: p3777, + 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: p3777, + 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: p3777, + FreeVars: nil, + }, + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(351), - Column: int(35), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(351), - Column: int(41), - }, - File: p1, - }, - Ctx: p3486, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(35), - }, - End: ast.Location{ - Line: int(351), - Column: int(36), - }, - File: p1, - }, - Ctx: p3486, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(39), - }, - End: ast.Location{ - Line: int(351), - Column: int(41), - }, - File: p1, + Line: int(0), + Column: int(0), }, - Ctx: p3486, - FreeVars: nil, + File: nil, }, - Value: float64(10), - OriginalString: "10", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "left", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(351), - Column: int(44), + Line: int(339), + Column: int(41), }, End: ast.Location{ - Line: int(351), + Line: int(339), Column: int(45), }, File: p1, }, - Ctx: p3486, + Fodder: ast.Fodder{}, + Ctx: p3792, FreeVars: nil, }, - Value: float64(4), - OriginalString: "4", + 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, }, }, }, - Named: nil, + Locals: ast.LocalBinds{}, }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(18), + 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: p3674, + 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: p3674, + 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: p3674, + 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: p3674, + FreeVars: nil, + }, + 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: p3674, + 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: p3674, + 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, }, - End: ast.Location{ - Line: int(363), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p3808, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", }, + Id: "str", }, - Cond: &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(352), - Column: int(21), + Line: int(341), + Column: int(24), }, End: ast.Location{ - Line: int(352), + Line: int(341), Column: int(29), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3808, FreeVars: ast.Identifiers{ - "c", + "j", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(352), - Column: int(21), + Line: int(341), + Column: int(24), }, End: ast.Location{ - Line: int(352), - Column: int(22), + Line: int(341), + Column: int(25), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3808, FreeVars: ast.Identifiers{ - "c", + "j", }, }, - Id: "c", + Id: "j", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(352), - Column: int(26), + Line: int(341), + Column: int(28), }, End: ast.Location{ - Line: int(352), + Line: int(341), Column: int(29), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3808, FreeVars: nil, }, - Value: "5", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, }, - BranchTrue: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(353), - Column: int(15), + Line: int(341), + Column: int(31), }, End: ast.Location{ - Line: int(353), - Column: int(46), + Line: int(341), + Column: int(48), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3808, FreeVars: ast.Identifiers{ - "consume", - "j", - "str", "v", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(353), - Column: int(15), + Line: int(341), + Column: int(31), }, End: ast.Location{ - Line: int(353), - Column: int(22), + Line: int(341), + Column: int(32), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3808, FreeVars: ast.Identifiers{ - "consume", + "v", }, }, - Id: "consume", + Id: "v", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(23), - }, - End: ast.Location{ - Line: int(353), - Column: int(26), - }, - File: p1, - }, - Ctx: p3514, - FreeVars: ast.Identifiers{ - "str", - }, + 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), }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(28), - }, - End: ast.Location{ - Line: int(353), - Column: int(33), - }, - File: p1, - }, - Ctx: p3514, - FreeVars: ast.Identifiers{ - "j", - }, + End: ast.Location{ + Line: int(341), + Column: int(48), }, - Left: &ast.Var{ + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3808, + FreeVars: nil, + }, + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(353), - Column: int(28), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(353), - Column: int(29), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p3514, - FreeVars: ast.Identifiers{ - "j", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "j", + Value: "blank", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(353), - Column: int(32), + Line: int(341), + Column: int(42), }, End: ast.Location{ - Line: int(353), - Column: int(33), + Line: int(341), + Column: int(46), }, File: p1, }, - Ctx: p3514, + Fodder: ast.Fodder{}, + Ctx: p3823, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(35), - }, - End: ast.Location{ - Line: int(353), - Column: int(45), - }, - File: p1, - }, - Ctx: p3514, - FreeVars: ast.Identifiers{ - "v", - }, + Value: true, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(35), - }, - End: ast.Location{ - Line: int(353), - Column: int(41), - }, - File: p1, - }, - Ctx: p3514, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(35), - }, - End: ast.Location{ - Line: int(353), - Column: int(36), - }, - File: p1, - }, - Ctx: p3514, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(39), - }, - End: ast.Location{ - Line: int(353), - Column: int(41), - }, - File: p1, - }, - Ctx: p3514, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(341), + Column: int(35), }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(44), - }, - End: ast.Location{ - Line: int(353), - Column: int(45), - }, - File: p1, - }, - Ctx: p3514, - FreeVars: nil, + End: ast.Location{ + Line: int(341), + Column: int(46), }, - Value: float64(5), - OriginalString: "5", + File: p1, }, }, }, - Named: nil, + Locals: ast.LocalBinds{}, }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(18), + 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: p3674, + 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: p3674, + 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: p3674, + 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: p3674, + FreeVars: nil, + }, + 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: p3674, + 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: p3674, + 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, }, - End: ast.Location{ - Line: int(363), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p3839, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", }, + Id: "str", }, - Cond: &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(354), - Column: int(21), + Line: int(343), + Column: int(24), }, End: ast.Location{ - Line: int(354), + Line: int(343), Column: int(29), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3839, FreeVars: ast.Identifiers{ - "c", + "j", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(354), - Column: int(21), + Line: int(343), + Column: int(24), }, End: ast.Location{ - Line: int(354), - Column: int(22), + Line: int(343), + Column: int(25), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3839, FreeVars: ast.Identifiers{ - "c", + "j", }, }, - Id: "c", + Id: "j", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(354), - Column: int(26), + Line: int(343), + Column: int(28), }, End: ast.Location{ - Line: int(354), + Line: int(343), Column: int(29), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3839, FreeVars: nil, }, - Value: "6", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, }, - BranchTrue: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(355), - Column: int(15), + Line: int(343), + Column: int(31), }, End: ast.Location{ - Line: int(355), - Column: int(46), + Line: int(343), + Column: int(47), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3839, FreeVars: ast.Identifiers{ - "consume", - "j", - "str", "v", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(355), - Column: int(15), + Line: int(343), + Column: int(31), }, End: ast.Location{ - Line: int(355), - Column: int(22), + Line: int(343), + Column: int(32), }, File: p1, }, - Ctx: p3332, + Fodder: ast.Fodder{}, + Ctx: p3839, FreeVars: ast.Identifiers{ - "consume", + "v", }, }, - Id: "consume", + Id: "v", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(23), - }, - End: ast.Location{ - Line: int(355), - Column: int(26), - }, - File: p1, - }, - Ctx: p3542, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(28), - }, - End: ast.Location{ - Line: int(355), - Column: int(33), - }, - File: p1, - }, - Ctx: p3542, - FreeVars: ast.Identifiers{ - "j", - }, + 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), }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(28), - }, - End: ast.Location{ - Line: int(355), - Column: int(29), - }, - File: p1, - }, - Ctx: p3542, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", + End: ast.Location{ + Line: int(343), + Column: int(47), }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3839, + FreeVars: nil, + }, + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(355), - Column: int(32), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(355), - Column: int(33), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p3542, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(35), - }, - End: ast.Location{ - Line: int(355), - Column: int(45), - }, - File: p1, - }, - Ctx: p3542, - FreeVars: ast.Identifiers{ - "v", - }, + Value: "plus", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Left: &ast.Binary{ + Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(355), - Column: int(35), - }, - End: ast.Location{ - Line: int(355), + Line: int(343), Column: int(41), }, - File: p1, - }, - Ctx: p3542, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(35), - }, - End: ast.Location{ - Line: int(355), - Column: int(36), - }, - File: p1, - }, - Ctx: p3542, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(39), - }, - End: ast.Location{ - Line: int(355), - Column: int(41), - }, - File: p1, - }, - Ctx: p3542, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(44), - }, End: ast.Location{ - Line: int(355), + Line: int(343), Column: int(45), }, File: p1, }, - Ctx: p3542, + Fodder: ast.Fodder{}, + Ctx: p3854, FreeVars: nil, }, - Value: float64(6), - OriginalString: "6", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(18), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(356), - Column: int(21), - }, - End: ast.Location{ - Line: int(356), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &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(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", + Value: true, }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(356), - Column: int(26), + Line: int(343), + Column: int(35), }, End: ast.Location{ - Line: int(356), - Column: int(29), + Line: int(343), + Column: int(45), }, File: p1, }, - Ctx: p3332, - FreeVars: nil, }, - Value: "7", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Locals: ast.LocalBinds{}, }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(15), - }, - End: ast.Location{ - Line: int(357), - Column: int(46), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "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.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: p3674, + 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), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(15), - }, - End: ast.Location{ - Line: int(357), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(23), - }, - End: ast.Location{ - Line: int(357), - Column: int(26), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(28), - }, - End: ast.Location{ - Line: int(357), - Column: int(33), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(28), - }, - End: ast.Location{ - Line: int(357), - Column: int(29), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(32), - }, - End: ast.Location{ - Line: int(357), - Column: int(33), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(35), - }, - End: ast.Location{ - Line: int(357), - Column: int(45), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(35), - }, - End: ast.Location{ - Line: int(357), - Column: int(41), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(35), - }, - End: ast.Location{ - Line: int(357), - Column: int(36), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(39), - }, - End: ast.Location{ - Line: int(357), - Column: int(41), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(44), - }, - End: ast.Location{ - Line: int(357), - Column: int(45), - }, - File: p1, - }, - Ctx: p3570, - FreeVars: nil, - }, - Value: float64(7), - OriginalString: "7", - }, - }, - }, - Named: nil, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(345), + Column: int(17), + }, + File: p1, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(18), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, + Fodder: ast.Fodder{}, + Ctx: p3862, + 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), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(21), - }, - End: ast.Location{ - Line: int(358), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &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(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(26), - }, - End: ast.Location{ - Line: int(358), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: nil, - }, - Value: "8", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(15), - }, - End: ast.Location{ - Line: int(359), - Column: int(46), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(15), - }, - End: ast.Location{ - Line: int(359), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(23), - }, - End: ast.Location{ - Line: int(359), - Column: int(26), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(28), - }, - End: ast.Location{ - Line: int(359), - Column: int(33), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(28), - }, - End: ast.Location{ - Line: int(359), - Column: int(29), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(32), - }, - End: ast.Location{ - Line: int(359), - Column: int(33), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(35), - }, - End: ast.Location{ - Line: int(359), - Column: int(45), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(35), - }, - End: ast.Location{ - Line: int(359), - Column: int(41), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(35), - }, - End: ast.Location{ - Line: int(359), - Column: int(36), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(39), - }, - End: ast.Location{ - Line: int(359), - Column: int(41), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(359), - Column: int(44), - }, - End: ast.Location{ - Line: int(359), - Column: int(45), - }, - File: p1, - }, - Ctx: p3598, - FreeVars: nil, - }, - Value: float64(8), - OriginalString: "8", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(18), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(21), - }, - End: ast.Location{ - Line: int(360), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &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(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(26), - }, - End: ast.Location{ - Line: int(360), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: nil, - }, - Value: "9", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(15), - }, - End: ast.Location{ - Line: int(361), - Column: int(46), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(15), - }, - End: ast.Location{ - Line: int(361), - Column: int(22), - }, - File: p1, - }, - Ctx: p3332, - FreeVars: ast.Identifiers{ - "consume", - }, - }, - Id: "consume", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(23), - }, - End: ast.Location{ - Line: int(361), - Column: int(26), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(28), - }, - End: ast.Location{ - Line: int(361), - Column: int(33), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(28), - }, - End: ast.Location{ - Line: int(361), - Column: int(29), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(32), - }, - End: ast.Location{ - Line: int(361), - Column: int(33), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(35), - }, - End: ast.Location{ - Line: int(361), - Column: int(45), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(35), - }, - End: ast.Location{ - Line: int(361), - Column: int(41), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(35), - }, - End: ast.Location{ - Line: int(361), - Column: int(36), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(39), - }, - End: ast.Location{ - Line: int(361), - Column: int(41), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(44), - }, - End: ast.Location{ - Line: int(361), - Column: int(45), - }, - File: p1, - }, - Ctx: p3626, - FreeVars: nil, - }, - Value: float64(9), - OriginalString: "9", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(363), - Column: int(15), - }, - End: ast.Location{ - Line: int(363), - Column: int(29), - }, - File: p1, - }, - Ctx: p3332, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(363), - Column: int(20), - }, - End: ast.Location{ - Line: int(363), - Column: int(21), - }, - File: p1, - }, - Ctx: p3646, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(363), - Column: int(26), - }, - End: ast.Location{ - Line: int(363), - Column: int(27), - }, - File: p1, - }, - Ctx: p3646, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, + End: ast.Location{ + Line: int(345), + Column: int(23), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3862, + 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{}, }, }, }, @@ -43262,219 +51492,684 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(9), + 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: nil, }, - End: ast.Location{ - Line: int(364), - Column: int(27), + 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: p3674, + FreeVars: nil, + }, + Value: "Truncated format code.", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - File: p1, }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", + }, + }, + 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(346), + Column: int(7), + }, + End: ast.Location{ + Line: int(346), + Column: int(91), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3664, + FreeVars: ast.Identifiers{ + "consume", + "i", + "str", + }, + }, + Target: &ast.Var{ + 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, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(9), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3664, + 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(346), + Column: int(15), + }, + End: ast.Location{ + Line: int(346), + Column: int(18), + }, + File: p1, }, - End: ast.Location{ - Line: int(364), - Column: int(16), + Fodder: ast.Fodder{}, + Ctx: p3876, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, }, - Ctx: p3284, - FreeVars: ast.Identifiers{ - "consume", + Id: "str", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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: p3876, + FreeVars: ast.Identifiers{ + "i", + }, }, + Id: "i", }, - Id: "consume", + CommaFodder: ast.Fodder{}, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ + 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: p3876, + FreeVars: nil, + }, + 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: nil, + }, + Value: "alt", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(30), + }, + End: ast.Location{ + Line: int(346), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3884, + FreeVars: nil, + }, + Value: false, + }, + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(364), - Column: int(17), + Line: int(346), + Column: int(25), }, End: ast.Location{ - Line: int(364), - Column: int(20), + Line: int(346), + Column: int(35), }, File: p1, }, - Ctx: p3657, - FreeVars: ast.Identifiers{ - "str", + }, + 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: nil, + }, + Value: "zero", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(43), + }, + End: ast.Location{ + Line: int(346), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3884, + FreeVars: nil, + }, + Value: false, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(37), + }, + End: ast.Location{ + Line: int(346), + Column: int(48), + }, + File: p1, }, }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ + 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: nil, + }, + Value: "left", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(56), + }, + End: ast.Location{ + Line: int(346), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3884, + FreeVars: nil, + }, + Value: false, + }, + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(364), - Column: int(22), + Line: int(346), + Column: int(50), }, End: ast.Location{ - Line: int(364), - Column: int(23), + Line: int(346), + Column: int(61), }, File: p1, }, - Ctx: p3657, - FreeVars: ast.Identifiers{ - "i", + }, + 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: nil, + }, + Value: "blank", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(70), + }, + End: ast.Location{ + Line: int(346), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3884, + FreeVars: nil, + }, + Value: false, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(63), + }, + End: ast.Location{ + Line: int(346), + Column: int(75), + }, + File: p1, }, }, - Id: "i", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ + 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: nil, + }, + Value: "plus", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(346), + Column: int(83), + }, + End: ast.Location{ + Line: int(346), + Column: int(88), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3884, + FreeVars: nil, + }, + Value: false, + }, + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(364), - Column: int(25), + Line: int(346), + Column: int(77), }, End: ast.Location{ - Line: int(364), - Column: int(26), + Line: int(346), + Column: int(88), }, File: p1, }, - Ctx: p3657, - FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", }, + Locals: ast.LocalBinds{}, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Fun: 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(366), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(348), + Column: int(5), }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_mapping_key", - "vals", + End: ast.Location{ + Line: int(774), + Column: int(48), }, + File: p1, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "try_parse_precision", - Body: &ast.Function{ + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3497, + FreeVars: ast.Identifiers{ + "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: p3898, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(366), - Column: int(11), + Line: int(349), + Column: int(7), }, End: ast.Location{ - Line: int(374), - Column: int(28), + Line: int(377), + Column: int(27), }, File: p1, }, - Ctx: p3666, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3903, FreeVars: ast.Identifiers{ + "i", "std", - "try_parse_field_width", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ "str", - "i", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(367), - Column: int(7), + Line: int(349), + Column: int(10), }, End: ast.Location{ - Line: int(374), - Column: int(28), + Line: int(349), + Column: int(46), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ "i", "std", "str", - "try_parse_field_width", }, }, - Cond: &ast.Binary{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(367), + Line: int(349), Column: int(10), }, End: ast.Location{ - Line: int(367), - Column: int(30), + Line: int(349), + Column: int(29), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ "i", "std", @@ -43484,40 +52179,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(367), + Line: int(349), Column: int(10), }, End: ast.Location{ - Line: int(367), + Line: int(349), Column: int(11), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, - Op: ast.BinaryOp(8), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(367), - Column: int(15), + Line: int(349), + Column: int(14), }, End: ast.Location{ - Line: int(367), - Column: int(30), + Line: int(349), + Column: int(29), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ "std", "str", @@ -43526,18 +52224,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(367), - Column: int(15), + Line: int(349), + Column: int(14), }, End: ast.Location{ - Line: int(367), - Column: int(25), + Line: int(349), + Column: int(24), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ "std", }, @@ -43545,17 +52244,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(367), - Column: int(15), + Line: int(349), + Column: int(14), }, End: ast.Location{ - Line: int(367), - Column: int(18), + Line: int(349), + Column: int(17), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -43563,6 +52263,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -43577,4336 +52278,3439 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(26), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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, }, - End: ast.Location{ - Line: int(367), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p3920, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p3685, - FreeVars: ast.Identifiers{ - "str", }, + Id: "str", }, - Id: "str", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(9), - }, - End: ast.Location{ - Line: int(368), - Column: int(39), - }, - File: p1, - }, - Ctx: p3670, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(15), - }, - End: ast.Location{ - Line: int(368), - Column: int(39), - }, - File: p1, - }, - Ctx: p3670, - FreeVars: nil, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.Local{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(370), - Column: int(9), + Line: int(349), + Column: int(33), }, End: ast.Location{ - Line: int(374), - Column: int(28), + Line: int(349), + Column: int(46), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ "i", "str", - "try_parse_field_width", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(19), - }, - End: ast.Location{ - Line: int(370), - Column: int(25), - }, - File: p1, - }, - Ctx: p3693, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(19), - }, - End: ast.Location{ - Line: int(370), - Column: int(22), - }, - File: p1, - }, - Ctx: p3693, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(23), - }, - End: ast.Location{ - Line: int(370), - Column: int(24), - }, - File: p1, - }, - Ctx: p3693, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Fun: nil, }, }, - Body: &ast.Conditional{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(371), - Column: int(9), + Line: int(349), + Column: int(33), }, End: ast.Location{ - Line: int(374), - Column: int(28), + Line: int(349), + Column: int(39), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ - "c", "i", "str", - "try_parse_field_width", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(371), - Column: int(12), + Line: int(349), + Column: int(33), }, End: ast.Location{ - Line: int(371), - Column: int(20), + Line: int(349), + Column: int(36), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3903, FreeVars: ast.Identifiers{ - "c", + "str", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(12), - }, - End: ast.Location{ - Line: int(371), - Column: int(13), - }, - File: p1, + Id: "str", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(349), + Column: int(37), }, - Ctx: p3670, - FreeVars: ast.Identifiers{ - "c", + End: ast.Location{ + Line: int(349), + Column: int(38), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3903, + FreeVars: ast.Identifiers{ + "i", }, - Id: "c", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(17), - }, - End: ast.Location{ - Line: int(371), - Column: int(20), - }, - File: p1, + 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(349), + Column: int(43), + }, + End: ast.Location{ + Line: int(349), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3903, + FreeVars: nil, + }, + 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: p3903, + 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), }, - Ctx: p3670, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - BranchTrue: &ast.Apply{ + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(372), - Column: int(11), + Line: int(350), + Column: int(14), }, End: ast.Location{ - Line: int(372), - Column: int(44), + Line: int(350), + Column: int(19), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3937, FreeVars: ast.Identifiers{ "i", - "str", - "try_parse_field_width", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(372), - Column: int(11), + Line: int(350), + Column: int(14), }, End: ast.Location{ - Line: int(372), - Column: int(32), + Line: int(350), + Column: int(15), }, File: p1, }, - Ctx: p3670, + Fodder: ast.Fodder{}, + Ctx: p3937, FreeVars: ast.Identifiers{ - "try_parse_field_width", + "i", }, }, - Id: "try_parse_field_width", + Id: "i", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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(36), - }, - File: p1, - }, - Ctx: p3712, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(38), - }, - End: ast.Location{ - Line: int(372), - Column: int(43), - }, - File: p1, - }, - Ctx: p3712, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(38), - }, - End: ast.Location{ - Line: int(372), - Column: int(39), - }, - File: p1, - }, - Ctx: p3712, - 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), }, - 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, - }, - Ctx: p3712, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + End: ast.Location{ + Line: int(350), + Column: int(19), }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p3937, + FreeVars: nil, }, - Named: nil, + OriginalString: "1", }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.DesugaredObject{ + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(350), + Column: int(11), + }, + End: ast.Location{ + Line: int(350), + Column: int(19), + }, + File: p1, + }, + }, + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(374), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(374), - Column: int(28), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p3670, - FreeVars: ast.Identifiers{ - "i", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(16), - }, - End: ast.Location{ - Line: int(374), - Column: int(17), - }, - File: p1, - }, - Ctx: p3724, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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), }, - Body: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(22), - }, - End: ast.Location{ - Line: int(374), - Column: int(26), - }, - File: p1, - }, - Ctx: p3724, - FreeVars: nil, - }, + End: ast.Location{ + Line: int(350), + Column: int(27), }, - PlusSuper: false, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p3937, + FreeVars: nil, }, - Locals: ast.LocalBinds{}, + 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, }, }, }, + Locals: ast.LocalBinds{}, }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_mapping_key", - "try_parse_precision", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "try_parse_length_modifier", - Body: &ast.Function{ + BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(377), - Column: int(11), + Line: int(352), + Column: int(9), }, End: ast.Location{ - Line: int(385), - Column: int(12), + Line: int(377), + Column: int(27), }, File: p1, }, - Ctx: p3732, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p3903, FreeVars: ast.Identifiers{ + "i", "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ "str", - "i", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(7), - }, - End: ast.Location{ - Line: int(385), - Column: int(12), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(10), - }, - End: ast.Location{ - Line: int(378), - Column: int(30), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(10), - }, - End: ast.Location{ - Line: int(378), - Column: int(11), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Variable: "consume", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(378), + Line: int(352), Column: int(15), }, End: ast.Location{ - Line: int(378), - Column: int(30), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3736, + Fodder: nil, + Ctx: p3950, FreeVars: ast.Identifiers{ + "consume", "std", - "str", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(378), - Column: int(15), + Line: int(352), + Column: int(23), }, End: ast.Location{ - Line: int(378), - Column: int(25), + Line: int(352), + Column: int(26), }, File: p1, }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "std", - }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(15), - }, - End: ast.Location{ - Line: int(378), - 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(352), + Column: int(28), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(352), + Column: int(29), }, + File: p1, }, - Id: "std", }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - 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: "v", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(352), + Column: int(31), }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(26), - }, - End: ast.Location{ - Line: int(378), - Column: int(29), - }, - File: p1, - }, - Ctx: p3751, - FreeVars: ast.Identifiers{ - "str", - }, + End: ast.Location{ + Line: int(352), + Column: int(32), }, - Id: "str", + File: p1, }, }, - Named: nil, }, TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(9), - }, - End: ast.Location{ - Line: int(379), - Column: int(39), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(15), + 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, }, - End: ast.Location{ - Line: int(379), - Column: int(39), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "consume", + "j", + "std", + "str", + "v", }, - File: p1, - }, - Ctx: p3736, - FreeVars: nil, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(9), - }, - End: ast.Location{ - Line: int(385), - Column: int(12), }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(381), - Column: int(19), + Line: int(353), + Column: int(18), }, End: ast.Location{ - Line: int(381), - Column: int(25), + Line: int(353), + Column: int(37), }, File: p1, }, - Ctx: p3759, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "j", + "std", "str", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(381), - Column: int(19), + Line: int(353), + Column: int(18), }, End: ast.Location{ - Line: int(381), - Column: int(22), + Line: int(353), + Column: int(19), }, File: p1, }, - Ctx: p3759, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "str", + "j", }, }, - Id: "str", + Id: "j", }, - Index: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(381), - Column: int(23), + Line: int(353), + Column: int(22), }, End: ast.Location{ - Line: int(381), - Column: int(24), + Line: int(353), + Column: int(37), }, File: p1, }, - Ctx: p3759, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "std", + "str", }, }, - Id: "i", - }, - Id: nil, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(9), - }, - End: ast.Location{ - Line: int(385), - Column: int(12), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(12), + 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: p3956, + 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: nil, + }, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - End: ast.Location{ - Line: int(382), - Column: int(44), + FodderLeft: ast.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: p3969, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "c", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Left: &ast.Binary{ + ThenFodder: nil, + BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(382), - Column: int(12), + Line: int(354), + Column: int(11), }, End: ast.Location{ - Line: int(382), - Column: int(32), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3736, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p3956, FreeVars: ast.Identifiers{ - "c", + "consume", + "j", + "str", + "v", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(12), - }, - End: ast.Location{ - Line: int(382), - Column: int(20), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(12), + 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, }, - End: ast.Location{ - Line: int(382), - Column: int(13), + Fodder: ast.Fodder{}, + Ctx: p3976, + FreeVars: ast.Identifiers{ + "j", + "str", }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "c", }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(17), + 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: p3976, + FreeVars: ast.Identifiers{ + "str", + }, }, - End: ast.Location{ - Line: int(382), - Column: int(20), + 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: p3976, + FreeVars: ast.Identifiers{ + "j", + }, }, - File: p1, + Id: "j", }, - Ctx: p3736, - FreeVars: nil, + 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, }, - Value: "h", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(382), - Column: int(24), + Line: int(355), + Column: int(11), }, End: ast.Location{ - Line: int(382), - Column: int(32), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3736, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", + "consume", + "j", + "str", + "v", }, }, - Left: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(382), - Column: int(24), + Line: int(355), + Column: int(14), }, End: ast.Location{ - Line: int(382), - Column: int(25), + Line: int(355), + Column: int(22), }, File: p1, }, - Ctx: p3736, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, }, - Id: "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: p3956, + 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: p3956, + FreeVars: nil, + }, + Value: "0", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(382), - Column: int(29), + Line: int(356), + Column: int(13), }, End: ast.Location{ - Line: int(382), - Column: int(32), + Line: int(356), + Column: int(44), }, File: p1, }, - Ctx: p3736, - FreeVars: nil, - }, - Value: "l", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(36), - }, - End: ast.Location{ - Line: int(382), - Column: int(44), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(36), - }, - End: ast.Location{ - Line: int(382), - Column: int(37), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "c", }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(41), - }, - End: ast.Location{ - Line: int(382), - Column: int(44), + 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: p3956, + FreeVars: ast.Identifiers{ + "consume", + }, }, - File: p1, - }, - Ctx: p3736, - FreeVars: nil, - }, - Value: "L", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(11), - }, - End: ast.Location{ - Line: int(383), - Column: int(16), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(11), - }, - End: ast.Location{ - Line: int(383), - Column: int(12), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(15), - }, - End: ast.Location{ - Line: int(383), - Column: int(16), + Id: "consume", }, - File: p1, - }, - Ctx: p3736, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(385), - Column: int(11), - }, - End: ast.Location{ - Line: int(385), - Column: int(12), - }, - File: p1, - }, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(387), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "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{ - Variable: "parse_conv_type", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(387), - Column: int(11), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3797, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(7), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(10), - }, - End: ast.Location{ - Line: int(388), - Column: int(30), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(10), - }, - End: ast.Location{ - Line: int(388), - Column: int(11), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(15), - }, - End: ast.Location{ - Line: int(388), - Column: int(30), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(15), - }, - End: ast.Location{ - Line: int(388), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(15), - }, - End: ast.Location{ - Line: int(388), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(26), - }, - End: ast.Location{ - Line: int(388), - Column: int(29), - }, - File: p1, - }, - Ctx: p3816, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(9), - }, - End: ast.Location{ - Line: int(389), - Column: int(39), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(15), - }, - End: ast.Location{ - Line: int(389), - Column: int(39), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(9), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(19), - }, - End: ast.Location{ - Line: int(391), - Column: int(25), - }, - File: p1, - }, - Ctx: p3824, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(19), - }, - End: ast.Location{ - Line: int(391), - Column: int(22), + FodderLeft: ast.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: p3997, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: ast.Fodder{}, }, - File: p1, - }, - Ctx: p3824, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(23), + 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: p3997, + 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: p3997, + 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: p3997, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, }, - End: ast.Location{ - Line: int(391), - Column: int(24), + 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: p3997, + 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: p3997, + 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: p3997, + 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: p3997, + FreeVars: nil, + }, + 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: p3997, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + CommaFodder: nil, }, - File: p1, - }, - Ctx: p3824, - FreeVars: ast.Identifiers{ - "i", }, + Named: nil, }, - Id: "i", - }, - Id: nil, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(9), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(12), - }, - End: ast.Location{ - Line: int(392), - Column: int(44), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(12), - }, - End: ast.Location{ - Line: int(392), - Column: int(32), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, }, - Left: &ast.Binary{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(392), - Column: int(12), + Line: int(357), + Column: int(16), }, End: ast.Location{ - Line: int(392), - Column: int(20), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", + "consume", + "j", + "str", + "v", }, }, - Left: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(392), - Column: int(12), + Line: int(357), + Column: int(19), }, End: ast.Location{ - Line: int(392), - Column: int(13), + Line: int(357), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(17), + 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, }, - End: ast.Location{ - Line: int(392), - Column: int(20), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, }, - Ctx: p3801, - FreeVars: nil, + Id: "c", }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(24), - }, - End: ast.Location{ - Line: int(392), - Column: int(32), + 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: p3956, + FreeVars: nil, }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", + Value: "1", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - Left: &ast.Var{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(392), - Column: int(24), + Line: int(358), + Column: int(13), }, End: ast.Location{ - Line: int(392), - Column: int(25), + Line: int(358), + Column: int(44), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "c", + "consume", + "j", + "str", + "v", }, }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(29), + 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, }, - End: ast.Location{ - Line: int(392), - Column: int(32), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", }, - File: p1, }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(36), - }, - End: ast.Location{ - Line: int(392), - Column: int(44), + Id: "consume", }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(36), - }, - End: ast.Location{ - Line: int(392), - Column: int(37), + FodderLeft: ast.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: p4027, + 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: p4027, + 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: p4027, + 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: p4027, + FreeVars: nil, + }, + 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: p4027, + 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: p4027, + 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: p4027, + 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: p4027, + FreeVars: nil, + }, + 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: p4027, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: nil, + }, }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(41), - }, - End: ast.Location{ - Line: int(392), - Column: int(44), - }, - File: p1, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "u", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(11), - }, - End: ast.Location{ - Line: int(393), - Column: int(44), }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + BranchFalse: &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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(393), + Line: int(359), Column: int(16), }, End: ast.Location{ - Line: int(393), - Column: int(21), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3856, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", + "consume", + "j", + "str", + "v", }, }, - Left: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(393), - Column: int(16), + Line: int(359), + Column: int(19), }, End: ast.Location{ - Line: int(393), - Column: int(17), + Line: int(359), + Column: int(27), }, File: p1, }, - Ctx: p3856, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, - Id: "i", + 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: p3956, + 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: p3956, + FreeVars: nil, + }, + Value: "2", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(393), - Column: int(20), + Line: int(360), + Column: int(13), }, End: ast.Location{ - Line: int(393), - Column: int(21), + Line: int(360), + Column: int(44), }, File: p1, }, - Ctx: p3856, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(26), - }, - End: ast.Location{ - Line: int(393), - Column: int(29), - }, - File: p1, - }, - Ctx: p3856, - FreeVars: nil, - }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(37), - }, - End: ast.Location{ - Line: int(393), - Column: int(42), - }, - File: p1, - }, - Ctx: p3856, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(17), - }, - End: ast.Location{ - Line: int(394), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(17), - }, - End: ast.Location{ - Line: int(394), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(22), - }, - End: ast.Location{ - Line: int(394), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "o", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(11), - }, - End: ast.Location{ - Line: int(395), - Column: int(44), - }, - File: p1, - }, - Ctx: p3801, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(16), - }, - End: ast.Location{ - Line: int(395), - Column: int(21), - }, - File: p1, - }, - Ctx: p3877, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(395), - Column: int(16), + Line: int(360), + Column: int(13), }, End: ast.Location{ - Line: int(395), - Column: int(17), + Line: int(360), + Column: int(20), }, File: p1, }, - Ctx: p3877, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "consume", }, }, - Id: "i", + Id: "consume", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(20), - }, - End: ast.Location{ - Line: int(395), - Column: int(21), + FodderLeft: ast.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: p4057, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", }, - File: p1, + CommaFodder: ast.Fodder{}, }, - Ctx: p3877, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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), + 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: p4057, + 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: p4057, + 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: p4057, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4057, + 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: p4057, + 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: p4057, + 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: p4057, + FreeVars: nil, + }, + 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: p4057, + FreeVars: nil, + }, + OriginalString: "2", + }, + }, + CommaFodder: nil, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Named: nil, }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(26), - }, - End: ast.Location{ - Line: int(395), - Column: int(29), - }, - File: p1, - }, - Ctx: p3877, - FreeVars: nil, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - Value: "o", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + BranchFalse: &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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(37), + Line: int(361), + Column: int(16), }, End: ast.Location{ - Line: int(395), - Column: int(42), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3877, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(17), - }, - End: ast.Location{ - Line: int(396), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(17), - }, - End: ast.Location{ - Line: int(396), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(396), - Column: int(22), - }, - End: ast.Location{ - Line: int(396), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(11), - }, - End: ast.Location{ - Line: int(397), - Column: int(44), }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(16), + Line: int(361), + Column: int(19), }, End: ast.Location{ - Line: int(397), - Column: int(21), + Line: int(361), + Column: int(27), }, File: p1, }, - Ctx: p3898, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(397), - Column: int(16), + Line: int(361), + Column: int(19), }, End: ast.Location{ - Line: int(397), - Column: int(17), + Line: int(361), + Column: int(20), }, File: p1, }, - Ctx: p3898, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, - Id: "i", + Id: "c", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(397), - Column: int(20), + Line: int(361), + Column: int(24), }, End: ast.Location{ - Line: int(397), - Column: int(21), + Line: int(361), + Column: int(27), }, File: p1, }, - Ctx: p3898, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", + Value: "3", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(362), + Column: int(13), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(362), + Column: int(44), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", }, - Ctx: nil, - FreeVars: nil, }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(397), - Column: int(29), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", }, - File: p1, }, - Ctx: p3898, - FreeVars: nil, + Id: "consume", }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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), + FodderLeft: ast.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: p4087, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: ast.Fodder{}, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4087, + 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: p4087, + 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: p4087, + FreeVars: nil, + }, + 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: p4087, + 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: p4087, + 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: p4087, + 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: p4087, + FreeVars: nil, + }, + 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: p4087, + FreeVars: nil, + }, + OriginalString: "3", + }, + }, + CommaFodder: nil, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Named: nil, }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Body: &ast.LiteralBoolean{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(397), - Column: int(37), + Line: int(363), + Column: int(16), }, End: ast.Location{ - Line: int(397), - Column: int(42), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3898, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(398), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(398), - Column: int(17), - }, - End: ast.Location{ - Line: int(398), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &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(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(398), - Column: int(22), - }, - End: ast.Location{ - Line: int(398), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "X", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(11), - }, - End: ast.Location{ - Line: int(399), - Column: int(43), }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(16), + Line: int(363), + Column: int(19), }, End: ast.Location{ - Line: int(399), - Column: int(21), + Line: int(363), + Column: int(27), }, File: p1, }, - Ctx: p3919, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(399), - Column: int(16), + Line: int(363), + Column: int(19), }, End: ast.Location{ - Line: int(399), - Column: int(17), + Line: int(363), + Column: int(20), }, File: p1, }, - Ctx: p3919, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, - Id: "i", + Id: "c", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(399), - Column: int(20), + Line: int(363), + Column: int(24), }, End: ast.Location{ - Line: int(399), - Column: int(21), + Line: int(363), + Column: int(27), }, File: p1, }, - Ctx: p3919, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", + Value: "4", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(364), + Column: int(13), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(364), + Column: int(44), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", }, - Ctx: nil, - FreeVars: nil, }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(399), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(399), - Column: int(29), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", }, - File: p1, }, - Ctx: p3919, - FreeVars: nil, + Id: "consume", }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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), + FodderLeft: ast.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: p4117, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: ast.Fodder{}, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4117, + 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: p4117, + 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: p4117, + FreeVars: nil, + }, + 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: p4117, + 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: p4117, + 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: p4117, + 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: p4117, + FreeVars: nil, + }, + 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: p4117, + FreeVars: nil, + }, + OriginalString: "4", + }, + }, + CommaFodder: nil, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Named: nil, }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Body: &ast.LiteralBoolean{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(399), - Column: int(37), + Line: int(365), + Column: int(16), }, End: ast.Location{ - Line: int(399), - Column: int(41), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3919, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(17), - }, - End: ast.Location{ - Line: int(400), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(17), - }, - End: ast.Location{ - Line: int(400), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(22), - }, - End: ast.Location{ - Line: int(400), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(11), }, - End: ast.Location{ - Line: int(401), - Column: int(44), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(16), + Line: int(365), + Column: int(19), }, End: ast.Location{ - Line: int(401), - Column: int(21), + Line: int(365), + Column: int(27), }, File: p1, }, - Ctx: p3940, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(401), - Column: int(16), + Line: int(365), + Column: int(19), }, End: ast.Location{ - Line: int(401), - Column: int(17), + Line: int(365), + Column: int(20), }, File: p1, }, - Ctx: p3940, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, - Id: "i", + Id: "c", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(401), - Column: int(20), + Line: int(365), + Column: int(24), }, End: ast.Location{ - Line: int(401), - Column: int(21), + Line: int(365), + Column: int(27), }, File: p1, }, - Ctx: p3940, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", + Value: "5", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(366), + Column: int(13), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(366), + Column: int(44), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", }, - Ctx: nil, - FreeVars: nil, }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(401), - Column: int(29), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", }, - File: p1, }, - Ctx: p3940, - FreeVars: nil, + Id: "consume", }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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), + FodderLeft: ast.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: p4147, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: ast.Fodder{}, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4147, + 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: p4147, + 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: p4147, + FreeVars: nil, + }, + 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: p4147, + 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: p4147, + 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: p4147, + 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: p4147, + FreeVars: nil, + }, + 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: p4147, + FreeVars: nil, + }, + OriginalString: "5", + }, + }, + CommaFodder: nil, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Named: nil, }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Body: &ast.LiteralBoolean{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(401), - Column: int(37), + Line: int(367), + Column: int(16), }, End: ast.Location{ - Line: int(401), - Column: int(42), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3940, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(17), - }, - End: ast.Location{ - Line: int(402), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(17), - }, - End: ast.Location{ - Line: int(402), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(22), - }, - End: ast.Location{ - Line: int(402), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "c", + "consume", + "j", + "str", + "v", }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "E", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(11), }, - End: ast.Location{ - Line: int(403), - Column: int(43), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(16), + Line: int(367), + Column: int(19), }, End: ast.Location{ - Line: int(403), - Column: int(21), + Line: int(367), + Column: int(27), }, File: p1, }, - Ctx: p3961, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(403), - Column: int(16), + Line: int(367), + Column: int(19), }, End: ast.Location{ - Line: int(403), - Column: int(17), + Line: int(367), + Column: int(20), }, File: p1, }, - Ctx: p3961, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "c", }, }, - Id: "i", + Id: "c", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(403), - Column: int(20), + Line: int(367), + Column: int(24), }, End: ast.Location{ - Line: int(403), - Column: int(21), + Line: int(367), + Column: int(27), }, File: p1, }, - Ctx: p3961, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(26), - }, - End: ast.Location{ - Line: int(403), - Column: int(29), - }, - File: p1, - }, - Ctx: p3961, - FreeVars: nil, + Value: "6", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(37), + Line: int(368), + Column: int(13), }, End: ast.Location{ - Line: int(403), - Column: int(41), + Line: int(368), + Column: int(44), }, File: p1, }, - Ctx: p3961, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(17), - }, - End: ast.Location{ - Line: int(404), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(17), - }, - End: ast.Location{ - Line: int(404), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(22), - }, - End: ast.Location{ - Line: int(404), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p3956, + FreeVars: ast.Identifiers{ + "consume", + "j", + "str", + "v", }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(11), - }, - End: ast.Location{ - Line: int(405), - Column: int(44), }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(368), + Column: int(13), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(368), + Column: int(20), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(16), - }, - End: ast.Location{ - Line: int(405), - Column: int(21), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, }, - File: p1, }, - Ctx: p3982, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "consume", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(16), - }, - End: ast.Location{ - Line: int(405), - Column: int(17), + 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: p4177, + FreeVars: ast.Identifiers{ + "str", + }, }, - File: p1, - }, - Ctx: p3982, - FreeVars: ast.Identifiers{ - "i", + Id: "str", }, + CommaFodder: ast.Fodder{}, }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(20), + 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: p4177, + FreeVars: ast.Identifiers{ + "j", + }, }, - End: ast.Location{ - Line: int(405), - Column: int(21), + 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: p4177, + 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: p4177, + FreeVars: nil, + }, + OriginalString: "1", }, - File: p1, }, - Ctx: p3982, - FreeVars: nil, + CommaFodder: ast.Fodder{}, }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(26), - }, - End: ast.Location{ - Line: int(405), - Column: int(29), - }, - File: p1, - }, - Ctx: p3982, - FreeVars: nil, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(405), - Column: int(37), - }, - End: ast.Location{ - Line: int(405), - Column: int(42), - }, - File: p1, - }, - Ctx: p3982, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(17), - }, - End: ast.Location{ - Line: int(406), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(17), - }, - End: ast.Location{ - Line: int(406), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(22), - }, - End: ast.Location{ - Line: int(406), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "F", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(11), - }, - End: ast.Location{ - Line: int(407), - Column: int(43), - }, - File: p1, - }, - Ctx: p3801, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(16), - }, - End: ast.Location{ - Line: int(407), - Column: int(21), - }, - File: p1, - }, - Ctx: p4003, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(16), - }, - End: ast.Location{ - Line: int(407), - Column: int(17), - }, - File: p1, - }, - Ctx: p4003, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(20), - }, - End: ast.Location{ - Line: int(407), - Column: int(21), - }, - File: p1, - }, - Ctx: p4003, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(26), - }, - End: ast.Location{ - Line: int(407), - Column: int(29), - }, - File: p1, - }, - Ctx: p4003, - FreeVars: nil, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(407), - Column: int(37), - }, - End: ast.Location{ - Line: int(407), - Column: int(41), - }, - File: p1, - }, - Ctx: p4003, - FreeVars: nil, - }, - Value: true, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(17), - }, - End: ast.Location{ - Line: int(408), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(17), - }, - End: ast.Location{ - Line: int(408), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(22), - }, - End: ast.Location{ - Line: int(408), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "g", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(11), - }, - End: ast.Location{ - Line: int(409), - Column: int(44), - }, - File: p1, - }, - Ctx: p3801, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(16), - }, - End: ast.Location{ - Line: int(409), - Column: int(21), - }, - File: p1, - }, - Ctx: p4024, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(409), - Column: int(16), + Line: int(368), + Column: int(33), }, End: ast.Location{ - Line: int(409), - Column: int(17), + Line: int(368), + Column: int(43), }, File: p1, }, - Ctx: p4024, + Fodder: ast.Fodder{}, + Ctx: p4177, FreeVars: ast.Identifiers{ - "i", + "v", }, }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(20), + 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, }, - End: ast.Location{ - Line: int(409), - Column: int(21), + Fodder: ast.Fodder{}, + Ctx: p4177, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p4024, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(26), - }, - End: ast.Location{ - Line: int(409), - Column: int(29), }, - File: p1, - }, - Ctx: p4024, - FreeVars: nil, - }, - Value: "g", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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), + 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: p4177, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4177, + FreeVars: nil, + }, + OriginalString: "10", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(37), - }, - End: ast.Location{ - Line: int(409), - Column: int(42), + 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: p4177, + FreeVars: nil, }, - File: p1, + OriginalString: "6", }, - Ctx: p4024, - FreeVars: nil, }, - Value: false, + CommaFodder: nil, }, - PlusSuper: false, }, + 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{}, }, - Locals: ast.LocalBinds{}, }, BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(410), - Column: int(14), + Line: int(369), + Column: int(16), }, End: ast.Location{ - Line: int(419), - Column: int(53), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", - "i", + "consume", + "j", + "str", + "v", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(410), - Column: int(17), + Line: int(369), + Column: int(19), }, End: ast.Location{ - Line: int(410), - Column: int(25), + Line: int(369), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, @@ -47914,283 +55718,367 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(410), - Column: int(17), + Line: int(369), + Column: int(19), }, End: ast.Location{ - Line: int(410), - Column: int(18), + Line: int(369), + Column: int(20), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, }, Id: "c", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(410), - Column: int(22), + Line: int(369), + Column: int(24), }, End: ast.Location{ - Line: int(410), - Column: int(25), + Line: int(369), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: nil, }, - Value: "G", + Value: "7", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, - BranchTrue: &ast.DesugaredObject{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(411), - Column: int(11), + Line: int(370), + Column: int(13), }, End: ast.Location{ - Line: int(411), - Column: int(43), + Line: int(370), + Column: int(44), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "consume", + "j", + "str", + "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, - }, - Ctx: nil, - FreeVars: nil, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(370), + Column: int(13), }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(370), + Column: int(20), + }, + File: p1, }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(16), - }, - End: ast.Location{ - Line: int(411), - Column: int(21), - }, - File: p1, - }, - Ctx: p4045, - FreeVars: ast.Identifiers{ - "i", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, }, - Left: &ast.Var{ + }, + Ctx: p3956, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(411), - Column: int(16), + Line: int(370), + Column: int(21), }, End: ast.Location{ - Line: int(411), - Column: int(17), + Line: int(370), + Column: int(24), }, File: p1, }, - Ctx: p4045, + Fodder: ast.Fodder{}, + Ctx: p4207, FreeVars: ast.Identifiers{ - "i", + "str", }, }, - Id: "i", + Id: "str", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(411), - Column: int(20), + Line: int(370), + Column: int(26), }, End: ast.Location{ - Line: int(411), - Column: int(21), + Line: int(370), + Column: int(31), }, File: p1, }, - Ctx: p4045, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p4207, + FreeVars: ast.Identifiers{ + "j", + }, }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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), + 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: p4207, + FreeVars: ast.Identifiers{ + "j", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4207, + FreeVars: nil, }, - File: nil, + OriginalString: "1", }, - Ctx: nil, - FreeVars: nil, }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(411), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p4207, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, }, - Ctx: p4045, - FreeVars: nil, - }, - Value: "g", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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), + 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: p4207, + FreeVars: ast.Identifiers{ + "v", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4207, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(37), + 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: p4207, + FreeVars: nil, + }, + OriginalString: "10", }, - End: ast.Location{ - Line: int(411), - Column: int(41), + }, + 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: p4207, + FreeVars: nil, }, - File: p1, + OriginalString: "7", }, - Ctx: p4045, - FreeVars: nil, }, - Value: true, + CommaFodder: nil, }, - PlusSuper: false, }, + 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{}, }, - Locals: ast.LocalBinds{}, }, BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(412), - Column: int(14), + Line: int(371), + Column: int(16), }, End: ast.Location{ - Line: int(419), - Column: int(53), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", - "i", + "consume", + "j", + "str", + "v", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(412), - Column: int(17), + Line: int(371), + Column: int(19), }, End: ast.Location{ - Line: int(412), - Column: int(25), + Line: int(371), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, @@ -48198,283 +56086,367 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(412), - Column: int(17), + Line: int(371), + Column: int(19), }, End: ast.Location{ - Line: int(412), - Column: int(18), + Line: int(371), + Column: int(20), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, }, Id: "c", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(412), - Column: int(22), + Line: int(371), + Column: int(24), }, End: ast.Location{ - Line: int(412), - Column: int(25), + Line: int(371), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: nil, }, - Value: "c", + Value: "8", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, - BranchTrue: &ast.DesugaredObject{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(413), - Column: int(11), + Line: int(372), + Column: int(13), }, End: ast.Location{ - Line: int(413), + Line: int(372), Column: int(44), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "consume", + "j", + "str", + "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, - }, - Ctx: nil, - FreeVars: nil, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(372), + Column: int(13), }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(372), + Column: int(20), + }, + File: p1, }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(16), - }, - End: ast.Location{ - Line: int(413), - Column: int(21), - }, - File: p1, - }, - Ctx: p4066, - FreeVars: ast.Identifiers{ - "i", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, }, - Left: &ast.Var{ + }, + Ctx: p3956, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(413), - Column: int(16), + Line: int(372), + Column: int(21), }, End: ast.Location{ - Line: int(413), - Column: int(17), + Line: int(372), + Column: int(24), }, File: p1, }, - Ctx: p4066, + Fodder: ast.Fodder{}, + Ctx: p4237, FreeVars: ast.Identifiers{ - "i", + "str", }, }, - Id: "i", + Id: "str", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(413), - Column: int(20), + Line: int(372), + Column: int(26), }, End: ast.Location{ - Line: int(413), - Column: int(21), + Line: int(372), + Column: int(31), }, File: p1, }, - Ctx: p4066, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p4237, + FreeVars: ast.Identifiers{ + "j", + }, }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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), + 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: p4237, + FreeVars: ast.Identifiers{ + "j", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4237, + FreeVars: nil, }, - File: nil, + OriginalString: "1", }, - Ctx: nil, - FreeVars: nil, }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(413), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p4237, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, }, - Ctx: p4066, - FreeVars: nil, - }, - Value: "c", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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), + 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: p4237, + FreeVars: ast.Identifiers{ + "v", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4237, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(37), + 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: p4237, + FreeVars: nil, + }, + OriginalString: "10", }, - End: ast.Location{ - Line: int(413), - Column: int(42), + }, + 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: p4237, + FreeVars: nil, }, - File: p1, + OriginalString: "8", }, - Ctx: p4066, - FreeVars: nil, }, - Value: false, + CommaFodder: nil, }, - PlusSuper: false, }, + 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{}, }, - Locals: ast.LocalBinds{}, }, BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(414), - Column: int(14), + Line: int(373), + Column: int(16), }, End: ast.Location{ - Line: int(419), - Column: int(53), + Line: int(376), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", - "i", + "consume", + "j", + "str", + "v", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(414), - Column: int(17), + Line: int(373), + Column: int(19), }, End: ast.Location{ - Line: int(414), - Column: int(25), + Line: int(373), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, @@ -48482,615 +56454,481 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(414), - Column: int(17), + Line: int(373), + Column: int(19), }, End: ast.Location{ - Line: int(414), - Column: int(18), + Line: int(373), + Column: int(20), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ "c", }, }, Id: "c", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(414), - Column: int(22), + Line: int(373), + Column: int(24), }, End: ast.Location{ - Line: int(414), - Column: int(25), + Line: int(373), + Column: int(27), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: nil, }, - Value: "s", + Value: "9", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, - BranchTrue: &ast.DesugaredObject{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(415), - Column: int(11), + Line: int(374), + Column: int(13), }, End: ast.Location{ - Line: int(415), + Line: int(374), Column: int(44), }, File: p1, }, - Ctx: p3801, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(16), - }, - End: ast.Location{ - Line: int(415), - Column: int(21), - }, - File: p1, - }, - Ctx: p4087, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(16), - }, - End: ast.Location{ - Line: int(415), - Column: int(17), - }, - File: p1, - }, - Ctx: p4087, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(20), - }, - End: ast.Location{ - Line: int(415), - Column: int(21), - }, - File: p1, - }, - Ctx: p4087, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(26), - }, - End: ast.Location{ - Line: int(415), - Column: int(29), - }, - File: p1, - }, - Ctx: p4087, - FreeVars: nil, - }, - Value: "s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(37), - }, - End: ast.Location{ - Line: int(415), - Column: int(42), - }, - File: p1, - }, - Ctx: p4087, - FreeVars: nil, - }, - Value: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(14), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, - }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p3956, FreeVars: ast.Identifiers{ - "c", - "i", + "consume", + "j", + "str", + "v", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(416), - Column: int(17), + Line: int(374), + Column: int(13), }, End: ast.Location{ - Line: int(416), - Column: int(25), + Line: int(374), + Column: int(20), }, File: p1, }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(17), - }, - End: ast.Location{ - Line: int(416), - Column: int(18), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(22), - }, - End: ast.Location{ - Line: int(416), - Column: int(25), - }, - File: p1, - }, - Ctx: p3801, - FreeVars: nil, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(11), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, }, - End: ast.Location{ - Line: int(417), - Column: int(44), - }, - File: p1, }, - Ctx: p3801, + Ctx: p3956, FreeVars: ast.Identifiers{ - "i", + "consume", }, }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + 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(0), - Column: int(0), + Line: int(374), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(374), + Column: int(24), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4267, + FreeVars: ast.Identifiers{ + "str", }, - Ctx: nil, - FreeVars: nil, }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "str", }, - Body: &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(417), - Column: int(16), + Line: int(374), + Column: int(26), }, End: ast.Location{ - Line: int(417), - Column: int(21), + Line: int(374), + Column: int(31), }, File: p1, }, - Ctx: p4108, + Fodder: ast.Fodder{}, + Ctx: p4267, FreeVars: ast.Identifiers{ - "i", + "j", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(417), - Column: int(16), + Line: int(374), + Column: int(26), }, End: ast.Location{ - Line: int(417), - Column: int(17), + Line: int(374), + Column: int(27), }, File: p1, }, - Ctx: p4108, + Fodder: ast.Fodder{}, + Ctx: p4267, FreeVars: ast.Identifiers{ - "i", + "j", }, }, - Id: "i", + Id: "j", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(417), - Column: int(20), + Line: int(374), + Column: int(30), }, End: ast.Location{ - Line: int(417), - Column: int(21), + Line: int(374), + Column: int(31), }, File: p1, }, - Ctx: p4108, + Fodder: ast.Fodder{}, + Ctx: p4267, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, - PlusSuper: false, + CommaFodder: ast.Fodder{}, }, - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.LiteralString{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(374), + Column: int(33), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(374), + Column: int(43), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4267, + FreeVars: ast.Identifiers{ + "v", }, - Ctx: nil, - FreeVars: nil, }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(26), + 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, }, - End: ast.Location{ - Line: int(417), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p4267, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, }, - Ctx: p4108, - FreeVars: nil, - }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - 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), + 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: p4267, + FreeVars: ast.Identifiers{ + "v", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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: p4267, + FreeVars: nil, }, - File: nil, + OriginalString: "10", }, - Ctx: nil, - FreeVars: nil, }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(37), - }, - End: ast.Location{ - Line: int(417), - Column: int(42), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p4267, + FreeVars: nil, }, - Ctx: p4108, - FreeVars: nil, + OriginalString: "9", }, - Value: false, }, - PlusSuper: false, + CommaFodder: nil, }, }, - Locals: ast.LocalBinds{}, + Named: nil, }, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(11), - }, - End: ast.Location{ - Line: int(419), - Column: int(53), - }, - File: p1, + 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), }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", + End: ast.Location{ + Line: int(376), + Column: int(27), }, + File: p1, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(17), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p3956, + 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, }, - End: ast.Location{ - Line: int(419), - Column: int(53), + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: p4289, + FreeVars: ast.Identifiers{ + "j", }, - File: p1, }, - Ctx: p3801, - FreeVars: ast.Identifiers{ - "c", + 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, }, - Left: &ast.LiteralString{ + }, + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(419), - Column: int(17), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(419), - Column: int(49), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p3801, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "Unrecognised conversion type: ", + Value: "v", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + Body: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(419), - Column: int(52), + Line: int(376), + Column: int(24), }, End: ast.Location{ - Line: int(419), - Column: int(53), + Line: int(376), + Column: int(25), }, File: p1, }, - Ctx: p3801, + Fodder: ast.Fodder{}, + Ctx: p4289, FreeVars: ast.Identifiers{ - "c", + "v", }, }, - Id: "c", + 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{}, }, }, }, @@ -49103,7747 +56941,7141 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, + 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: nil, + }, + 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: p3956, + FreeVars: nil, + }, + 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, }, }, }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), + 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: p3903, + FreeVars: ast.Identifiers{ + "consume", + "i", + "str", + }, }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "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{ - Variable: "parse_code", - Body: &ast.Function{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(423), - Column: int(11), + Line: int(377), + Column: int(9), }, End: ast.Location{ - Line: int(443), - Column: int(10), + Line: int(377), + Column: int(16), }, File: p1, }, - Ctx: p4128, - 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", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "i", + Ctx: p3903, + FreeVars: ast.Identifiers{ + "consume", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(7), - }, - End: ast.Location{ - Line: int(443), - Column: int(10), - }, - File: p1, - }, - Ctx: p4132, - FreeVars: ast.Identifiers{ - "i", - "parse_conv_type", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(10), + 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(377), + Column: int(17), + }, + End: ast.Location{ + Line: int(377), + Column: int(20), + }, + File: p1, }, - End: ast.Location{ - Line: int(424), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p4303, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p4132, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", }, + Id: "str", }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(424), - Column: int(10), + Line: int(377), + Column: int(22), }, End: ast.Location{ - Line: int(424), - Column: int(11), + Line: int(377), + Column: int(23), }, File: p1, }, - Ctx: p4132, + Fodder: ast.Fodder{}, + Ctx: p4303, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(424), - Column: int(15), + Line: int(377), + Column: int(25), }, End: ast.Location{ - Line: int(424), - Column: int(30), + Line: int(377), + Column: int(26), }, File: p1, }, - Ctx: p4132, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + Fodder: ast.Fodder{}, + Ctx: p4303, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(15), - }, - End: ast.Location{ - Line: int(424), - Column: int(25), - }, - File: p1, - }, - Ctx: p4132, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(15), - }, - End: ast.Location{ - Line: int(424), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "0", + }, + 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, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(379), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3497, + FreeVars: ast.Identifiers{ + "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: p4313, + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + "try_parse_field_width", + }, + }, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p4319, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + }, + 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: p4319, + 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(380), + Column: int(18), + }, + End: ast.Location{ + Line: int(380), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4319, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(18), + }, + End: ast.Location{ + Line: int(380), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4319, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(18), }, - Id: nil, + End: ast.Location{ + Line: int(380), + Column: int(21), + }, + File: p1, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(26), - }, - End: ast.Location{ - Line: int(424), - Column: int(29), - }, - File: p1, - }, - Ctx: p4147, - FreeVars: ast.Identifiers{ - "str", - }, + 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: nil, + }, + 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), }, - Id: "str", + End: ast.Location{ + Line: int(380), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4332, + FreeVars: ast.Identifiers{ + "str", }, }, - Named: nil, + Id: "str", }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, - BranchTrue: &ast.Error{ + 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: p4319, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(425), - Column: int(9), + Line: int(381), + Column: int(17), }, End: ast.Location{ - Line: int(425), - Column: int(39), + Line: int(381), + Column: int(23), }, File: p1, }, - Ctx: p4132, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p4339, + FreeVars: ast.Identifiers{ + "i", + "str", + }, }, - Expr: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(425), - Column: int(15), + Line: int(381), + Column: int(17), }, End: ast.Location{ - Line: int(425), - Column: int(39), + Line: int(381), + Column: int(20), }, File: p1, }, - Ctx: p4132, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p4339, + FreeVars: ast.Identifiers{ + "str", + }, }, - Value: "Truncated format code.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: p4339, + 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: p4319, + 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: p4319, + 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: p4319, + 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), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4319, + FreeVars: nil, + }, + 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: p4319, + FreeVars: ast.Identifiers{ + "i", + "str", + "try_parse_field_width", }, }, - BranchFalse: &ast.Local{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(427), + Line: int(383), Column: int(9), }, End: ast.Location{ - Line: int(443), - Column: int(10), + Line: int(383), + Column: int(30), }, File: p1, }, - Ctx: p4132, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p4319, 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{ - Variable: "mkey", - Body: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(427), - Column: int(22), + Line: int(383), + Column: int(31), }, End: ast.Location{ - Line: int(427), - Column: int(51), + Line: int(383), + Column: int(34), }, File: p1, }, - Ctx: p4155, + Fodder: ast.Fodder{}, + Ctx: p4360, FreeVars: ast.Identifiers{ - "i", "str", - "try_parse_mapping_key", }, }, - Target: &ast.Var{ + Id: "str", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(383), + Column: int(36), + }, + End: ast.Location{ + Line: int(383), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4360, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(427), - Column: int(22), + Line: int(383), + Column: int(36), }, End: ast.Location{ - Line: int(427), - Column: int(43), + Line: int(383), + Column: int(37), }, File: p1, }, - Ctx: p4155, + Fodder: ast.Fodder{}, + Ctx: p4360, FreeVars: ast.Identifiers{ - "try_parse_mapping_key", - }, - }, - Id: "try_parse_mapping_key", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(427), - Column: int(44), - }, - End: ast.Location{ - Line: int(427), - Column: int(47), - }, - File: p1, - }, - Ctx: p4161, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(427), - Column: int(49), - }, - End: ast.Location{ - Line: int(427), - Column: int(50), - }, - File: p1, - }, - Ctx: p4161, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", + "i", }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(9), - }, - End: ast.Location{ - Line: int(443), - Column: int(10), + Id: "i", }, - File: p1, - }, - Ctx: p4132, - 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{ - Variable: "cflags", - Body: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(428), - Column: int(24), + Line: int(383), + Column: int(40), }, End: ast.Location{ - Line: int(428), - Column: int(53), + Line: int(383), + Column: int(41), }, File: p1, }, - Ctx: p4169, - FreeVars: ast.Identifiers{ - "mkey", - "str", - "try_parse_cflags", - }, + Fodder: ast.Fodder{}, + Ctx: p4360, + FreeVars: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(24), - }, - End: ast.Location{ - Line: int(428), - Column: int(40), - }, - File: p1, - }, - Ctx: p4169, - FreeVars: ast.Identifiers{ - "try_parse_cflags", - }, - }, - Id: "try_parse_cflags", + 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.DesugaredObject{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(385), + Column: int(9), + }, + 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{}, + }, + }, + Ctx: p4319, + 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), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(41), - }, - End: ast.Location{ - Line: int(428), - Column: int(44), - }, - File: p1, - }, - Ctx: p4175, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(46), - }, - End: ast.Location{ - Line: int(428), - Column: int(52), - }, - File: p1, - }, - Ctx: p4175, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(46), - }, - End: ast.Location{ - Line: int(428), - Column: int(50), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Id: "mkey", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Named: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - TrailingComma: false, - TailStrict: false, + File: nil, }, - Fun: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Body: &ast.Local{ + Body: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(429), - Column: int(9), + Line: int(385), + Column: int(14), }, End: ast.Location{ - Line: int(443), - Column: int(10), + Line: int(385), + Column: int(15), }, File: p1, }, - Ctx: p4132, + Fodder: ast.Fodder{}, + Ctx: p4374, FreeVars: ast.Identifiers{ - "cflags", - "mkey", - "parse_conv_type", - "str", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_precision", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "fw", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(20), - }, - End: ast.Location{ - Line: int(429), - Column: int(56), - }, - File: p1, - }, - Ctx: p4186, - FreeVars: ast.Identifiers{ - "cflags", - "str", - "try_parse_field_width", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(20), - }, - End: ast.Location{ - Line: int(429), - Column: int(41), - }, - File: p1, - }, - Ctx: p4186, - FreeVars: ast.Identifiers{ - "try_parse_field_width", - }, - }, - Id: "try_parse_field_width", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(42), - }, - End: ast.Location{ - Line: int(429), - Column: int(45), - }, - File: p1, - }, - Ctx: p4192, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(47), - }, - End: ast.Location{ - Line: int(429), - Column: int(55), - }, - File: p1, - }, - Ctx: p4192, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(47), - }, - End: ast.Location{ - Line: int(429), - Column: int(53), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Fun: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(9), - }, - End: ast.Location{ - Line: int(443), - Column: int(10), - }, - File: p1, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(385), + Column: int(20), }, - Ctx: p4132, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "mkey", - "parse_conv_type", - "str", - "try_parse_length_modifier", - "try_parse_precision", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "prec", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(22), - }, - End: ast.Location{ - Line: int(430), - Column: int(52), - }, - File: p1, - }, - Ctx: p4203, - FreeVars: ast.Identifiers{ - "fw", - "str", - "try_parse_precision", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(22), - }, - End: ast.Location{ - Line: int(430), - Column: int(41), - }, - File: p1, - }, - Ctx: p4203, - FreeVars: ast.Identifiers{ - "try_parse_precision", - }, - }, - Id: "try_parse_precision", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(42), - }, - End: ast.Location{ - Line: int(430), - Column: int(45), - }, - File: p1, - }, - Ctx: p4209, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(47), - }, - End: ast.Location{ - Line: int(430), - Column: int(51), - }, - File: p1, - }, - Ctx: p4209, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(47), - }, - End: ast.Location{ - Line: int(430), - Column: int(49), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(9), - }, - End: ast.Location{ - Line: int(443), - Column: int(10), - }, - File: p1, - }, - Ctx: p4132, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "mkey", - "parse_conv_type", - "prec", - "str", - "try_parse_length_modifier", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "len_mod", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(25), - }, - End: ast.Location{ - Line: int(431), - Column: int(63), - }, - File: p1, - }, - Ctx: p4220, - FreeVars: ast.Identifiers{ - "prec", - "str", - "try_parse_length_modifier", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(25), - }, - End: ast.Location{ - Line: int(431), - Column: int(50), - }, - File: p1, - }, - Ctx: p4220, - FreeVars: ast.Identifiers{ - "try_parse_length_modifier", - }, - }, - Id: "try_parse_length_modifier", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(51), - }, - End: ast.Location{ - Line: int(431), - Column: int(54), - }, - File: p1, - }, - Ctx: p4226, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(56), - }, - End: ast.Location{ - Line: int(431), - Column: int(62), - }, - File: p1, - }, - Ctx: p4226, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(56), - }, - End: ast.Location{ - Line: int(431), - Column: int(60), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(9), - }, - End: ast.Location{ - Line: int(443), - Column: int(10), - }, - File: p1, - }, - Ctx: p4132, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "len_mod", - "mkey", - "parse_conv_type", - "prec", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "ctype", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(23), - }, - End: ast.Location{ - Line: int(432), - Column: int(52), - }, - File: p1, - }, - Ctx: p4237, - FreeVars: ast.Identifiers{ - "len_mod", - "parse_conv_type", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(23), - }, - End: ast.Location{ - Line: int(432), - Column: int(38), - }, - File: p1, - }, - Ctx: p4237, - FreeVars: ast.Identifiers{ - "parse_conv_type", - }, - }, - Id: "parse_conv_type", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(39), - }, - End: ast.Location{ - Line: int(432), - Column: int(42), - }, - File: p1, - }, - Ctx: p4243, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(44), - }, - End: ast.Location{ - Line: int(432), - Column: int(51), - }, - File: p1, - }, - Ctx: p4243, - FreeVars: ast.Identifiers{ - "len_mod", - }, - }, - Id: "len_mod", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(9), - }, - End: ast.Location{ - Line: int(443), - Column: int(10), - }, - File: p1, - }, - Ctx: p4132, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(14), - }, - End: ast.Location{ - Line: int(434), - Column: int(21), - }, - File: p1, - }, - Ctx: p4252, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(14), - }, - End: ast.Location{ - Line: int(434), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Id: "ctype", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "code", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(17), - }, - End: ast.Location{ - Line: int(442), - Column: int(12), - }, - File: p1, - }, - Ctx: p4252, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mkey", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(19), - }, - End: ast.Location{ - Line: int(436), - Column: int(25), - }, - File: p1, - }, - Ctx: p4263, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(19), - }, - End: ast.Location{ - Line: int(436), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "mkey", - }, - }, - Id: "mkey", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "cflags", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(437), - Column: int(21), - }, - End: ast.Location{ - Line: int(437), - Column: int(29), - }, - File: p1, - }, - Ctx: p4263, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - 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(27), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(438), - Column: int(17), - }, - End: ast.Location{ - Line: int(438), - Column: int(21), - }, - File: p1, - }, - Ctx: p4263, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(438), - Column: int(17), - }, - End: ast.Location{ - Line: int(438), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "prec", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(439), - Column: int(19), - }, - End: ast.Location{ - Line: int(439), - Column: int(25), - }, - File: p1, - }, - Ctx: p4263, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(439), - Column: int(19), - }, - End: ast.Location{ - Line: int(439), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(440), - Column: int(20), - }, - End: ast.Location{ - Line: int(440), - Column: int(27), - }, - File: p1, - }, - Ctx: p4263, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(440), - Column: int(20), - }, - End: ast.Location{ - Line: int(440), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Id: "ctype", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "v", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(441), - Column: int(19), - }, - End: ast.Location{ - Line: int(441), - Column: int(29), - }, - File: p1, - }, - Ctx: p4263, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(441), - Column: int(19), - }, - End: ast.Location{ - Line: int(441), - Column: int(24), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - }, - Id: "ctype", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, + End: ast.Location{ + Line: int(385), + Column: int(24), }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p4374, + FreeVars: nil, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(385), + Column: int(17), + }, + End: ast.Location{ + Line: int(385), + Column: int(24), }, + File: p1, }, }, }, + Locals: ast.LocalBinds{}, }, }, - Fun: nil, + }, + ElseFodder: nil, + BranchFalse: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(7), + }, + End: ast.Location{ + Line: int(385), + Column: int(26), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(380), + Column: int(36), + }, + End: ast.Location{ + Line: int(380), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4319, + FreeVars: nil, + }, + Value: "Truncated format code.", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, }, - Body: &ast.Local{ + }, + 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(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(446), - Column: int(5), + Line: int(388), + Column: int(11), }, End: ast.Location{ - Line: int(754), - Column: int(48), + Line: int(394), + Column: int(10), }, File: p1, }, - Ctx: p2910, + Fodder: nil, + Ctx: p4386, FreeVars: ast.Identifiers{ - "parse_code", "std", - "str", - "vals", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "parse_codes", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(11), - }, - End: ast.Location{ - Line: int(455), - Column: int(48), + 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(388), + Column: int(37), + }, + End: ast.Location{ + Line: int(388), + Column: int(40), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(388), + Column: int(42), + }, + End: ast.Location{ + Line: int(388), + Column: int(43), + }, + 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(389), + Column: int(14), + }, + End: ast.Location{ + Line: int(389), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4392, + 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, }, - Ctx: p4302, + Fodder: ast.Fodder{}, + Ctx: p4392, FreeVars: ast.Identifiers{ - "parse_code", - "parse_codes", - "std", + "i", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ + 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: p4392, + FreeVars: ast.Identifiers{ + "std", "str", - "i", - "out", - "cur", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(447), - Column: int(7), + Line: int(389), + Column: int(18), }, End: ast.Location{ - Line: int(455), - Column: int(48), + Line: int(389), + Column: int(28), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4392, FreeVars: ast.Identifiers{ - "cur", - "i", - "out", - "parse_code", - "parse_codes", "std", - "str", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(447), - Column: int(10), + Line: int(389), + Column: int(18), }, End: ast.Location{ - Line: int(447), - Column: int(30), + Line: int(389), + Column: int(21), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", "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: nil, + }, + 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: p4405, + 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: p4392, + 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: p4412, + FreeVars: ast.Identifiers{ + "i", "str", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(447), - Column: int(10), + Line: int(390), + Column: int(17), }, End: ast.Location{ - Line: int(447), - Column: int(11), + Line: int(390), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4412, + 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, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4412, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ + 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: p4392, + 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: p4392, + 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: p4392, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(447), - Column: int(15), + Line: int(391), + Column: int(10), }, End: ast.Location{ - Line: int(447), - Column: int(30), + Line: int(391), + Column: int(18), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4392, FreeVars: ast.Identifiers{ - "std", - "str", + "c", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(447), - Column: int(15), + Line: int(391), + Column: int(10), }, End: ast.Location{ - Line: int(447), - Column: int(25), + Line: int(391), + Column: int(11), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4392, FreeVars: ast.Identifiers{ - "std", + "c", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(15), - }, - End: ast.Location{ - Line: int(447), - Column: int(18), - }, - File: p1, + 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), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(391), + Column: int(18), }, + File: p1, }, - Id: "std", + Fodder: ast.Fodder{}, + Ctx: p4392, + FreeVars: 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, + 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: p4392, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(391), + Column: int(22), }, - Ctx: nil, - FreeVars: nil, + End: ast.Location{ + Line: int(391), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4392, + FreeVars: ast.Identifiers{ + "c", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "c", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(26), - }, - End: ast.Location{ - Line: int(447), - Column: int(29), - }, - File: p1, - }, - Ctx: p4321, - FreeVars: ast.Identifiers{ - "str", - }, + 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), }, - Id: "str", + End: ast.Location{ + Line: int(391), + Column: int(30), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p4392, + FreeVars: nil, }, - Named: nil, + Value: "l", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - TrailingComma: false, - TailStrict: false, }, }, - BranchTrue: &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(18), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(448), - Column: int(9), + Line: int(391), + Column: int(34), }, End: ast.Location{ - Line: int(448), - Column: int(20), + Line: int(391), + Column: int(42), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4392, FreeVars: ast.Identifiers{ - "cur", - "out", + "c", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(448), - Column: int(9), + Line: int(391), + Column: int(34), }, End: ast.Location{ - Line: int(448), - Column: int(12), + Line: int(391), + Column: int(35), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4392, FreeVars: ast.Identifiers{ - "out", + "c", }, }, - Id: "out", + Id: "c", }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(448), - Column: int(15), + Line: int(391), + Column: int(39), }, End: ast.Location{ - Line: int(448), - Column: int(20), + Line: int(391), + Column: int(42), }, File: p1, }, - Ctx: p4306, - FreeVars: ast.Identifiers{ - "cur", - }, + Fodder: ast.Fodder{}, + Ctx: p4392, + FreeVars: nil, }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(16), - }, - End: ast.Location{ - Line: int(448), - Column: int(19), - }, - File: p1, - }, - Ctx: p4331, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, + 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), }, - TrailingComma: false, + End: ast.Location{ + Line: int(392), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4392, + FreeVars: ast.Identifiers{ + "i", }, }, - BranchFalse: &ast.Local{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(450), + Line: int(392), Column: int(9), }, End: ast.Location{ - Line: int(455), - Column: int(48), + Line: int(392), + Column: int(10), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p4392, FreeVars: ast.Identifiers{ - "cur", "i", - "out", - "parse_code", - "parse_codes", - "str", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "c", - Body: &ast.Index{ + 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: p4392, + FreeVars: nil, + }, + 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: p4392, + 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: nil, + }, + 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: p4392, + FreeVars: nil, + }, + 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(396), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3497, + FreeVars: ast.Identifiers{ + "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: p4457, + 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: p4463, + 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: p4463, + 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: p4463, + 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: p4463, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(450), - Column: int(19), + Line: int(397), + Column: int(29), }, End: ast.Location{ - Line: int(450), - Column: int(25), + Line: int(397), + Column: int(32), }, File: p1, }, - Ctx: p4337, + Fodder: ast.Fodder{}, + Ctx: p4476, FreeVars: ast.Identifiers{ - "i", "str", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(450), - Column: int(19), - }, - End: ast.Location{ - Line: int(450), - Column: int(22), - }, - File: p1, - }, - Ctx: p4337, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(450), - Column: int(23), - }, - End: ast.Location{ - Line: int(450), - Column: int(24), - }, - File: p1, - }, - Ctx: p4337, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, + Id: "str", }, - Fun: nil, + CommaFodder: nil, }, }, - Body: &ast.Conditional{ + 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(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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(451), - Column: int(9), + Line: int(398), + Column: int(17), }, End: ast.Location{ - Line: int(455), - Column: int(48), + Line: int(398), + Column: int(23), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4483, FreeVars: ast.Identifiers{ - "c", - "cur", "i", - "out", - "parse_code", - "parse_codes", "str", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(451), - Column: int(12), + Line: int(398), + Column: int(17), }, End: ast.Location{ - Line: int(451), + Line: int(398), Column: int(20), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4483, FreeVars: ast.Identifiers{ - "c", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(12), - }, - End: ast.Location{ - Line: int(451), - Column: int(13), - }, - File: p1, - }, - Ctx: p4306, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(17), - }, - End: ast.Location{ - Line: int(451), - Column: int(20), - }, - File: p1, - }, - Ctx: p4306, - FreeVars: nil, + "str", }, - Value: "%", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "str", }, - BranchTrue: &ast.Local{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(452), - Column: int(11), + Line: int(398), + Column: int(21), }, End: ast.Location{ - Line: int(453), - Column: int(57), + Line: int(398), + Column: int(22), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4483, FreeVars: ast.Identifiers{ - "cur", "i", - "out", - "parse_code", - "parse_codes", - "str", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "r", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(21), - }, - End: ast.Location{ - Line: int(452), - Column: int(43), - }, - File: p1, - }, - Ctx: p4354, - FreeVars: ast.Identifiers{ - "i", - "parse_code", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(21), - }, - End: ast.Location{ - Line: int(452), - Column: int(31), - }, - File: p1, - }, - Ctx: p4354, - FreeVars: ast.Identifiers{ - "parse_code", - }, - }, - Id: "parse_code", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(32), - }, - End: ast.Location{ - Line: int(452), - Column: int(35), - }, - File: p1, - }, - Ctx: p4360, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(37), - }, - End: ast.Location{ - Line: int(452), - Column: int(42), - }, - File: p1, - }, - Ctx: p4360, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(37), - }, - End: ast.Location{ - Line: int(452), - Column: int(38), - }, - File: p1, - }, - Ctx: p4360, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(41), - }, - End: ast.Location{ - Line: int(452), - Column: int(42), - }, - File: p1, - }, - Ctx: p4360, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(398), + Column: int(13), + }, + End: ast.Location{ + Line: int(398), + 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: p4463, + 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: p4463, + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(399), + Column: int(10), }, - Fun: nil, + End: ast.Location{ + Line: int(399), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: ast.Identifiers{ + "c", }, }, - Body: &ast.Apply{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(453), - Column: int(11), + Line: int(399), + Column: int(10), }, End: ast.Location{ - Line: int(453), - Column: int(57), + Line: int(399), + Column: int(11), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "cur", - "out", - "parse_codes", - "r", - "str", + "c", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(11), - }, - End: ast.Location{ - Line: int(453), - Column: int(22), - }, - File: p1, + 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), }, - Ctx: p4306, - FreeVars: ast.Identifiers{ - "parse_codes", + End: ast.Location{ + Line: int(399), + Column: int(18), }, + File: p1, }, - Id: "parse_codes", + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(23), - }, - End: ast.Location{ - Line: int(453), - Column: int(26), - }, - File: p1, - }, - Ctx: p4373, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(399), + Column: int(22), }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(28), - }, - End: ast.Location{ - Line: int(453), - Column: int(31), - }, - File: p1, - }, - Ctx: p4373, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(28), - }, - End: ast.Location{ - Line: int(453), - Column: int(29), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "i", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, + End: ast.Location{ + Line: int(399), + Column: int(23), }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(33), - }, - End: ast.Location{ - Line: int(453), - Column: int(52), - }, - File: p1, - }, - Ctx: p4373, - FreeVars: ast.Identifiers{ - "cur", - "out", - "r", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(33), - }, - End: ast.Location{ - Line: int(453), - Column: int(36), - }, - File: p1, - }, - Ctx: p4373, - FreeVars: ast.Identifiers{ - "out", - }, - }, - Id: "out", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(39), - }, - End: ast.Location{ - Line: int(453), - Column: int(52), - }, - File: p1, - }, - Ctx: p4373, - FreeVars: ast.Identifiers{ - "cur", - "r", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(40), - }, - End: ast.Location{ - Line: int(453), - Column: int(43), - }, - File: p1, - }, - Ctx: p4388, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(45), - }, - End: ast.Location{ - Line: int(453), - Column: int(51), - }, - File: p1, - }, - Ctx: p4388, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(45), - }, - End: ast.Location{ - Line: int(453), - Column: int(46), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "code", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - TrailingComma: false, - }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4463, + 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), }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(54), - }, - End: ast.Location{ - Line: int(453), - Column: int(56), - }, - File: p1, - }, - Ctx: p4373, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(399), + Column: int(30), }, + File: p1, }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: true, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - BranchFalse: &ast.Apply{ + }, + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(455), - Column: int(11), + Line: int(399), + Column: int(34), }, End: ast.Location{ - Line: int(455), - Column: int(48), + Line: int(399), + Column: int(35), }, File: p1, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ "c", - "cur", - "i", - "out", - "parse_codes", - "str", }, }, - Target: &ast.Var{ + 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(39), + }, + End: ast.Location{ + Line: int(399), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, + }, + Value: "u", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(455), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(455), - Column: int(22), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4306, + Fodder: ast.Fodder{}, + Ctx: p4517, FreeVars: ast.Identifiers{ - "parse_codes", + "i", }, }, - Id: "parse_codes", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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(26), - }, - File: p1, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(400), + Column: int(14), }, - Ctx: p4402, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(400), + Column: int(15), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4517, + FreeVars: ast.Identifiers{ + "i", }, - Id: "str", }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(28), - }, - End: ast.Location{ - Line: int(455), - Column: int(33), - }, - File: p1, + 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), }, - Ctx: p4402, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(400), + Column: int(19), }, + File: p1, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(28), - }, - End: ast.Location{ - Line: int(455), - Column: int(29), - }, - File: p1, - }, - Ctx: p4402, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", + Fodder: ast.Fodder{}, + Ctx: p4517, + FreeVars: nil, + }, + 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), }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(32), - }, - End: ast.Location{ - Line: int(455), - Column: int(33), - }, - File: p1, - }, - Ctx: p4402, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(35), - }, - End: ast.Location{ - Line: int(455), - Column: int(38), - }, - File: p1, - }, - Ctx: p4402, - FreeVars: ast.Identifiers{ - "out", - }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Id: "out", + File: p1, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(40), - }, - End: ast.Location{ - Line: int(455), - Column: int(47), - }, - File: p1, - }, - Ctx: p4402, - FreeVars: ast.Identifiers{ - "c", - "cur", - }, + Fodder: ast.Fodder{}, + Ctx: p4517, + FreeVars: nil, + }, + 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), }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(40), - }, - End: ast.Location{ - Line: int(455), - Column: int(43), - }, - File: p1, - }, - Ctx: p4402, - FreeVars: ast.Identifiers{ - "cur", - }, - }, - Id: "cur", + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(46), - }, - End: ast.Location{ - Line: int(455), - Column: int(47), - }, - File: p1, - }, - Ctx: p4402, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: p4517, + FreeVars: nil, }, - Named: nil, + 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, }, - TrailingComma: false, - TailStrict: true, }, }, + Locals: ast.LocalBinds{}, }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "parse_codes", - "std", - "str", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "codes", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(19), - }, - End: ast.Location{ - Line: int(457), - Column: int(46), - }, - File: p1, - }, - Ctx: p4421, - FreeVars: ast.Identifiers{ - "parse_codes", - "str", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Target: &ast.Var{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(457), - Column: int(19), + Line: int(401), + Column: int(12), }, End: ast.Location{ - Line: int(457), - Column: int(30), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4421, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "parse_codes", + "c", + "i", }, }, - Id: "parse_codes", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(31), - }, - End: ast.Location{ - Line: int(457), - Column: int(34), - }, - File: p1, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(401), + Column: int(15), }, - Ctx: p4427, - FreeVars: ast.Identifiers{ - "str", + End: ast.Location{ + Line: int(401), + Column: int(23), }, + File: p1, }, - Id: "str", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(36), - }, - End: ast.Location{ - Line: int(457), - Column: int(37), - }, - File: p1, - }, - Ctx: p4427, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: ast.Identifiers{ + "c", }, - Value: float64(0), - OriginalString: "0", }, - &ast.Array{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(457), - Column: int(39), + Line: int(401), + Column: int(15), }, End: ast.Location{ - Line: int(457), - Column: int(41), + Line: int(401), + Column: int(16), }, File: p1, }, - Ctx: p4427, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: ast.Identifiers{ + "c", + }, }, - Elements: nil, - TrailingComma: false, + Id: "c", }, - &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(457), - Column: int(43), + Line: int(401), + Column: int(20), }, End: ast.Location{ - Line: int(457), - Column: int(45), + Line: int(401), + Column: int(23), }, File: p1, }, - Ctx: p4427, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: nil, }, - Value: "", + Value: "o", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(465), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "codes", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "padding", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(465), - Column: int(11), - }, - End: ast.Location{ - Line: int(471), - Column: int(17), - }, - File: p1, - }, - Ctx: p4436, - FreeVars: nil, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "w", - "s", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(466), - Column: int(7), + Line: int(402), + Column: int(9), }, End: ast.Location{ - Line: int(471), - Column: int(17), + Line: int(402), + Column: int(42), }, File: p1, }, - Ctx: p4439, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p4463, FreeVars: ast.Identifiers{ - "s", - "w", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(466), - Column: int(13), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(470), - Column: int(28), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p4443, - FreeVars: ast.Identifiers{ - "aux", - "s", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "w", - "v", + 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: p4540, + FreeVars: ast.Identifiers{ + "i", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(467), - Column: int(9), + Line: int(402), + Column: int(14), }, End: ast.Location{ - Line: int(470), - Column: int(28), + Line: int(402), + Column: int(15), }, File: p1, }, - Ctx: p4447, + Fodder: ast.Fodder{}, + Ctx: p4540, FreeVars: ast.Identifiers{ - "aux", - "s", - "v", - "w", + "i", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(12), - }, - End: ast.Location{ - Line: int(467), - Column: int(18), - }, - File: p1, + 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), }, - Ctx: p4447, - FreeVars: ast.Identifiers{ - "w", + End: ast.Location{ + Line: int(402), + Column: int(19), }, + File: p1, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(12), - }, - End: ast.Location{ - Line: int(467), - Column: int(13), - }, - File: p1, - }, - Ctx: p4447, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Id: "w", + Fodder: ast.Fodder{}, + Ctx: p4540, + FreeVars: nil, + }, + 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), }, - Op: ast.BinaryOp(10), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(17), - }, - End: ast.Location{ - Line: int(467), - Column: int(18), - }, - File: p1, - }, - Ctx: p4447, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(468), - Column: int(11), - }, - End: ast.Location{ - Line: int(468), - Column: int(12), - }, - File: p1, - }, - Ctx: p4447, - FreeVars: ast.Identifiers{ - "v", - }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Id: "v", + End: ast.Location{ + Line: int(402), + Column: int(27), + }, + File: p1, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(11), - }, - End: ast.Location{ - Line: int(470), - Column: int(28), - }, - File: p1, - }, - Ctx: p4447, - FreeVars: ast.Identifiers{ - "aux", - "s", - "v", - "w", - }, + Fodder: ast.Fodder{}, + Ctx: p4540, + FreeVars: nil, + }, + 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), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(11), - }, - End: ast.Location{ - Line: int(470), - Column: int(14), - }, - File: p1, - }, - Ctx: p4447, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(15), - }, - End: ast.Location{ - Line: int(470), - Column: int(20), - }, - File: p1, - }, - Ctx: p4462, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(15), - }, - End: ast.Location{ - Line: int(470), - Column: int(16), - }, - File: p1, - }, - Ctx: p4462, - FreeVars: ast.Identifiers{ - "w", - }, - }, - Id: "w", - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(19), - }, - End: ast.Location{ - Line: int(470), - Column: int(20), - }, - File: p1, - }, - Ctx: p4462, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(22), - }, - End: ast.Location{ - Line: int(470), - Column: int(27), - }, - File: p1, - }, - Ctx: p4462, - FreeVars: ast.Identifiers{ - "s", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(22), - }, - End: ast.Location{ - Line: int(470), - Column: int(23), - }, - File: p1, - }, - Ctx: p4462, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(26), - }, - End: ast.Location{ - Line: int(470), - Column: int(27), - }, - File: p1, - }, - Ctx: p4462, - FreeVars: ast.Identifiers{ - "s", - }, - }, - Id: "s", - }, - }, - }, - Named: nil, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(402), + Column: int(40), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p4540, + FreeVars: nil, }, + 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, }, - Fun: nil, }, }, - Body: &ast.Apply{ + 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(403), + Column: int(12), + }, + End: ast.Location{ + Line: int(426), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(471), - Column: int(7), + Line: int(403), + Column: int(15), }, End: ast.Location{ - Line: int(471), - Column: int(17), + Line: int(403), + Column: int(23), }, File: p1, }, - Ctx: p4439, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "aux", - "w", + "c", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(471), - Column: int(7), + Line: int(403), + Column: int(15), }, End: ast.Location{ - Line: int(471), - Column: int(10), + Line: int(403), + Column: int(16), }, File: p1, }, - Ctx: p4439, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "aux", + "c", }, }, - Id: "aux", + Id: "c", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(471), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(471), - Column: int(12), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4479, + Fodder: ast.Fodder{}, + Ctx: p4563, FreeVars: ast.Identifiers{ - "w", + "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: p4563, + 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: p4563, + FreeVars: nil, }, + 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), }, - Id: "w", + File: p1, }, - &ast.LiteralString{ + }, + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(471), - Column: int(14), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(471), - Column: int(16), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4479, + Fodder: ast.Fodder{}, + Ctx: p4563, FreeVars: nil, }, - Value: "", + 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, }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "codes", - "padding", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "pad_left", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(11), - }, - End: ast.Location{ - Line: int(475), - Column: int(44), + 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: nil, + }, + 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: p4563, + FreeVars: nil, + }, + 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, + }, }, - File: p1, - }, - Ctx: p4486, - FreeVars: ast.Identifiers{ - "padding", - "std", }, + Locals: ast.LocalBinds{}, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "w", - "s", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Binary{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(7), + Line: int(405), + Column: int(12), }, End: ast.Location{ - Line: int(475), - Column: int(44), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4490, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", + "c", + "i", }, }, - Left: &ast.Apply{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(7), + Line: int(405), + Column: int(15), }, End: ast.Location{ - Line: int(475), - Column: int(38), + Line: int(405), + Column: int(23), }, File: p1, }, - Ctx: p4490, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", + "c", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(7), + Line: int(405), + Column: int(15), }, End: ast.Location{ - Line: int(475), - Column: int(14), + Line: int(405), + Column: int(16), }, File: p1, }, - Ctx: p4490, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "padding", + "c", }, }, - Id: "padding", + Id: "c", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ + 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: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(475), - Column: int(34), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4498, + Fodder: ast.Fodder{}, + Ctx: p4586, FreeVars: ast.Identifiers{ - "std", - "str", - "w", + "i", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(15), + Line: int(406), + Column: int(14), }, End: ast.Location{ - Line: int(475), - Column: int(16), + Line: int(406), + Column: int(15), }, File: p1, }, - Ctx: p4498, + Fodder: ast.Fodder{}, + Ctx: p4586, FreeVars: ast.Identifiers{ - "w", + "i", }, }, - Id: "w", + Id: "i", }, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(19), + Line: int(406), + Column: int(18), }, End: ast.Location{ - Line: int(475), - Column: int(34), + Line: int(406), + Column: int(19), }, File: p1, }, - Ctx: p4498, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + Fodder: ast.Fodder{}, + Ctx: p4586, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(19), - }, - End: ast.Location{ - Line: int(475), - Column: int(29), - }, - File: p1, - }, - Ctx: p4498, - FreeVars: ast.Identifiers{ - "std", - }, + 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), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(19), - }, - End: ast.Location{ - Line: int(475), - Column: int(22), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Id: nil, + End: ast.Location{ + Line: int(406), + Column: int(27), + }, + File: p1, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(475), - Column: int(30), - }, - End: ast.Location{ - Line: int(475), - Column: int(33), - }, - File: p1, - }, - Ctx: p4511, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, + Fodder: ast.Fodder{}, + Ctx: p4586, + FreeVars: nil, + }, + 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), }, - Named: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - TrailingComma: false, - TailStrict: false, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "caps", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - &ast.Var{ + Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(36), + Line: int(406), + Column: int(35), }, End: ast.Location{ - Line: int(475), - Column: int(37), + Line: int(406), + Column: int(39), }, File: p1, }, - Ctx: p4498, - FreeVars: ast.Identifiers{ - "s", - }, + Fodder: ast.Fodder{}, + Ctx: p4586, + FreeVars: nil, + }, + 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), }, - Id: "s", + File: p1, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Locals: ast.LocalBinds{}, }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(475), - Column: int(41), + Line: int(407), + Column: int(12), }, End: ast.Location{ - Line: int(475), - Column: int(44), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4490, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(478), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "padding", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "pad_right", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(478), - Column: int(11), - }, - End: ast.Location{ - Line: int(479), - Column: int(44), - }, - File: p1, - }, - Ctx: p4521, - FreeVars: ast.Identifiers{ - "padding", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "w", - "s", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(7), - }, - End: ast.Location{ - Line: int(479), - Column: int(44), - }, - File: p1, - }, - Ctx: p4525, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", + "c", + "i", }, }, - Left: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(479), - Column: int(7), + Line: int(407), + Column: int(15), }, End: ast.Location{ - Line: int(479), - Column: int(10), + Line: int(407), + Column: int(23), }, File: p1, }, - Ctx: p4525, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "str", + "c", }, }, - Id: "str", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(13), + 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, }, - End: ast.Location{ - Line: int(479), - Column: int(44), + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: ast.Identifiers{ + "c", }, - File: p1, - }, - Ctx: p4525, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", }, + Id: "c", }, - Target: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(479), - Column: int(13), + Line: int(407), + Column: int(20), }, End: ast.Location{ - Line: int(479), - Column: int(20), + Line: int(407), + Column: int(23), }, File: p1, }, - Ctx: p4525, - FreeVars: ast.Identifiers{ - "padding", + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, + }, + 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: p4463, + FreeVars: ast.Identifiers{ + "i", }, - Id: "padding", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{ + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(479), - Column: int(21), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(479), - Column: int(40), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4535, + Fodder: ast.Fodder{}, + Ctx: p4609, FreeVars: ast.Identifiers{ - "std", - "str", - "w", + "i", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(479), - Column: int(21), + Line: int(408), + Column: int(14), }, End: ast.Location{ - Line: int(479), - Column: int(22), + Line: int(408), + Column: int(15), }, File: p1, }, - Ctx: p4535, + Fodder: ast.Fodder{}, + Ctx: p4609, FreeVars: ast.Identifiers{ - "w", + "i", }, }, - Id: "w", + Id: "i", }, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(479), - Column: int(25), + Line: int(408), + Column: int(18), }, End: ast.Location{ - Line: int(479), - Column: int(40), + Line: int(408), + Column: int(19), }, File: p1, }, - Ctx: p4535, - FreeVars: ast.Identifiers{ - "std", - "str", - }, + Fodder: ast.Fodder{}, + Ctx: p4609, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(25), - }, - End: ast.Location{ - Line: int(479), - Column: int(35), - }, - File: p1, - }, - Ctx: p4535, - FreeVars: ast.Identifiers{ - "std", - }, + 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), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(25), - }, - End: ast.Location{ - Line: int(479), - Column: int(28), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Id: nil, + End: ast.Location{ + Line: int(408), + Column: int(27), + }, + File: p1, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(479), - Column: int(36), - }, - End: ast.Location{ - Line: int(479), - Column: int(39), - }, - File: p1, - }, - Ctx: p4548, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, + Fodder: ast.Fodder{}, + Ctx: p4609, + FreeVars: nil, + }, + 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), }, - Named: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - TrailingComma: false, - TailStrict: false, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "caps", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - &ast.Var{ + Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(479), - Column: int(42), + Line: int(408), + Column: int(35), }, End: ast.Location{ - Line: int(479), - Column: int(43), + Line: int(408), + Column: int(40), }, File: p1, }, - Ctx: p4535, - FreeVars: ast.Identifiers{ - "s", - }, + Fodder: ast.Fodder{}, + Ctx: p4609, + FreeVars: nil, }, - Id: "s", + 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, }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(482), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "render_int", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(482), - Column: int(11), - }, - End: ast.Location{ - Line: int(494), - Column: int(84), - }, - File: p1, - }, - Ctx: p4556, - FreeVars: ast.Identifiers{ - "pad_left", - "std", }, + Locals: ast.LocalBinds{}, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n__", - "min_chars", - "min_digits", - "blank", - "sign", - "radix", - "zero_prefix", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Local{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(483), - Column: int(7), + Line: int(409), + Column: int(12), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "min_digits", - "n__", - "pad_left", - "radix", - "sign", - "std", - "zero_prefix", + "c", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "n_", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(18), - }, - End: ast.Location{ - Line: int(483), - Column: int(30), - }, - File: p1, + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(409), + Column: int(15), }, - Ctx: p4564, - FreeVars: ast.Identifiers{ - "n__", - "std", + End: ast.Location{ + Line: int(409), + Column: int(16), }, + File: p1, }, - Target: &ast.Index{ + Fodder: ast.Fodder{}, + Ctx: p4463, + 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: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(483), - Column: int(18), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(483), - Column: int(25), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4564, + Fodder: ast.Fodder{}, + Ctx: p4632, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(483), - Column: int(18), + Line: int(410), + Column: int(14), }, End: ast.Location{ - Line: int(483), - Column: int(21), + Line: int(410), + Column: int(15), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p4632, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Id: "std", + Id: "i", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(410), + Column: int(18), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(410), + Column: int(19), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p4632, FreeVars: nil, }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(26), - }, - End: ast.Location{ - Line: int(483), - Column: int(29), - }, - File: p1, - }, - Ctx: p4573, - FreeVars: ast.Identifiers{ - "n__", - }, + 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), }, - Id: "n__", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Named: nil, + 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: p4632, + FreeVars: nil, + }, + 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: nil, + }, + 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: p4632, + FreeVars: nil, + }, + 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, }, - TrailingComma: false, - TailStrict: false, }, - Fun: nil, }, + Locals: ast.LocalBinds{}, }, - Body: &ast.Local{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(484), - Column: int(7), + Line: int(411), + Column: int(12), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "min_digits", - "n_", - "n__", - "pad_left", - "radix", - "sign", - "std", - "zero_prefix", + "c", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(13), - }, - End: ast.Location{ - Line: int(488), - Column: int(50), - }, - File: p1, + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(411), + Column: int(15), }, - Ctx: p4579, - FreeVars: ast.Identifiers{ - "aux", - "radix", - "std", - "zero_prefix", + End: ast.Location{ + Line: int(411), + Column: int(16), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: ast.Identifiers{ + "c", }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n", + }, + 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), }, - Optional: nil, + File: p1, }, - TrailingComma: false, - Body: &ast.Conditional{ + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(485), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(488), - Column: int(50), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4583, + Fodder: ast.Fodder{}, + Ctx: p4655, FreeVars: ast.Identifiers{ - "aux", - "n", - "radix", - "std", - "zero_prefix", + "i", }, }, - Cond: &ast.Binary{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(485), - Column: int(12), + Line: int(412), + Column: int(14), }, End: ast.Location{ - Line: int(485), - Column: int(18), + Line: int(412), + Column: int(15), }, File: p1, }, - Ctx: p4583, + Fodder: ast.Fodder{}, + Ctx: p4655, FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(485), - Column: int(12), - }, - End: ast.Location{ - Line: int(485), - Column: int(13), - }, - File: p1, - }, - Ctx: p4583, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(485), - Column: int(17), - }, - End: ast.Location{ - Line: int(485), - Column: int(18), - }, - File: p1, - }, - Ctx: p4583, - FreeVars: nil, + "i", }, - Value: float64(0), - OriginalString: "0", }, + Id: "i", }, - BranchTrue: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(486), - Column: int(11), + Line: int(412), + Column: int(18), }, End: ast.Location{ - Line: int(486), - Column: int(22), + Line: int(412), + Column: int(19), }, File: p1, }, - Ctx: p4583, - FreeVars: ast.Identifiers{ - "zero_prefix", - }, + Fodder: ast.Fodder{}, + Ctx: p4655, + FreeVars: nil, }, - Id: "zero_prefix", + OriginalString: "1", }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(11), - }, - End: ast.Location{ - Line: int(488), - Column: int(50), - }, - File: p1, + }, + 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), }, - Ctx: p4583, - FreeVars: ast.Identifiers{ - "aux", - "n", - "radix", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(11), - }, - End: ast.Location{ - Line: int(488), - Column: int(36), - }, - File: p1, - }, - Ctx: p4583, - FreeVars: ast.Identifiers{ - "aux", - "n", - "radix", - "std", - }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(11), - }, - End: ast.Location{ - Line: int(488), - Column: int(14), - }, - File: p1, - }, - Ctx: p4583, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(15), - }, - End: ast.Location{ - Line: int(488), - Column: int(35), - }, - File: p1, - }, - Ctx: p4600, - FreeVars: ast.Identifiers{ - "n", - "radix", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(15), - }, - End: ast.Location{ - Line: int(488), - Column: int(24), - }, - File: p1, - }, - Ctx: p4600, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(15), - }, - End: ast.Location{ - Line: int(488), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(25), - }, - End: ast.Location{ - Line: int(488), - Column: int(34), - }, - File: p1, - }, - Ctx: p4609, - FreeVars: ast.Identifiers{ - "n", - "radix", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(25), - }, - End: ast.Location{ - Line: int(488), - Column: int(26), - }, - File: p1, - }, - Ctx: p4609, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - Op: ast.BinaryOp(1), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(29), - }, - End: ast.Location{ - Line: int(488), - Column: int(34), - }, - File: p1, - }, - Ctx: p4609, - FreeVars: ast.Identifiers{ - "radix", - }, - }, - Id: "radix", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, + End: ast.Location{ + Line: int(412), + Column: int(27), }, - TrailingComma: false, - TailStrict: false, + File: p1, }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "n", - "radix", - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p4655, + FreeVars: nil, + }, + 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), }, - 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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(40), - }, - End: ast.Location{ - Line: int(488), - Column: int(41), - }, - File: p1, - }, - Ctx: p4583, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(44), - }, - End: ast.Location{ - Line: int(488), - Column: int(49), - }, - File: p1, - }, - Ctx: p4583, - FreeVars: ast.Identifiers{ - "radix", - }, - }, - Id: "radix", - }, - }, - Named: nil, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(412), + Column: int(40), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p4655, + FreeVars: nil, }, + 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, }, }, - Fun: nil, }, + Locals: ast.LocalBinds{}, }, - Body: &ast.Local{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(489), - Column: int(7), + Line: int(413), + Column: int(12), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "aux", - "blank", - "min_chars", - "min_digits", - "n_", - "n__", - "pad_left", - "sign", - "std", + "c", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "dec", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(19), - }, - End: ast.Location{ - Line: int(489), - Column: int(73), - }, - File: p1, + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(413), + Column: int(15), }, - Ctx: p4631, - FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", + End: ast.Location{ + Line: int(413), + Column: int(16), }, + File: p1, }, - Cond: &ast.Binary{ + Fodder: ast.Fodder{}, + Ctx: p4463, + 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: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(489), - Column: int(22), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(489), - Column: int(40), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4631, + Fodder: ast.Fodder{}, + Ctx: p4678, FreeVars: ast.Identifiers{ - "n_", - "std", + "i", }, }, - Left: &ast.Apply{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(489), - Column: int(22), + Line: int(414), + Column: int(14), }, End: ast.Location{ - Line: int(489), - Column: int(35), + Line: int(414), + Column: int(15), }, File: p1, }, - Ctx: p4631, + Fodder: ast.Fodder{}, + Ctx: p4678, FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(22), - }, - End: ast.Location{ - Line: int(489), - Column: int(31), - }, - File: p1, - }, - Ctx: p4631, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(22), - }, - End: ast.Location{ - Line: int(489), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(32), - }, - End: ast.Location{ - Line: int(489), - Column: int(34), - }, - File: p1, - }, - Ctx: p4644, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, + "i", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "i", }, - Op: ast.BinaryOp(12), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(489), - Column: int(39), + Line: int(414), + Column: int(18), }, End: ast.Location{ - Line: int(489), - Column: int(40), + Line: int(414), + Column: int(19), }, File: p1, }, - Ctx: p4631, + Fodder: ast.Fodder{}, + Ctx: p4678, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + OriginalString: "1", }, }, - BranchTrue: &ast.LiteralString{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(489), - Column: int(46), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(489), - Column: int(49), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p4631, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "0", + Value: "v", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Apply{ + Body: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(489), - Column: int(55), + Line: int(414), + Column: int(24), }, End: ast.Location{ - Line: int(489), - Column: int(73), + Line: int(414), + Column: int(27), }, File: p1, }, - Ctx: p4631, - FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p4678, + FreeVars: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(55), - }, - End: ast.Location{ - Line: int(489), - Column: int(58), - }, - File: p1, + 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), }, - Ctx: p4631, - FreeVars: ast.Identifiers{ - "aux", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "aux", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(59), - }, - End: ast.Location{ - Line: int(489), - Column: int(72), - }, - File: p1, - }, - Ctx: p4654, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(59), - }, - End: ast.Location{ - Line: int(489), - Column: int(68), - }, - File: p1, - }, - Ctx: p4654, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(59), - }, - End: ast.Location{ - Line: int(489), - Column: int(62), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(489), - Column: int(69), - }, - End: ast.Location{ - Line: int(489), - Column: int(71), - }, - File: p1, - }, - Ctx: p4663, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + 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, }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p4678, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + 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, }, }, - Fun: nil, }, + Locals: ast.LocalBinds{}, }, - Body: &ast.Local{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(490), - Column: int(7), + Line: int(415), + Column: int(12), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "blank", - "dec", - "min_chars", - "min_digits", - "n__", - "pad_left", - "sign", - "std", + "c", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "neg", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(490), - Column: int(19), - }, - End: ast.Location{ - Line: int(490), - Column: int(26), - }, - File: p1, + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(415), + Column: int(15), }, - Ctx: p4669, - FreeVars: ast.Identifiers{ - "n__", + End: ast.Location{ + Line: int(415), + Column: int(16), }, + File: p1, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(490), - Column: int(19), - }, - End: ast.Location{ - Line: int(490), - Column: int(22), - }, - File: p1, - }, - Ctx: p4669, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: ast.Identifiers{ + "c", }, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(490), - Column: int(25), - }, - End: ast.Location{ - Line: int(490), - Column: int(26), - }, - File: p1, - }, - Ctx: p4669, - FreeVars: nil, + }, + 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), }, - Value: float64(0), - OriginalString: "0", + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, }, - Fun: nil, + Value: "g", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - Body: &ast.Local{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(491), - Column: int(7), + Line: int(416), + Column: int(9), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(416), + Column: int(42), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p4463, FreeVars: ast.Identifiers{ - "blank", - "dec", - "min_chars", - "min_digits", - "neg", - "pad_left", - "sign", - "std", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zp", + 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: nil, + }, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(491), - Column: int(18), + Line: int(416), + Column: int(14), }, End: ast.Location{ - Line: int(491), - Column: int(69), + Line: int(416), + Column: int(19), }, File: p1, }, - Ctx: p4678, + Fodder: ast.Fodder{}, + Ctx: p4701, FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "neg", - "sign", + "i", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(491), - Column: int(18), + Line: int(416), + Column: int(14), }, End: ast.Location{ - Line: int(491), - Column: int(27), + Line: int(416), + Column: int(15), }, File: p1, }, - Ctx: p4678, + Fodder: ast.Fodder{}, + Ctx: p4701, FreeVars: ast.Identifiers{ - "min_chars", + "i", }, }, - Id: "min_chars", + Id: "i", }, - Op: ast.BinaryOp(4), - Right: &ast.Conditional{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(491), - Column: int(31), + Line: int(416), + Column: int(18), }, End: ast.Location{ - Line: int(491), - Column: int(68), + Line: int(416), + Column: int(19), }, File: p1, }, - Ctx: p4678, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "sign", + Fodder: ast.Fodder{}, + Ctx: p4701, + FreeVars: nil, + }, + 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, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(34), - }, - End: ast.Location{ - Line: int(491), - Column: int(54), - }, - File: p1, - }, - Ctx: p4678, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "sign", - }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(34), - }, - End: ast.Location{ - Line: int(491), - Column: int(46), - }, - File: p1, - }, - Ctx: p4678, - FreeVars: ast.Identifiers{ - "blank", - "neg", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(34), - }, - End: ast.Location{ - Line: int(491), - Column: int(37), - }, - File: p1, - }, - Ctx: p4678, - FreeVars: ast.Identifiers{ - "neg", - }, - }, - Id: "neg", - }, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(41), - }, - End: ast.Location{ - Line: int(491), - Column: int(46), - }, - File: p1, - }, - Ctx: p4678, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - }, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(50), - }, - End: ast.Location{ - Line: int(491), - Column: int(54), - }, - File: p1, - }, - Ctx: p4678, - FreeVars: ast.Identifiers{ - "sign", - }, - }, - Id: "sign", + End: ast.Location{ + Line: int(416), + Column: int(27), }, + File: p1, }, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(60), - }, - End: ast.Location{ - Line: int(491), - Column: int(61), - }, - File: p1, - }, - Ctx: p4678, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p4701, + FreeVars: nil, + }, + 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), }, - Value: float64(1), - OriginalString: "1", + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(67), - }, - End: ast.Location{ - Line: int(491), - Column: int(68), - }, - File: p1, - }, - Ctx: p4678, - FreeVars: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Value: float64(0), - OriginalString: "0", + End: ast.Location{ + Line: int(416), + Column: int(40), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p4701, + FreeVars: nil, }, + 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, }, - Fun: nil, }, }, - Body: &ast.Local{ + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(492), - Column: int(7), + Line: int(417), + Column: int(15), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(417), + Column: int(23), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "blank", - "dec", - "min_digits", - "neg", - "pad_left", - "sign", - "std", - "zp", + "c", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zp2", - Body: &ast.Apply{ + 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: p4463, + 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: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(492), - Column: int(19), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(492), - Column: int(42), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4700, + Fodder: ast.Fodder{}, + Ctx: p4724, FreeVars: ast.Identifiers{ - "min_digits", - "std", - "zp", + "i", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(492), - Column: int(19), + Line: int(418), + Column: int(14), }, End: ast.Location{ - Line: int(492), - Column: int(26), + Line: int(418), + Column: int(15), }, File: p1, }, - Ctx: p4700, + Fodder: ast.Fodder{}, + Ctx: p4724, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(19), - }, - End: ast.Location{ - Line: int(492), - Column: int(22), - }, - File: p1, + 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), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(418), + Column: int(19), }, + File: p1, }, - Id: "std", + Fodder: ast.Fodder{}, + Ctx: p4724, + FreeVars: 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, - }, - Ctx: nil, - FreeVars: nil, + 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), }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - Id: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(27), - }, - End: ast.Location{ - Line: int(492), - Column: int(29), - }, - File: p1, - }, - Ctx: p4709, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", + 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), }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(31), - }, - End: ast.Location{ - Line: int(492), - Column: int(41), - }, - File: p1, - }, - Ctx: p4709, - FreeVars: ast.Identifiers{ - "min_digits", - }, - }, - Id: "min_digits", + End: ast.Location{ + Line: int(418), + Column: int(27), }, + File: p1, }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p4724, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + 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: nil, + }, + 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: p4724, + FreeVars: nil, + }, + 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, }, - Fun: nil, }, }, - Body: &ast.Local{ + 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: p4463, + FreeVars: ast.Identifiers{ + "c", + "i", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(493), - Column: int(7), + Line: int(419), + Column: int(15), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(419), + Column: int(23), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "blank", - "dec", - "neg", - "pad_left", - "sign", - "zp2", + "c", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "dec2", - Body: &ast.Apply{ + 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: p4463, + 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: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(493), - Column: int(20), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(493), - Column: int(43), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Ctx: p4717, + Fodder: ast.Fodder{}, + Ctx: p4747, FreeVars: ast.Identifiers{ - "dec", - "pad_left", - "zp2", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(493), - Column: int(20), + Line: int(420), + Column: int(14), }, End: ast.Location{ - Line: int(493), - Column: int(28), + Line: int(420), + Column: int(15), }, File: p1, }, - Ctx: p4717, + Fodder: ast.Fodder{}, + Ctx: p4747, FreeVars: ast.Identifiers{ - "pad_left", + "i", }, }, - Id: "pad_left", + Id: "i", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(493), - Column: int(29), - }, - End: ast.Location{ - Line: int(493), - Column: int(32), - }, - File: p1, - }, - Ctx: p4723, - FreeVars: ast.Identifiers{ - "dec", - }, - }, - Id: "dec", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(493), - Column: int(34), - }, - End: ast.Location{ - Line: int(493), - Column: int(37), - }, - File: p1, - }, - Ctx: p4723, - FreeVars: ast.Identifiers{ - "zp2", - }, + 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), }, - Id: "zp2", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(493), - Column: int(39), - }, - End: ast.Location{ - Line: int(493), - Column: int(42), - }, - File: p1, - }, - Ctx: p4723, - FreeVars: nil, + End: ast.Location{ + Line: int(420), + Column: int(19), }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p4747, + FreeVars: nil, }, - Named: nil, + OriginalString: "1", }, - TrailingComma: false, - TailStrict: false, }, - Fun: nil, - }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(7), + Line: int(420), + Column: int(11), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(420), + Column: int(19), }, File: p1, }, - Ctx: p4560, - FreeVars: ast.Identifiers{ - "blank", - "dec2", - "neg", - "sign", - }, }, - Left: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(494), - Column: int(8), - }, - End: ast.Location{ - Line: int(494), - Column: int(76), + 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, }, - File: p1, - }, - Ctx: p4560, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "sign", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Cond: &ast.Var{ + Body: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(11), + Line: int(420), + Column: int(24), }, End: ast.Location{ - Line: int(494), - Column: int(14), + Line: int(420), + Column: int(27), }, File: p1, }, - Ctx: p4560, - FreeVars: ast.Identifiers{ - "neg", - }, + Fodder: ast.Fodder{}, + Ctx: p4747, + FreeVars: nil, + }, + 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), }, - Id: "neg", + File: p1, }, - BranchTrue: &ast.LiteralString{ + }, + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(20), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(494), - Column: int(23), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p4560, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "-", + Value: "caps", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Conditional{ + Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(29), + Line: int(420), + Column: int(35), }, End: ast.Location{ - Line: int(494), - Column: int(76), + Line: int(420), + Column: int(40), }, File: p1, }, - Ctx: p4560, - FreeVars: ast.Identifiers{ - "blank", - "sign", + Fodder: ast.Fodder{}, + Ctx: p4747, + FreeVars: nil, + }, + 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: p4463, + 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: p4463, + 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, }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(494), - Column: int(32), - }, - End: ast.Location{ - Line: int(494), - Column: int(36), - }, - File: p1, - }, - Ctx: p4560, - FreeVars: ast.Identifiers{ - "sign", - }, + Fodder: ast.Fodder{}, + Ctx: p4463, + 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), }, - Id: "sign", + File: p1, }, - BranchTrue: &ast.LiteralString{ + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, + }, + 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: p4463, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(42), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(494), - Column: int(45), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p4560, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "+", + Value: "i", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Conditional{ + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(51), + Line: int(422), + Column: int(14), }, End: ast.Location{ - Line: int(494), - Column: int(76), + Line: int(422), + Column: int(19), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4770, FreeVars: ast.Identifiers{ - "blank", + "i", }, }, - Cond: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(54), + Line: int(422), + Column: int(14), }, End: ast.Location{ - Line: int(494), - Column: int(59), + Line: int(422), + Column: int(15), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4770, FreeVars: ast.Identifiers{ - "blank", + "i", }, }, - Id: "blank", + Id: "i", }, - BranchTrue: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(65), + Line: int(422), + Column: int(18), }, End: ast.Location{ - Line: int(494), - Column: int(68), + Line: int(422), + Column: int(19), }, File: p1, }, - Ctx: p4560, + Fodder: ast.Fodder{}, + Ctx: p4770, FreeVars: nil, }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(494), - Column: int(74), - }, - End: ast.Location{ - Line: int(494), - Column: int(76), - }, - File: p1, + }, + 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), }, - Ctx: p4560, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ + 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: p4770, + FreeVars: nil, + }, + Value: "s", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(494), - Column: int(80), + Line: int(422), + Column: int(21), }, End: ast.Location{ - Line: int(494), - Column: int(84), + Line: int(422), + Column: int(27), }, File: p1, }, - Ctx: p4560, - FreeVars: ast.Identifiers{ - "dec2", - }, }, - Id: "dec2", - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(497), - Column: int(5), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_int", - "std", - "vals", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "render_hex", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(497), - Column: int(11), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Ctx: p4752, - FreeVars: ast.Identifiers{ - "pad_left", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n__", - "min_chars", - "min_digits", - "blank", - "sign", - "add_zerox", - "capitals", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n__", - "pad_left", - "sign", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "numerals", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(24), - }, - End: ast.Location{ - Line: int(500), - Column: int(59), - }, - File: p1, - }, - Ctx: p4760, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(24), - }, - End: ast.Location{ - Line: int(498), - Column: int(54), - }, - File: p1, - }, - Ctx: p4760, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(25), - }, - End: ast.Location{ - Line: int(498), - Column: int(26), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(28), - }, - End: ast.Location{ - Line: int(498), - Column: int(29), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(31), - }, - End: ast.Location{ - Line: int(498), - Column: int(32), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(34), - }, - End: ast.Location{ - Line: int(498), - Column: int(35), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(37), - }, - End: ast.Location{ - Line: int(498), - Column: int(38), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(40), - }, - End: ast.Location{ - Line: int(498), - Column: int(41), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(5), - OriginalString: "5", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(43), - }, - End: ast.Location{ - Line: int(498), - Column: int(44), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(6), - OriginalString: "6", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(46), - }, - End: ast.Location{ - Line: int(498), - Column: int(47), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(7), - OriginalString: "7", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(49), - }, - End: ast.Location{ - Line: int(498), - Column: int(50), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(8), - OriginalString: "8", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(498), - Column: int(52), - }, - End: ast.Location{ - Line: int(498), - Column: int(53), - }, - File: p1, - }, - Ctx: p4765, - FreeVars: nil, - }, - Value: float64(9), - OriginalString: "9", - }, - }, - TrailingComma: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(26), - }, - End: ast.Location{ - Line: int(500), - Column: int(59), - }, - File: p1, - }, - Ctx: p4760, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(29), - }, - End: ast.Location{ - Line: int(499), - Column: int(37), - }, - File: p1, - }, - Ctx: p4760, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Id: "capitals", - }, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(43), - }, - End: ast.Location{ - Line: int(499), - Column: int(73), - }, - File: p1, - }, - Ctx: p4760, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(44), - }, - End: ast.Location{ - Line: int(499), - Column: int(47), - }, - File: p1, - }, - Ctx: p4782, - FreeVars: nil, - }, - Value: "A", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(49), - }, - End: ast.Location{ - Line: int(499), - Column: int(52), - }, - File: p1, - }, - Ctx: p4782, - FreeVars: nil, - }, - Value: "B", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(54), - }, - End: ast.Location{ - Line: int(499), - Column: int(57), - }, - File: p1, - }, - Ctx: p4782, - FreeVars: nil, - }, - Value: "C", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(59), - }, - End: ast.Location{ - Line: int(499), - Column: int(62), - }, - File: p1, - }, - Ctx: p4782, - FreeVars: nil, - }, - Value: "D", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(64), - }, - End: ast.Location{ - Line: int(499), - Column: int(67), - }, - File: p1, - }, - Ctx: p4782, - FreeVars: nil, - }, - Value: "E", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(499), - Column: int(69), - }, - End: ast.Location{ - Line: int(499), - Column: int(72), + 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: nil, }, - File: p1, + Value: "caps", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Ctx: p4782, - FreeVars: nil, - }, - Value: "F", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(500), - Column: int(29), - }, - End: ast.Location{ - Line: int(500), - Column: int(59), - }, - File: p1, - }, - Ctx: p4760, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(500), - Column: int(30), - }, - End: ast.Location{ - Line: int(500), - Column: int(33), + 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: p4770, + FreeVars: nil, }, - File: p1, + Value: false, }, - Ctx: p4791, - FreeVars: nil, - }, - Value: "a", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(500), - Column: int(35), + Line: int(422), + Column: int(29), }, End: ast.Location{ - Line: int(500), - Column: int(38), - }, - File: p1, - }, - Ctx: p4791, - FreeVars: nil, - }, - Value: "b", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(500), + Line: int(422), Column: int(40), }, - End: ast.Location{ - Line: int(500), - Column: int(43), - }, - File: p1, - }, - Ctx: p4791, - FreeVars: nil, - }, - Value: "c", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(500), - Column: int(45), - }, - End: ast.Location{ - Line: int(500), - Column: int(48), - }, - File: p1, - }, - Ctx: p4791, - FreeVars: nil, - }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(500), - Column: int(50), - }, - End: ast.Location{ - Line: int(500), - Column: int(53), - }, - File: p1, - }, - Ctx: p4791, - FreeVars: nil, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(500), - Column: int(55), - }, - End: ast.Location{ - Line: int(500), - Column: int(58), - }, File: p1, }, - Ctx: p4791, - FreeVars: nil, - }, - Value: "f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - TrailingComma: false, - }, - }, - }, - Fun: nil, - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n__", - "numerals", - "pad_left", - "sign", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "n_", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(501), - Column: int(18), - }, - End: ast.Location{ - Line: int(501), - Column: int(30), - }, - File: p1, - }, - Ctx: p4801, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(501), - Column: int(18), }, - End: ast.Location{ - Line: int(501), - Column: int(25), - }, - File: p1, - }, - Ctx: p4801, - FreeVars: ast.Identifiers{ - "std", }, + Locals: ast.LocalBinds{}, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(501), - Column: int(18), - }, - End: ast.Location{ - Line: int(501), - Column: int(21), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Id: "std", }, - Index: &ast.LiteralString{ + BranchFalse: &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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(501), - Column: int(26), - }, - End: ast.Location{ - Line: int(501), - Column: int(29), - }, - File: p1, - }, - Ctx: p4810, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(502), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n_", - "n__", - "numerals", - "pad_left", - "sign", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(502), - Column: int(13), - }, - End: ast.Location{ - Line: int(506), - Column: int(52), - }, - File: p1, - }, - Ctx: p4816, - FreeVars: ast.Identifiers{ - "aux", - "numerals", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(503), - Column: int(9), + Line: int(423), + Column: int(12), }, End: ast.Location{ - Line: int(506), - Column: int(52), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4820, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "aux", - "n", - "numerals", - "std", + "c", + "i", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(503), - Column: int(12), + Line: int(423), + Column: int(15), }, End: ast.Location{ - Line: int(503), - Column: int(18), + Line: int(423), + Column: int(23), }, File: p1, }, - Ctx: p4820, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "n", + "c", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(503), - Column: int(12), + Line: int(423), + Column: int(15), }, End: ast.Location{ - Line: int(503), - Column: int(13), + Line: int(423), + Column: int(16), }, File: p1, }, - Ctx: p4820, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "n", + "c", }, }, - Id: "n", + Id: "c", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(503), - Column: int(17), + Line: int(423), + Column: int(20), }, End: ast.Location{ - Line: int(503), - Column: int(18), + Line: int(423), + Column: int(23), }, File: p1, }, - Ctx: p4820, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + Value: "%", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - BranchTrue: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(504), - Column: int(11), + Line: int(424), + Column: int(9), }, End: ast.Location{ - Line: int(504), - Column: int(13), + Line: int(424), + Column: int(42), }, File: p1, }, - Ctx: p4820, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(11), - }, - End: ast.Location{ - Line: int(506), - Column: int(52), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, - File: p1, }, - Ctx: p4820, + Ctx: p4463, FreeVars: ast.Identifiers{ - "aux", - "n", - "numerals", - "std", + "i", }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(11), - }, - End: ast.Location{ - Line: int(506), - Column: int(33), + 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: nil, }, - File: p1, - }, - Ctx: p4820, - FreeVars: ast.Identifiers{ - "aux", - "n", - "std", + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(11), + 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, }, - End: ast.Location{ - Line: int(506), - Column: int(14), + Fodder: ast.Fodder{}, + Ctx: p4793, + FreeVars: ast.Identifiers{ + "i", }, - File: p1, - }, - Ctx: p4820, - FreeVars: ast.Identifiers{ - "aux", }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(506), - Column: int(15), + Line: int(424), + Column: int(14), }, End: ast.Location{ - Line: int(506), - Column: int(32), + Line: int(424), + Column: int(15), }, File: p1, }, - Ctx: p4836, + Fodder: ast.Fodder{}, + Ctx: p4793, FreeVars: ast.Identifiers{ - "n", - "std", + "i", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(15), - }, - End: ast.Location{ - Line: int(506), - Column: int(24), - }, - File: p1, - }, - Ctx: p4836, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(15), - }, - End: ast.Location{ - Line: int(506), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + 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), }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(25), - }, - End: ast.Location{ - Line: int(506), - Column: int(31), - }, - File: p1, - }, - Ctx: p4845, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(25), - }, - End: ast.Location{ - Line: int(506), - Column: int(26), - }, - File: p1, - }, - Ctx: p4845, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - Op: ast.BinaryOp(1), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(29), - }, - End: ast.Location{ - Line: int(506), - Column: int(31), - }, - File: p1, - }, - Ctx: p4845, - FreeVars: nil, - }, - Value: float64(16), - OriginalString: "16", - }, + End: ast.Location{ + Line: int(424), + Column: int(19), }, + File: p1, }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p4793, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + OriginalString: "1", }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(506), - Column: int(36), + Line: int(424), + Column: int(11), }, End: ast.Location{ - Line: int(506), - Column: int(52), + Line: int(424), + Column: int(19), }, File: p1, }, - Ctx: p4820, - FreeVars: ast.Identifiers{ - "n", - "numerals", - "std", - }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(36), - }, - End: ast.Location{ - Line: int(506), - Column: int(44), + 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, }, - File: p1, - }, - Ctx: p4820, - FreeVars: ast.Identifiers{ - "numerals", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "numerals", - }, - Index: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - File: nil, + Fodder: ast.Fodder{}, + Ctx: p4793, + FreeVars: nil, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "n", - "std", + 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, }, - Target: &ast.Index{ + }, + ast.DesugaredObjectField{ + Hide: ast.ObjectFieldHide(1), + Name: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -56857,1694 +64089,153 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + FreeVars: nil, }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(45), - }, - End: ast.Location{ - Line: int(506), - Column: int(46), - }, - File: p1, - }, - Ctx: p4820, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(506), - Column: int(49), - }, - End: ast.Location{ - Line: int(506), - Column: int(51), - }, - File: p1, - }, - Ctx: p4820, - FreeVars: nil, - }, - Value: float64(16), - OriginalString: "16", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Id: nil, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "aux", - "blank", - "capitals", - "min_chars", - "min_digits", - "n_", - "n__", - "pad_left", - "sign", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "hex", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(19), - }, - End: ast.Location{ - Line: int(507), - Column: int(73), - }, - File: p1, - }, - Ctx: p4869, - FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(22), - }, - End: ast.Location{ - Line: int(507), - Column: int(40), - }, - File: p1, - }, - Ctx: p4869, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(22), - }, - End: ast.Location{ - Line: int(507), - Column: int(35), - }, - File: p1, - }, - Ctx: p4869, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(22), - }, - End: ast.Location{ - Line: int(507), - Column: int(31), - }, - File: p1, - }, - Ctx: p4869, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(22), - }, - End: ast.Location{ - Line: int(507), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", + Value: "caps", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Index: &ast.LiteralString{ + Body: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(424), + Column: int(35), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(424), + Column: int(40), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p4793, FreeVars: nil, }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(32), - }, - End: ast.Location{ - Line: int(507), - Column: int(34), - }, - File: p1, - }, - Ctx: p4882, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, + Value: false, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(507), - Column: int(39), + Line: int(424), + Column: int(29), }, End: ast.Location{ - Line: int(507), + Line: int(424), Column: int(40), }, File: p1, }, - Ctx: p4869, - FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", }, + Locals: ast.LocalBinds{}, }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(46), - }, - End: ast.Location{ - Line: int(507), - Column: int(49), - }, - File: p1, - }, - Ctx: p4869, - FreeVars: nil, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - BranchFalse: &ast.Apply{ + BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(507), - Column: int(55), + Line: int(426), + Column: int(9), }, End: ast.Location{ - Line: int(507), - Column: int(73), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4869, - FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(55), - }, - End: ast.Location{ - Line: int(507), - Column: int(58), - }, - File: p1, - }, - Ctx: p4869, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(59), - }, - End: ast.Location{ - Line: int(507), - Column: int(72), - }, - File: p1, - }, - Ctx: p4892, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(59), - }, - End: ast.Location{ - Line: int(507), - Column: int(68), - }, - File: p1, - }, - Ctx: p4892, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(59), - }, - End: ast.Location{ - Line: int(507), - Column: int(62), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(507), - Column: int(69), - }, - End: ast.Location{ - Line: int(507), - Column: int(71), - }, - File: p1, - }, - Ctx: p4901, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(508), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), - }, - File: p1, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_chars", - "min_digits", - "n__", - "pad_left", - "sign", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "neg", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(508), - Column: int(19), - }, - End: ast.Location{ - Line: int(508), - Column: int(26), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, - File: p1, }, - Ctx: p4907, + Ctx: p4463, FreeVars: ast.Identifiers{ - "n__", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(508), - Column: int(19), - }, - End: ast.Location{ - Line: int(508), - Column: int(22), - }, - File: p1, - }, - Ctx: p4907, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(508), - Column: int(25), - }, - End: ast.Location{ - Line: int(508), - Column: int(26), - }, - File: p1, - }, - Ctx: p4907, - FreeVars: nil, + "c", }, - Value: float64(0), - OriginalString: "0", - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(7), - }, - End: ast.Location{ - Line: int(514), - Column: int(84), }, - File: p1, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_chars", - "min_digits", - "neg", - "pad_left", - "sign", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zp", - Body: &ast.Binary{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(509), - Column: int(18), + Line: int(426), + Column: int(15), }, End: ast.Location{ - Line: int(510), - Column: int(48), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4916, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "min_chars", - "neg", - "sign", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(18), - }, - End: ast.Location{ - Line: int(509), - Column: int(69), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "neg", - "sign", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(18), - }, - End: ast.Location{ - Line: int(509), - Column: int(27), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "min_chars", - }, - }, - Id: "min_chars", - }, - Op: ast.BinaryOp(4), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(31), - }, - End: ast.Location{ - Line: int(509), - Column: int(68), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "sign", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(34), - }, - End: ast.Location{ - Line: int(509), - Column: int(54), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "sign", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(34), - }, - End: ast.Location{ - Line: int(509), - Column: int(46), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "blank", - "neg", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(34), - }, - End: ast.Location{ - Line: int(509), - Column: int(37), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "neg", - }, - }, - Id: "neg", - }, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(41), - }, - End: ast.Location{ - Line: int(509), - Column: int(46), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - }, - Op: ast.BinaryOp(18), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(50), - }, - End: ast.Location{ - Line: int(509), - Column: int(54), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "sign", - }, - }, - Id: "sign", - }, - }, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(60), - }, - End: ast.Location{ - Line: int(509), - Column: int(61), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(509), - Column: int(67), - }, - End: ast.Location{ - Line: int(509), - Column: int(68), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, + "c", }, }, - Op: ast.BinaryOp(4), - Right: &ast.Conditional{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(510), - Column: int(21), + Line: int(426), + Column: int(15), }, End: ast.Location{ - Line: int(510), + Line: int(426), Column: int(47), }, File: p1, }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(510), - Column: int(24), - }, - End: ast.Location{ - Line: int(510), - Column: int(33), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - }, - Id: "add_zerox", - }, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(510), - Column: int(39), - }, - End: ast.Location{ - Line: int(510), - Column: int(40), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(510), - Column: int(46), - }, - End: ast.Location{ - Line: int(510), - Column: int(47), - }, - File: p1, - }, - Ctx: p4916, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, }, + Value: "Unrecognised conversion type: ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - }, - Fun: nil, - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_digits", - "neg", - "pad_left", - "sign", - "std", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zp2", - Body: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(511), - Column: int(19), + Line: int(426), + Column: int(50), }, End: ast.Location{ - Line: int(511), - Column: int(42), + Line: int(426), + Column: int(51), }, File: p1, }, - Ctx: p4946, + Fodder: ast.Fodder{}, + Ctx: p4463, FreeVars: ast.Identifiers{ - "min_digits", - "std", - "zp", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(19), - }, - End: ast.Location{ - Line: int(511), - Column: int(26), - }, - File: p1, - }, - Ctx: p4946, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(19), - }, - End: ast.Location{ - Line: int(511), - Column: int(22), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(27), - }, - End: ast.Location{ - Line: int(511), - Column: int(29), - }, - File: p1, - }, - Ctx: p4955, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(31), - }, - End: ast.Location{ - Line: int(511), - Column: int(41), - }, - File: p1, - }, - Ctx: p4955, - FreeVars: ast.Identifiers{ - "min_digits", - }, - }, - Id: "min_digits", - }, + "c", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "neg", - "pad_left", - "sign", - "zp2", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "hex2", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(20), - }, - End: ast.Location{ - Line: int(513), - Column: int(45), - }, - File: p1, - }, - Ctx: p4963, - 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(512), - Column: int(21), - }, - End: ast.Location{ - Line: int(512), - Column: int(80), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: ast.Identifiers{ - "add_zerox", - "capitals", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(24), - }, - End: ast.Location{ - Line: int(512), - Column: int(33), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - }, - Id: "add_zerox", - }, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(40), - }, - End: ast.Location{ - Line: int(512), - Column: int(71), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(43), - }, - End: ast.Location{ - Line: int(512), - Column: int(51), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: ast.Identifiers{ - "capitals", - }, - }, - Id: "capitals", - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(57), - }, - End: ast.Location{ - Line: int(512), - Column: int(61), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: nil, - }, - Value: "0X", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(67), - }, - End: ast.Location{ - Line: int(512), - Column: int(71), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: nil, - }, - Value: "0x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(512), - Column: int(78), - }, - End: ast.Location{ - Line: int(512), - Column: int(80), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(22), - }, - End: ast.Location{ - Line: int(513), - Column: int(45), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: ast.Identifiers{ - "hex", - "pad_left", - "zp2", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(22), - }, - End: ast.Location{ - Line: int(513), - Column: int(30), - }, - File: p1, - }, - Ctx: p4963, - FreeVars: ast.Identifiers{ - "pad_left", - }, - }, - Id: "pad_left", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(31), - }, - End: ast.Location{ - Line: int(513), - Column: int(34), - }, - File: p1, - }, - Ctx: p4982, - FreeVars: ast.Identifiers{ - "hex", - }, - }, - Id: "hex", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(36), - }, - End: ast.Location{ - Line: int(513), - Column: int(39), - }, - File: p1, - }, - Ctx: p4982, - FreeVars: ast.Identifiers{ - "zp2", - }, - }, - Id: "zp2", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(41), - }, - End: ast.Location{ - Line: int(513), - Column: int(44), - }, - File: p1, - }, - Ctx: p4982, - FreeVars: nil, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Fun: nil, - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "blank", - "hex2", - "neg", - "sign", - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "sign", - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "neg", - }, - }, - Id: "neg", - }, - 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, - }, - Ctx: p4756, - FreeVars: nil, - }, - Value: "-", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "blank", - "sign", - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "sign", - }, - }, - Id: "sign", - }, - 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, - }, - Ctx: p4756, - FreeVars: nil, - }, - Value: "+", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p4756, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - 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, - }, - Ctx: p4756, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p4756, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - }, - 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, - }, - Ctx: p4756, - FreeVars: ast.Identifiers{ - "hex2", - }, - }, - Id: "hex2", + Id: "c", }, }, }, @@ -58556,6702 +64247,6654 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, - Fun: nil, }, }, - Body: &ast.Local{ + }, + }, + }, + }, + ElseFodder: nil, + BranchFalse: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(397), + Column: int(7), + }, + End: ast.Location{ + Line: int(426), + Column: int(51), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(397), + Column: int(36), + }, + End: ast.Location{ + Line: int(397), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p4463, + FreeVars: nil, + }, + 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(430), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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: p4819, + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "i", + "parse_conv_type", + "std", + "str", + "try_parse_cflags", + "try_parse_field_width", + "try_parse_length_modifier", + "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, + }, + Fodder: ast.Fodder{}, + Ctx: p4825, + FreeVars: ast.Identifiers{ + "i", + "std", + "str", + }, + }, + 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: p4825, + 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: p4825, + 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: p4825, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(516), - Column: int(5), + Line: int(431), + Column: int(18), }, End: ast.Location{ - Line: int(754), - Column: int(48), + Line: int(431), + Column: int(21), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_hex", - "render_int", "std", - "vals", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "strip_trailing_zero", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(516), - Column: int(11), - }, - End: ast.Location{ - Line: int(525), - Column: int(36), - }, - File: p1, + 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: nil, + }, + 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), }, - Ctx: p5011, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(431), + Column: int(32), }, + File: p1, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - }, - Optional: nil, + Fodder: ast.Fodder{}, + Ctx: p4838, + FreeVars: ast.Identifiers{ + "str", }, - TrailingComma: false, - Body: &ast.Local{ + }, + 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: p4825, + 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: p4845, + 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: p4845, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(517), - Column: int(7), + Line: int(432), + Column: int(42), }, End: ast.Location{ - Line: int(525), - Column: int(36), + Line: int(432), + Column: int(45), }, File: p1, }, - Ctx: p5015, + Fodder: ast.Fodder{}, + Ctx: p4851, FreeVars: ast.Identifiers{ - "std", "str", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + 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: p4851, + 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: p4825, + 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: p4860, + 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: p4860, + 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: p4866, + 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: p4866, + 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: nil, + }, + 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: p4825, + 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: p4878, + 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: p4878, + 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: p4884, + 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: p4884, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(517), - Column: int(13), + Line: int(434), + Column: int(45), }, End: ast.Location{ - Line: int(524), - Column: int(38), + Line: int(434), + Column: int(51), }, File: p1, }, - Ctx: p5019, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "std", + "cflags", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(9), - }, - End: ast.Location{ - Line: int(524), - Column: int(38), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "aux", - "i", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(12), - }, - End: ast.Location{ - Line: int(518), - Column: int(17), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(12), - }, - End: ast.Location{ - Line: int(518), - Column: int(13), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(16), - }, - End: ast.Location{ - Line: int(518), - Column: int(17), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(11), - }, - End: ast.Location{ - Line: int(519), - Column: int(13), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(11), - }, - End: ast.Location{ - Line: int(524), - Column: int(38), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "aux", - "i", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(14), - }, - End: ast.Location{ - Line: int(521), - Column: int(27), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(14), - }, - End: ast.Location{ - Line: int(521), - Column: int(20), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(14), - }, - End: ast.Location{ - Line: int(521), - Column: int(17), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(18), - }, - End: ast.Location{ - Line: int(521), - Column: int(19), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(24), - }, - End: ast.Location{ - Line: int(521), - Column: int(27), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: nil, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(13), - }, - End: ast.Location{ - Line: int(522), - Column: int(28), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "aux", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(13), - }, - End: ast.Location{ - Line: int(522), - Column: int(16), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(17), - }, - End: ast.Location{ - Line: int(522), - Column: int(20), - }, - File: p1, - }, - Ctx: p5048, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(22), - }, - End: ast.Location{ - Line: int(522), - Column: int(27), - }, - File: p1, - }, - Ctx: p5048, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(22), - }, - End: ast.Location{ - Line: int(522), - Column: int(23), - }, - File: p1, - }, - Ctx: p5048, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(26), - }, - End: ast.Location{ - Line: int(522), - Column: int(27), - }, - File: p1, - }, - Ctx: p5048, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(13), - }, - End: ast.Location{ - Line: int(524), - Column: int(38), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(13), - }, - End: ast.Location{ - Line: int(524), - Column: int(23), - }, - File: p1, - }, - Ctx: p5023, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(13), - }, - End: ast.Location{ - Line: int(524), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "substr", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(24), - }, - End: ast.Location{ - Line: int(524), - Column: int(27), - }, - File: p1, - }, - Ctx: p5064, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(29), - }, - End: ast.Location{ - Line: int(524), - Column: int(30), - }, - File: p1, - }, - Ctx: p5064, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(32), - }, - End: ast.Location{ - Line: int(524), - Column: int(37), - }, - File: p1, - }, - Ctx: p5064, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(32), - }, - End: ast.Location{ - Line: int(524), - Column: int(33), - }, - File: p1, - }, - Ctx: p5064, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(36), - }, - End: ast.Location{ - Line: int(524), - Column: int(37), - }, - File: p1, - }, - Ctx: p5064, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, + 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: nil, }, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Fun: nil, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(7), - }, - End: ast.Location{ - Line: int(525), - Column: int(36), - }, - File: p1, + }, + 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: p4825, + 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: p4896, + 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), }, - Ctx: p5015, - FreeVars: ast.Identifiers{ - "aux", - "std", - "str", + End: ast.Location{ + Line: int(435), + Column: int(39), }, + File: p1, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(7), + Fodder: ast.Fodder{}, + Ctx: p4896, + 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, }, - End: ast.Location{ - Line: int(525), - Column: int(10), + Fodder: ast.Fodder{}, + Ctx: p4902, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p5015, - FreeVars: ast.Identifiers{ - "aux", }, + Id: "str", }, - Id: "aux", + CommaFodder: ast.Fodder{}, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: p4902, + FreeVars: ast.Identifiers{ + "fw", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(525), - Column: int(11), + Line: int(435), + Column: int(45), }, End: ast.Location{ - Line: int(525), - Column: int(14), + Line: int(435), + Column: int(47), }, File: p1, }, - Ctx: p5078, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "str", + "fw", }, }, - Id: "str", + Id: "fw", }, - &ast.Binary{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(525), - Column: int(16), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(525), - Column: int(35), - }, - File: p1, - }, - Ctx: p5078, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(16), - }, - End: ast.Location{ - Line: int(525), - Column: int(31), - }, - File: p1, - }, - Ctx: p5078, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(16), - }, - End: ast.Location{ - Line: int(525), - Column: int(26), - }, - File: p1, - }, - Ctx: p5078, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(16), - }, - End: ast.Location{ - Line: int(525), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(27), - }, - End: ast.Location{ - Line: int(525), - Column: int(30), - }, - File: p1, - }, - Ctx: p5091, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(34), - }, - End: ast.Location{ - Line: int(525), - Column: int(35), - }, - File: p1, + Line: int(0), + Column: int(0), }, - Ctx: p5078, - FreeVars: nil, + File: nil, }, - Value: float64(1), - OriginalString: "1", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(528), - Column: int(5), + Line: int(436), + Column: int(7), }, End: ast.Location{ - Line: int(754), - Column: int(48), + Line: int(448), + Column: int(8), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p4825, FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_hex", - "render_int", - "std", - "strip_trailing_zero", - "vals", + "cflags", + "fw", + "mkey", + "parse_conv_type", + "prec", + "str", + "try_parse_length_modifier", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "render_float_dec", - Body: &ast.Function{ + VarFodder: ast.Fodder{}, + Variable: "len_mod", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(528), - Column: int(11), + Line: int(436), + Column: int(23), }, End: ast.Location{ - Line: int(542), - Column: int(14), + Line: int(436), + Column: int(61), }, File: p1, }, - Ctx: p5098, + Fodder: ast.Fodder{}, + Ctx: p4914, FreeVars: ast.Identifiers{ - "render_int", - "std", - "strip_trailing_zero", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n__", - "zero_pad", - "blank", - "sign", - "ensure_pt", - "trailing", "prec", + "str", + "try_parse_length_modifier", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Local{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(529), - Column: int(7), + Line: int(436), + Column: int(23), }, End: ast.Location{ - Line: int(542), - Column: int(14), + Line: int(436), + Column: int(48), }, File: p1, }, - Ctx: p5102, + Fodder: ast.Fodder{}, + Ctx: p4914, FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "n__", - "prec", - "render_int", - "sign", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", + "try_parse_length_modifier", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "n_", - Body: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(529), - Column: int(18), + Line: int(436), + Column: int(49), }, End: ast.Location{ - Line: int(529), - Column: int(30), + Line: int(436), + Column: int(52), }, File: p1, }, - Ctx: p5106, + Fodder: ast.Fodder{}, + Ctx: p4920, FreeVars: ast.Identifiers{ - "n__", - "std", + "str", }, }, - Target: &ast.Index{ + 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: p4920, + FreeVars: ast.Identifiers{ + "prec", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(529), - Column: int(18), + Line: int(436), + Column: int(54), }, End: ast.Location{ - Line: int(529), - Column: int(25), + Line: int(436), + Column: int(58), }, File: p1, }, - Ctx: p5106, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &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(21), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + "prec", }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "prec", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(26), - }, - End: ast.Location{ - Line: int(529), - Column: int(29), - }, - File: p1, - }, - Ctx: p5115, - FreeVars: ast.Identifiers{ - "n__", - }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "n__", + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Named: nil, + Value: "i", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - TrailingComma: false, - TailStrict: false, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Fun: nil, + CommaFodder: nil, }, }, - Body: &ast.Local{ + 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: p4825, + 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: p4932, + FreeVars: ast.Identifiers{ + "len_mod", + "parse_conv_type", + "str", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(530), - Column: int(7), + Line: int(437), + Column: int(21), }, End: ast.Location{ - Line: int(542), - Column: int(14), + Line: int(437), + Column: int(36), }, File: p1, }, - Ctx: p5102, + Fodder: ast.Fodder{}, + Ctx: p4932, FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "n_", - "n__", - "prec", - "render_int", - "sign", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", + "parse_conv_type", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "whole", - Body: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(530), - Column: int(21), + Line: int(437), + Column: int(37), }, End: ast.Location{ - Line: int(530), - Column: int(34), + Line: int(437), + Column: int(40), }, File: p1, }, - Ctx: p5121, + Fodder: ast.Fodder{}, + Ctx: p4938, FreeVars: ast.Identifiers{ - "n_", - "std", + "str", }, }, - Target: &ast.Index{ + 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: p4938, + 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: p4825, + 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: nil, + }, + 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: p4948, + 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: nil, + }, + 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: nil, + }, + 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: p4948, + 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: nil, + }, + 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: p4959, + FreeVars: ast.Identifiers{ + "mkey", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(530), - Column: int(21), + Line: int(441), + Column: int(17), }, End: ast.Location{ - Line: int(530), - Column: int(30), + Line: int(441), + Column: int(21), }, File: p1, }, - Ctx: p5121, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "std", + "mkey", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(21), - }, - End: ast.Location{ - Line: int(530), - Column: int(24), - }, - File: p1, + Id: "mkey", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: 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, + 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: nil, + }, + 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: p4959, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(442), + Column: int(19), }, - Ctx: nil, - FreeVars: nil, + End: ast.Location{ + Line: int(442), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "cflags", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(31), - }, - End: ast.Location{ - Line: int(530), - Column: int(33), - }, - File: p1, - }, - Ctx: p5130, - FreeVars: ast.Identifiers{ - "n_", - }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "n_", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Named: nil, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - TrailingComma: false, - TailStrict: false, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(531), - Column: int(7), + Line: int(442), + Column: int(11), }, End: ast.Location{ - Line: int(542), - Column: int(14), + Line: int(442), + Column: int(27), }, File: p1, }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "n_", - "n__", - "prec", - "render_int", - "sign", - "std", - "strip_trailing_zero", - "trailing", - "whole", - "zero_pad", - }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "dot_size", - Body: &ast.Conditional{ + 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: nil, + }, + 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: p4959, + FreeVars: ast.Identifiers{ + "fw", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(531), - Column: int(24), + Line: int(443), + Column: int(15), }, End: ast.Location{ - Line: int(531), - Column: int(64), + Line: int(443), + Column: int(17), }, File: p1, }, - Ctx: p5136, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "ensure_pt", - "prec", + "fw", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(27), - }, - End: ast.Location{ - Line: int(531), - Column: int(50), - }, - File: p1, + Id: "fw", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p5136, - FreeVars: ast.Identifiers{ - "ensure_pt", - "prec", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(27), - }, - End: ast.Location{ - Line: int(531), - Column: int(36), - }, - File: p1, - }, - Ctx: p5136, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Left: &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(31), - }, - File: p1, - }, - Ctx: p5136, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(35), - }, - End: ast.Location{ - Line: int(531), - Column: int(36), - }, - File: p1, - }, - Ctx: p5136, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), }, - Op: ast.BinaryOp(17), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(40), - }, - End: ast.Location{ - Line: int(531), - Column: int(50), - }, - File: p1, - }, - Ctx: p5136, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(41), - }, - End: ast.Location{ - Line: int(531), - Column: int(50), - }, - File: p1, - }, - Ctx: p5136, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Id: "ensure_pt", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(56), - }, - End: ast.Location{ - Line: int(531), - Column: int(57), - }, - File: p1, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: p4959, + FreeVars: ast.Identifiers{ + "prec", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(444), + Column: int(17), }, - Ctx: p5136, - FreeVars: nil, + End: ast.Location{ + Line: int(444), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "prec", }, - Value: float64(0), - OriginalString: "0", }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(63), - }, - End: ast.Location{ - Line: int(531), - Column: int(64), - }, - File: p1, + Id: "prec", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p5136, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - Value: float64(1), - OriginalString: "1", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "v", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Fun: nil, + 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, }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(7), - }, - End: ast.Location{ - Line: int(542), - Column: int(14), + 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, }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "blank", - "dot_size", - "ensure_pt", - "n_", - "n__", - "prec", - "render_int", - "sign", - "std", - "strip_trailing_zero", - "trailing", - "whole", - "zero_pad", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "ctype", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zp", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(18), - }, - End: ast.Location{ - Line: int(532), - Column: int(44), - }, - File: p1, + 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: p4959, + FreeVars: ast.Identifiers{ + "ctype", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(445), + Column: int(18), }, - Ctx: p5155, - FreeVars: ast.Identifiers{ - "dot_size", - "prec", - "zero_pad", + End: ast.Location{ + Line: int(445), + Column: int(23), }, + File: p1, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(18), - }, - End: ast.Location{ - Line: int(532), - Column: int(33), - }, - File: p1, - }, - Ctx: p5155, - FreeVars: ast.Identifiers{ - "prec", - "zero_pad", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(18), - }, - End: ast.Location{ - Line: int(532), - Column: int(26), - }, - File: p1, - }, - Ctx: p5155, - FreeVars: ast.Identifiers{ - "zero_pad", - }, - }, - Id: "zero_pad", + 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), }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(29), - }, - End: ast.Location{ - Line: int(532), - Column: int(33), - }, - File: p1, - }, - Ctx: p5155, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(36), - }, - End: ast.Location{ - Line: int(532), - Column: int(44), - }, - File: p1, - }, - Ctx: p5155, - FreeVars: ast.Identifiers{ - "dot_size", - }, - }, - Id: "dot_size", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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, }, - Fun: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Value: "caps", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Body: &ast.Local{ + Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(533), - Column: int(7), + Line: int(446), + Column: int(17), }, End: ast.Location{ - Line: int(542), - Column: int(14), + Line: int(446), + Column: int(27), }, File: p1, }, - Ctx: p5102, + Fodder: ast.Fodder{}, + Ctx: p4959, FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "n_", - "n__", - "prec", - "render_int", - "sign", - "std", - "strip_trailing_zero", - "trailing", - "whole", - "zp", + "ctype", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "str", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(19), - }, - End: ast.Location{ - Line: int(533), - Column: int(80), - }, - File: p1, - }, - Ctx: p5169, - FreeVars: ast.Identifiers{ - "blank", - "n__", - "render_int", - "sign", - "std", - "whole", - "zp", - }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(446), + Column: int(17), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(19), - }, - End: ast.Location{ - Line: int(533), - Column: int(29), - }, - File: p1, - }, - Ctx: p5169, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(30), - }, - End: ast.Location{ - Line: int(533), - Column: int(51), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: ast.Identifiers{ - "n__", - "std", - "whole", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(30), - }, - End: ast.Location{ - Line: int(533), - Column: int(43), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(30), - }, - End: ast.Location{ - Line: int(533), - Column: int(38), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(30), - }, - End: ast.Location{ - Line: int(533), - Column: int(33), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(39), - }, - End: ast.Location{ - Line: int(533), - Column: int(42), - }, - File: p1, - }, - Ctx: p5186, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(0), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(46), - }, - End: ast.Location{ - Line: int(533), - Column: int(51), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: ast.Identifiers{ - "whole", - }, - }, - Id: "whole", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(53), - }, - End: ast.Location{ - Line: int(533), - Column: int(55), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(57), - }, - End: ast.Location{ - Line: int(533), - Column: int(58), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(60), - }, - End: ast.Location{ - Line: int(533), - Column: int(65), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(67), - }, - End: ast.Location{ - Line: int(533), - Column: int(71), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: ast.Identifiers{ - "sign", - }, - }, - Id: "sign", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(73), - }, - End: ast.Location{ - Line: int(533), - Column: int(75), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(77), - }, - End: ast.Location{ - Line: int(533), - Column: int(79), - }, - File: p1, - }, - Ctx: p5175, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Named: nil, + End: ast.Location{ + Line: int(446), + Column: int(22), }, - TrailingComma: false, - TailStrict: false, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "ctype", }, - Fun: nil, }, + Id: "ctype", }, - Body: &ast.Conditional{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(534), - Column: int(7), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(542), - Column: int(14), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "ensure_pt", - "n_", - "prec", - "render_int", - "std", - "str", - "strip_trailing_zero", - "trailing", - "whole", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(10), - }, - End: ast.Location{ - Line: int(534), - Column: int(19), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(10), - }, - End: ast.Location{ - Line: int(534), - Column: int(14), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(18), - }, - End: ast.Location{ - Line: int(534), - Column: int(19), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(9), - }, - End: ast.Location{ - Line: int(535), - Column: int(44), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "ensure_pt", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(9), - }, - End: ast.Location{ - Line: int(535), - Column: int(12), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(15), - }, - End: ast.Location{ - Line: int(535), - Column: int(44), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(18), - }, - End: ast.Location{ - Line: int(535), - Column: int(27), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Id: "ensure_pt", - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(33), - }, - End: ast.Location{ - Line: int(535), - Column: int(36), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: nil, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(42), - }, - End: ast.Location{ - Line: int(535), - Column: int(44), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Line: int(0), + Column: int(0), }, + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(9), - }, - End: ast.Location{ - Line: int(542), - Column: int(14), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "n_", - "prec", - "render_int", - "std", - "str", - "strip_trailing_zero", - "trailing", - "whole", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "frac", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(22), - }, - End: ast.Location{ - Line: int(537), - Column: int(71), - }, - File: p1, - }, - Ctx: p5220, - FreeVars: ast.Identifiers{ - "n_", - "prec", - "std", - "whole", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(22), - }, - End: ast.Location{ - Line: int(537), - Column: int(31), - }, - File: p1, - }, - Ctx: p5220, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(22), - }, - End: ast.Location{ - Line: int(537), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(32), - }, - End: ast.Location{ - Line: int(537), - Column: int(70), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: ast.Identifiers{ - "n_", - "prec", - "std", - "whole", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(32), - }, - End: ast.Location{ - Line: int(537), - Column: int(64), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: ast.Identifiers{ - "n_", - "prec", - "std", - "whole", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(33), - }, - End: ast.Location{ - Line: int(537), - Column: int(43), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: ast.Identifiers{ - "n_", - "whole", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(33), - }, - End: ast.Location{ - Line: int(537), - Column: int(35), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: ast.Identifiers{ - "n_", - }, - }, - Id: "n_", - }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(38), - }, - End: ast.Location{ - Line: int(537), - Column: int(43), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: ast.Identifiers{ - "whole", - }, - }, - Id: "whole", - }, - }, - Op: ast.BinaryOp(0), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(47), - }, - End: ast.Location{ - Line: int(537), - Column: int(64), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: ast.Identifiers{ - "prec", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(47), - }, - End: ast.Location{ - Line: int(537), - Column: int(54), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(47), - }, - End: ast.Location{ - Line: int(537), - Column: int(50), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "pow", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(55), - }, - End: ast.Location{ - Line: int(537), - Column: int(57), - }, - File: p1, - }, - Ctx: p5248, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(59), - }, - End: ast.Location{ - Line: int(537), - Column: int(63), - }, - File: p1, - }, - Ctx: p5248, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(537), - Column: int(67), - }, - End: ast.Location{ - Line: int(537), - Column: int(70), - }, - File: p1, - }, - Ctx: p5229, - FreeVars: nil, - }, - Value: float64(0.5), - OriginalString: "0.5", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(9), - }, - End: ast.Location{ - Line: int(542), - Column: int(14), - }, - File: p1, - }, - Ctx: p5102, - 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(538), - Column: int(12), - }, - End: ast.Location{ - Line: int(538), - Column: int(32), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "frac", - "trailing", - }, - }, - 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(20), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Id: "trailing", - }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(24), - }, - End: ast.Location{ - Line: int(538), - Column: int(32), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "frac", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(24), - }, - End: ast.Location{ - Line: int(538), - Column: int(28), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "frac", - }, - }, - Id: "frac", - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(31), - }, - End: ast.Location{ - Line: int(538), - Column: int(32), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(11), - }, - End: ast.Location{ - Line: int(540), - Column: int(84), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - "str", - "strip_trailing_zero", - "trailing", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "frac_str", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(28), - }, - End: ast.Location{ - Line: int(539), - Column: int(75), - }, - File: p1, - }, - Ctx: p5267, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(28), - }, - End: ast.Location{ - Line: int(539), - Column: int(38), - }, - File: p1, - }, - Ctx: p5267, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(39), - }, - End: ast.Location{ - Line: int(539), - Column: int(43), - }, - File: p1, - }, - Ctx: p5273, - FreeVars: ast.Identifiers{ - "frac", - }, - }, - Id: "frac", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(45), - }, - End: ast.Location{ - Line: int(539), - Column: int(49), - }, - File: p1, - }, - Ctx: p5273, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(51), - }, - End: ast.Location{ - Line: int(539), - Column: int(52), - }, - File: p1, - }, - Ctx: p5273, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(54), - }, - End: ast.Location{ - Line: int(539), - Column: int(59), - }, - File: p1, - }, - Ctx: p5273, - FreeVars: nil, - }, - Value: false, - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(61), - }, - End: ast.Location{ - Line: int(539), - Column: int(66), - }, - File: p1, - }, - Ctx: p5273, - FreeVars: nil, - }, - Value: false, - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(68), - }, - End: ast.Location{ - Line: int(539), - Column: int(70), - }, - File: p1, - }, - Ctx: p5273, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(72), - }, - End: ast.Location{ - Line: int(539), - Column: int(74), - }, - File: p1, - }, - Ctx: p5273, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(11), - }, - End: ast.Location{ - Line: int(540), - Column: int(84), - }, - File: p1, - }, - Ctx: p5102, - 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(540), - Column: int(11), - }, - End: ast.Location{ - Line: int(540), - Column: int(20), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(11), - }, - End: ast.Location{ - Line: int(540), - Column: int(14), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(17), - }, - End: ast.Location{ - Line: int(540), - Column: int(20), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: nil, - }, - Value: ".", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(23), - }, - End: ast.Location{ - Line: int(540), - Column: int(84), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "frac_str", - "strip_trailing_zero", - "trailing", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(26), - }, - End: ast.Location{ - Line: int(540), - Column: int(35), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(27), - }, - End: ast.Location{ - Line: int(540), - Column: int(35), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Id: "trailing", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(41), - }, - End: ast.Location{ - Line: int(540), - Column: int(70), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "frac_str", - "strip_trailing_zero", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(41), - }, - End: ast.Location{ - Line: int(540), - Column: int(60), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "strip_trailing_zero", - }, - }, - Id: "strip_trailing_zero", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(61), - }, - End: ast.Location{ - Line: int(540), - Column: int(69), - }, - File: p1, - }, - Ctx: p5301, - FreeVars: ast.Identifiers{ - "frac_str", - }, - }, - Id: "frac_str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(76), - }, - End: ast.Location{ - Line: int(540), - Column: int(84), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "frac_str", - }, - }, - Id: "frac_str", - }, - }, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(11), - }, - End: ast.Location{ - Line: int(542), - Column: int(14), - }, - File: p1, - }, - Ctx: p5102, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, + 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: nil, + }, + 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: p4825, + FreeVars: nil, + }, + 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(451), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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: p5002, + 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: p5007, + 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: p5007, + 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: p5007, + 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: p5007, + 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: p5007, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(452), + Column: int(26), + }, + End: ast.Location{ + Line: int(452), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5022, + 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(453), + Column: int(9), + }, + End: ast.Location{ + Line: int(453), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5007, + 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: p5007, + 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(453), + Column: int(15), + }, + End: ast.Location{ + Line: int(453), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5007, + FreeVars: ast.Identifiers{ + "cur", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + 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: p5033, + FreeVars: ast.Identifiers{ + "cur", + }, + }, + Id: "cur", + }, + 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.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(455), + Column: int(9), + }, + 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(8), + Comment: []string{}, + }, + }, + Ctx: p5007, + FreeVars: ast.Identifiers{ + "cur", + "i", + "out", + "parse_code", + "parse_codes", + "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(455), + Column: int(19), + }, + End: ast.Location{ + Line: int(455), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5041, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p5041, + FreeVars: ast.Identifiers{ + "str", + }, + }, + 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: p5041, + 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(455), + Column: int(15), + }, + End: ast.Location{ + Line: int(455), + Column: int(25), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(456), + Column: int(9), + }, + 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(8), + Comment: []string{}, + }, + }, + Ctx: p5007, + FreeVars: ast.Identifiers{ + "c", + "cur", + "i", + "out", + "parse_code", + "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, + }, + Fodder: ast.Fodder{}, + Ctx: p5007, + FreeVars: ast.Identifiers{ + "c", + }, + }, + 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: p5007, + 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: p5007, + FreeVars: nil, + }, + 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: p5007, + 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: p5060, + 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: p5060, + 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: p5066, + 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: p5066, + 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: p5066, + 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: p5066, + FreeVars: nil, }, + OriginalString: "1", }, }, + CommaFodder: nil, }, }, + Named: nil, }, - Fun: 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.Local{ + }, + 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: p5007, + FreeVars: ast.Identifiers{ + "cur", + "out", + "parse_codes", + "r", + "str", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(545), - Column: int(5), + Line: int(458), + Column: int(11), }, End: ast.Location{ - Line: int(754), - Column: int(48), + Line: int(458), + Column: int(22), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p5007, FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_float_dec", - "render_hex", - "render_int", - "std", - "vals", + "parse_codes", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "render_float_sci", - Body: &ast.Function{ + Id: "parse_codes", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(545), - Column: int(11), + Line: int(458), + Column: int(23), }, End: ast.Location{ - Line: int(556), - Column: int(85), + Line: int(458), + Column: int(26), }, File: p1, }, - Ctx: p5311, + Fodder: ast.Fodder{}, + Ctx: p5080, FreeVars: ast.Identifiers{ - "render_float_dec", - "render_int", - "std", + "str", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n__", - "zero_pad", - "blank", - "sign", - "ensure_pt", - "trailing", - "caps", - "prec", + 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: p5080, + FreeVars: ast.Identifiers{ + "r", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Local{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(546), - Column: int(7), + Line: int(458), + Column: int(28), }, End: ast.Location{ - Line: int(556), - Column: int(85), + Line: int(458), + Column: int(29), }, File: p1, }, - Ctx: p5315, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "blank", - "caps", - "ensure_pt", - "n__", - "prec", - "render_float_dec", - "render_int", - "sign", - "std", - "trailing", - "zero_pad", + "r", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "exponent", - Body: &ast.Conditional{ + 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: nil, + }, + 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: p5080, + 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: p5080, + 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: p5080, + FreeVars: ast.Identifiers{ + "cur", + "r", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(546), - Column: int(24), + Line: int(458), + Column: int(40), }, End: ast.Location{ - Line: int(546), - Column: int(94), + Line: int(458), + Column: int(43), }, File: p1, }, - Ctx: p5319, + Fodder: ast.Fodder{}, + Ctx: p5095, FreeVars: ast.Identifiers{ - "n__", - "std", + "cur", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(27), - }, - End: ast.Location{ - Line: int(546), - Column: int(35), - }, - File: p1, - }, - Ctx: p5319, - FreeVars: ast.Identifiers{ - "n__", + 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), }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(27), - }, - End: ast.Location{ - Line: int(546), - Column: int(30), - }, - File: p1, - }, - Ctx: p5319, - FreeVars: ast.Identifiers{ - "n__", - }, + End: ast.Location{ + Line: int(458), + Column: int(51), }, - Id: "n__", + File: p1, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(34), - }, - End: ast.Location{ - Line: int(546), - Column: int(35), - }, - File: p1, - }, - Ctx: p5319, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", + Fodder: ast.Fodder{}, + Ctx: p5095, + FreeVars: ast.Identifiers{ + "r", }, }, - BranchTrue: &ast.LiteralNumber{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(546), - Column: int(41), + Line: int(458), + Column: int(45), }, End: ast.Location{ - Line: int(546), - Column: int(42), + Line: int(458), + Column: int(46), }, File: p1, }, - Ctx: p5319, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "r", + }, }, - Value: float64(0), - OriginalString: "0", + Id: "r", }, - BranchFalse: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(546), - Column: int(48), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(546), - Column: int(94), - }, - File: p1, - }, - Ctx: p5319, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(48), - }, - End: ast.Location{ - Line: int(546), - Column: int(57), - }, - File: p1, - }, - Ctx: p5319, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(48), - }, - End: ast.Location{ - Line: int(546), - Column: int(51), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "floor", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(58), - }, - End: ast.Location{ - Line: int(546), - Column: int(93), - }, - File: p1, - }, - Ctx: p5336, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(58), - }, - End: ast.Location{ - Line: int(546), - Column: int(79), - }, - File: p1, - }, - Ctx: p5336, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(58), - }, - End: ast.Location{ - Line: int(546), - Column: int(65), - }, - File: p1, - }, - Ctx: p5336, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(58), - }, - End: ast.Location{ - Line: int(546), - Column: int(61), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "log", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(66), - }, - End: ast.Location{ - Line: int(546), - Column: int(78), - }, - File: p1, - }, - Ctx: p5347, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(66), - }, - End: ast.Location{ - Line: int(546), - Column: int(73), - }, - File: p1, - }, - Ctx: p5347, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(66), - }, - End: ast.Location{ - Line: int(546), - Column: int(69), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(74), - }, - End: ast.Location{ - Line: int(546), - Column: int(77), - }, - File: p1, - }, - Ctx: p5356, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(82), - }, - End: ast.Location{ - Line: int(546), - Column: int(93), - }, - File: p1, - }, - Ctx: p5336, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(82), - }, - End: ast.Location{ - Line: int(546), - Column: int(89), - }, - File: p1, - }, - Ctx: p5336, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(82), - }, - End: ast.Location{ - Line: int(546), - Column: int(85), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "log", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(90), - }, - End: ast.Location{ - Line: int(546), - Column: int(92), - }, - File: p1, - }, - Ctx: p5367, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, + Line: int(0), + Column: int(0), }, + File: nil, }, - Named: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + Value: "code", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Fun: nil, + CommaFodder: nil, }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(547), - Column: int(7), - }, - End: ast.Location{ - Line: int(556), - Column: int(85), - }, - File: p1, - }, - Ctx: p5315, - FreeVars: ast.Identifiers{ - "blank", - "caps", - "ensure_pt", - "exponent", - "n__", - "prec", - "render_float_dec", - "render_int", - "sign", - "std", - "trailing", - "zero_pad", - }, + 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), }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "suff", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(547), - Column: int(20), - }, - End: ast.Location{ - Line: int(548), - Column: int(69), - }, - File: p1, - }, - Ctx: p5372, - FreeVars: ast.Identifiers{ - "caps", - "exponent", - "render_int", - }, - }, - Left: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(547), - Column: int(21), - }, - End: ast.Location{ - Line: int(547), - Column: int(46), - }, - File: p1, - }, - Ctx: p5372, - FreeVars: ast.Identifiers{ - "caps", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(547), - Column: int(24), - }, - End: ast.Location{ - Line: int(547), - Column: int(28), - }, - File: p1, - }, - Ctx: p5372, - FreeVars: ast.Identifiers{ - "caps", - }, - }, - Id: "caps", - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(547), - Column: int(34), - }, - End: ast.Location{ - Line: int(547), - Column: int(37), - }, - File: p1, - }, - Ctx: p5372, - FreeVars: nil, - }, - Value: "E", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(547), - Column: int(43), - }, - End: ast.Location{ - Line: int(547), - Column: int(46), - }, - File: p1, - }, - Ctx: p5372, - FreeVars: nil, - }, - Value: "e", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(22), - }, - End: ast.Location{ - Line: int(548), - Column: int(69), - }, - File: p1, - }, - Ctx: p5372, - FreeVars: ast.Identifiers{ - "exponent", - "render_int", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(22), - }, - End: ast.Location{ - Line: int(548), - Column: int(32), - }, - File: p1, - }, - Ctx: p5372, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(33), - }, - End: ast.Location{ - Line: int(548), - Column: int(41), - }, - File: p1, - }, - Ctx: p5386, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(43), - }, - End: ast.Location{ - Line: int(548), - Column: int(44), - }, - File: p1, - }, - Ctx: p5386, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(46), - }, - End: ast.Location{ - Line: int(548), - Column: int(47), - }, - File: p1, - }, - Ctx: p5386, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(49), - }, - End: ast.Location{ - Line: int(548), - Column: int(54), - }, - File: p1, - }, - Ctx: p5386, - FreeVars: nil, - }, - Value: false, - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(56), - }, - End: ast.Location{ - Line: int(548), - Column: int(60), - }, - File: p1, - }, - Ctx: p5386, - FreeVars: nil, - }, - Value: true, - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(62), - }, - End: ast.Location{ - Line: int(548), - Column: int(64), - }, - File: p1, - }, - Ctx: p5386, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(66), - }, - End: ast.Location{ - Line: int(548), - Column: int(68), - }, - File: p1, - }, - Ctx: p5386, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(7), - }, - End: ast.Location{ - Line: int(556), - Column: int(85), - }, - File: p1, - }, - Ctx: p5315, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "exponent", - "n__", - "prec", - "render_float_dec", - "sign", - "std", - "suff", - "trailing", - "zero_pad", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "mantissa", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(24), - }, - End: ast.Location{ - Line: int(554), - Column: int(36), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(27), - }, - End: ast.Location{ - Line: int(549), - Column: int(43), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(27), - }, - End: ast.Location{ - Line: int(549), - Column: int(35), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - Op: ast.BinaryOp(12), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(39), - }, - End: ast.Location{ - Line: int(549), - Column: int(43), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: nil, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(40), - }, - End: ast.Location{ - Line: int(549), - Column: int(43), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: nil, - }, - Value: float64(324), - OriginalString: "324", - }, - }, - }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(9), - }, - End: ast.Location{ - Line: int(552), - Column: int(45), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(9), - }, - End: ast.Location{ - Line: int(552), - Column: int(17), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(9), - }, - End: ast.Location{ - Line: int(552), - Column: int(12), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - Op: ast.BinaryOp(0), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(15), - }, - End: ast.Location{ - Line: int(552), - Column: int(17), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - }, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(20), - }, - End: ast.Location{ - Line: int(552), - Column: int(45), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(20), - }, - End: ast.Location{ - Line: int(552), - Column: int(27), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(20), - }, - End: ast.Location{ - Line: int(552), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "pow", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(28), - }, - End: ast.Location{ - Line: int(552), - Column: int(30), - }, - File: p1, - }, - Ctx: p5422, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(32), - }, - End: ast.Location{ - Line: int(552), - Column: int(44), - }, - File: p1, - }, - Ctx: p5422, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(32), - }, - End: ast.Location{ - Line: int(552), - Column: int(40), - }, - File: p1, - }, - Ctx: p5422, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(552), - Column: int(43), - }, - End: ast.Location{ - Line: int(552), - Column: int(44), - }, - File: p1, - }, - Ctx: p5422, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(9), - }, - End: ast.Location{ - Line: int(554), - Column: int(36), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(9), - }, - End: ast.Location{ - Line: int(554), - Column: int(12), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "n__", - }, - }, - Id: "n__", - }, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(15), - }, - End: ast.Location{ - Line: int(554), - Column: int(36), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(15), - }, - End: ast.Location{ - Line: int(554), - Column: int(22), - }, - File: p1, - }, - Ctx: p5398, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(15), - }, - End: ast.Location{ - Line: int(554), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "pow", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(23), - }, - End: ast.Location{ - Line: int(554), - Column: int(25), - }, - File: p1, - }, - Ctx: p5441, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(27), - }, - End: ast.Location{ - Line: int(554), - Column: int(35), - }, - File: p1, - }, - Ctx: p5441, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Id: "exponent", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(7), - }, - End: ast.Location{ - Line: int(556), - Column: int(85), - }, - File: p1, - }, - Ctx: p5315, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "prec", - "render_float_dec", - "sign", - "std", - "suff", - "trailing", - "zero_pad", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zp2", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(19), - }, - End: ast.Location{ - Line: int(555), - Column: int(46), - }, - File: p1, - }, - Ctx: p5448, - FreeVars: ast.Identifiers{ - "std", - "suff", - "zero_pad", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(19), - }, - End: ast.Location{ - Line: int(555), - Column: int(27), - }, - File: p1, - }, - Ctx: p5448, - FreeVars: ast.Identifiers{ - "zero_pad", - }, - }, - Id: "zero_pad", - }, - Op: ast.BinaryOp(4), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(30), - }, - End: ast.Location{ - Line: int(555), - Column: int(46), - }, - File: p1, - }, - Ctx: p5448, - FreeVars: ast.Identifiers{ - "std", - "suff", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(30), - }, - End: ast.Location{ - Line: int(555), - Column: int(40), - }, - File: p1, - }, - Ctx: p5448, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(30), - }, - End: ast.Location{ - Line: int(555), - Column: int(33), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(555), - Column: int(41), - }, - End: ast.Location{ - Line: int(555), - Column: int(45), - }, - File: p1, - }, - Ctx: p5461, - FreeVars: ast.Identifiers{ - "suff", - }, - }, - Id: "suff", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(7), - }, - End: ast.Location{ - Line: int(556), - Column: int(85), - }, - File: p1, - }, - Ctx: p5315, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "prec", - "render_float_dec", - "sign", - "suff", - "trailing", - "zp2", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(7), - }, - End: ast.Location{ - Line: int(556), - Column: int(78), - }, - File: p1, - }, - Ctx: p5315, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "prec", - "render_float_dec", - "sign", - "trailing", - "zp2", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(7), - }, - End: ast.Location{ - Line: int(556), - Column: int(23), - }, - File: p1, - }, - Ctx: p5315, - FreeVars: ast.Identifiers{ - "render_float_dec", - }, - }, - Id: "render_float_dec", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(24), - }, - End: ast.Location{ - Line: int(556), - Column: int(32), - }, - File: p1, - }, - Ctx: p5471, - FreeVars: ast.Identifiers{ - "mantissa", - }, - }, - Id: "mantissa", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(34), - }, - End: ast.Location{ - Line: int(556), - Column: int(37), - }, - File: p1, - }, - Ctx: p5471, - FreeVars: ast.Identifiers{ - "zp2", - }, - }, - Id: "zp2", - }, - &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(44), - }, - File: p1, - }, - Ctx: p5471, - FreeVars: ast.Identifiers{ - "blank", - }, - }, - Id: "blank", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(46), - }, - End: ast.Location{ - Line: int(556), - Column: int(50), - }, - File: p1, - }, - Ctx: p5471, - FreeVars: ast.Identifiers{ - "sign", - }, - }, - Id: "sign", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(52), - }, - End: ast.Location{ - Line: int(556), - Column: int(61), - }, - File: p1, - }, - Ctx: p5471, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - }, - Id: "ensure_pt", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(63), - }, - End: ast.Location{ - Line: int(556), - Column: int(71), - }, - File: p1, - }, - Ctx: p5471, - FreeVars: ast.Identifiers{ - "trailing", - }, - }, - Id: "trailing", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(73), - }, - End: ast.Location{ - Line: int(556), - Column: int(77), - }, - File: p1, - }, - Ctx: p5471, - FreeVars: ast.Identifiers{ - "prec", - }, - }, - Id: "prec", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(81), - }, - End: ast.Location{ - Line: int(556), - Column: int(85), - }, - File: p1, - }, - Ctx: p5315, - FreeVars: ast.Identifiers{ - "suff", - }, - }, - Id: "suff", - }, - }, - }, + End: ast.Location{ + Line: int(458), + Column: int(56), }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p5080, + FreeVars: nil, }, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Fun: nil, + CommaFodder: nil, }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(5), + 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(460), + Column: int(11), + }, + End: ast.Location{ + Line: int(460), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5007, + FreeVars: ast.Identifiers{ + "c", + "cur", + "i", + "out", + "parse_codes", + "str", + }, + }, + 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: p5007, + 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(460), + Column: int(23), + }, + End: ast.Location{ + Line: int(460), + Column: int(26), + }, + File: p1, }, - End: ast.Location{ - Line: int(754), - Column: int(48), + Fodder: ast.Fodder{}, + Ctx: p5111, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, - }, - Ctx: p2910, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "vals", }, + Id: "str", }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "format_code", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(559), - Column: int(11), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, + 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: p5111, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(460), + Column: int(28), }, - Ctx: p5491, - FreeVars: ast.Identifiers{ - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", + End: ast.Location{ + Line: int(460), + Column: int(29), }, + File: p1, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "val", - "code", - "fw", - "prec_or_null", - "i", + Fodder: ast.Fodder{}, + Ctx: p5111, + 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), }, - Optional: nil, + File: p1, }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(7), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - "fw", - "i", - "prec_or_null", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, + Fodder: ast.Fodder{}, + Ctx: p5111, + FreeVars: nil, + }, + 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: p5111, + 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: p5111, + FreeVars: ast.Identifiers{ + "c", + "cur", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(460), + Column: int(40), }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "cflags", - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(22), - }, - End: ast.Location{ - Line: int(560), - Column: int(33), - }, - File: p1, - }, - Ctx: p5499, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(22), - }, - End: ast.Location{ - Line: int(560), - Column: int(26), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "cflags", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Fun: nil, - }, + End: ast.Location{ + Line: int(460), + Column: int(43), }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(7), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, - }, - Ctx: p5495, - 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{ - Variable: "fpprec", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(22), - }, - End: ast.Location{ - Line: int(561), - Column: int(70), - }, - File: p1, - }, - Ctx: p5508, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(25), - }, - End: ast.Location{ - Line: int(561), - Column: int(45), - }, - File: p1, - }, - Ctx: p5508, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(25), - }, - End: ast.Location{ - Line: int(561), - Column: int(37), - }, - File: p1, - }, - Ctx: p5508, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(41), - }, - End: ast.Location{ - Line: int(561), - Column: int(45), - }, - File: p1, - }, - Ctx: p5508, - FreeVars: nil, - }, - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(51), - }, - End: ast.Location{ - Line: int(561), - Column: int(63), - }, - File: p1, - }, - Ctx: p5508, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(69), - }, - End: ast.Location{ - Line: int(561), - Column: int(70), - }, - File: p1, - }, - Ctx: p5508, - FreeVars: nil, - }, - Value: float64(6), - OriginalString: "6", - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(7), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, - }, - Ctx: p5495, - 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{ - Variable: "iprec", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(21), - }, - End: ast.Location{ - Line: int(562), - Column: int(69), - }, - File: p1, - }, - Ctx: p5522, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(24), - }, - End: ast.Location{ - Line: int(562), - Column: int(44), - }, - File: p1, - }, - Ctx: p5522, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(24), - }, - End: ast.Location{ - Line: int(562), - Column: int(36), - }, - File: p1, - }, - Ctx: p5522, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(40), - }, - End: ast.Location{ - Line: int(562), - Column: int(44), - }, - File: p1, - }, - Ctx: p5522, - FreeVars: nil, - }, - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(50), - }, - End: ast.Location{ - Line: int(562), - Column: int(62), - }, - File: p1, - }, - Ctx: p5522, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - }, - Id: "prec_or_null", - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(68), - }, - End: ast.Location{ - Line: int(562), - Column: int(69), - }, - File: p1, - }, - Ctx: p5522, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5111, + 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: p5111, + FreeVars: ast.Identifiers{ + "c", + }, + }, + Id: "c", + }, + }, + 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.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(462), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3497, + FreeVars: ast.Identifiers{ + "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: p5131, + FreeVars: ast.Identifiers{ + "parse_codes", + "str", + }, + }, + Target: &ast.Var{ + 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: p5131, + 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(462), + Column: int(31), + }, + End: ast.Location{ + Line: int(462), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5137, + 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(462), + Column: int(36), + }, + End: ast.Location{ + Line: int(462), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5137, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(462), + Column: int(39), + }, + End: ast.Location{ + Line: int(462), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5137, + FreeVars: nil, + }, + 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(462), + Column: int(43), + }, + End: ast.Location{ + Line: int(462), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5137, + FreeVars: nil, + }, + 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(462), + Column: int(11), + }, + End: ast.Location{ + Line: int(462), + 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(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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: p5151, + FreeVars: nil, + }, + 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: p5155, + 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: p5159, + 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: p5164, + 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: p5164, + 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: p5164, + FreeVars: ast.Identifiers{ + "w", + }, + }, + Id: "w", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(10), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(472), + Column: int(17), + }, + End: ast.Location{ + Line: int(472), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5164, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(473), + Column: int(11), + }, + End: ast.Location{ + Line: int(473), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p5164, + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(475), + Column: int(11), + }, + End: ast.Location{ + Line: int(475), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5164, + FreeVars: ast.Identifiers{ + "aux", + "s", + "v", + "w", + }, + }, + Target: &ast.Var{ + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p5164, + 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(475), + Column: int(15), + }, + End: ast.Location{ + Line: int(475), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "w", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(475), + Column: int(15), }, - Fun: nil, + End: ast.Location{ + Line: int(475), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "w", }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(7), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, + Id: "w", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(4), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(475), + Column: int(19), }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "fw", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", + End: ast.Location{ + Line: int(475), + Column: int(20), }, + File: p1, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zp", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(18), - }, - End: ast.Location{ - Line: int(563), - Column: int(63), - }, - File: p1, - }, - Ctx: p5536, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(21), - }, - End: ast.Location{ - Line: int(563), - Column: int(48), - }, - File: p1, - }, - Ctx: p5536, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(21), - }, - End: ast.Location{ - Line: int(563), - Column: int(32), - }, - File: p1, - }, - Ctx: p5536, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(21), - }, - End: ast.Location{ - Line: int(563), - Column: int(27), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "zero", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Op: ast.BinaryOp(17), - Right: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(36), - }, - End: ast.Location{ - Line: int(563), - Column: int(48), - }, - File: p1, - }, - Ctx: p5536, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(37), - }, - End: ast.Location{ - Line: int(563), - Column: int(48), - }, - File: p1, - }, - Ctx: p5536, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(37), - }, - End: ast.Location{ - Line: int(563), - Column: int(43), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "left", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(54), - }, - End: ast.Location{ - Line: int(563), - Column: int(56), - }, - File: p1, - }, - Ctx: p5536, - FreeVars: ast.Identifiers{ - "fw", - }, - }, - Id: "fw", - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(563), - Column: int(62), - }, - End: ast.Location{ - Line: int(563), - Column: int(63), - }, - File: p1, - }, - Ctx: p5536, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - Fun: nil, + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(475), + Column: int(22), + }, + End: ast.Location{ + Line: int(475), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5182, + 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, }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(564), - Column: int(7), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - "zp", - }, + Fodder: ast.Fodder{}, + Ctx: p5182, + 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(475), + Column: int(26), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(564), - Column: int(10), - }, - End: ast.Location{ - Line: int(564), - Column: int(27), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(564), - Column: int(10), - }, - End: ast.Location{ - Line: int(564), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(564), - Column: int(10), - }, - End: ast.Location{ - Line: int(564), - Column: int(14), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(564), - Column: int(24), - }, - End: ast.Location{ - Line: int(564), - Column: int(27), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, + End: ast.Location{ + Line: int(475), + Column: int(27), }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(9), - }, - End: ast.Location{ - Line: int(565), - Column: int(26), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(9), - }, - End: ast.Location{ - Line: int(565), - Column: int(21), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(9), - }, - End: ast.Location{ - Line: int(565), - Column: int(12), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "toString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5182, + FreeVars: ast.Identifiers{ + "s", + }, + }, + Id: "s", + }, + }, + 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, + }, + }, + }, + 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: p5155, + FreeVars: ast.Identifiers{ + "aux", + "w", + }, + }, + Target: &ast.Var{ + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5155, + 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(476), + Column: int(11), + }, + End: ast.Location{ + Line: int(476), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5200, + FreeVars: ast.Identifiers{ + "w", + }, + }, + Id: "w", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(476), + Column: int(14), + }, + End: ast.Location{ + Line: int(476), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5200, + FreeVars: nil, + }, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + 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, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(479), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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: p5209, + 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), + }, + End: ast.Location{ + Line: int(480), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5213, + FreeVars: ast.Identifiers{ + "padding", + "s", + "std", + "str", + "w", + }, + }, + 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: p5213, + 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: p5213, + 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: p5222, + 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: p5222, + 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: p5222, + 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: p5222, + 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: nil, + }, + 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), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(565), - Column: int(22), - }, - End: ast.Location{ - Line: int(565), - Column: int(25), - }, - File: p1, - }, - Ctx: p5574, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - }, - Named: nil, + End: ast.Location{ + Line: int(480), + Column: int(33), }, - TrailingComma: false, - TailStrict: false, + File: p1, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(12), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p5235, + 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: p5222, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p5213, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + }, + }, + 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(483), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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: p5247, + 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: p5251, + 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: p5251, + 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), + }, + End: ast.Location{ + Line: int(484), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5251, + FreeVars: ast.Identifiers{ + "padding", + "s", + "std", + "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, + }, + Fodder: ast.Fodder{}, + Ctx: p5251, + 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(484), + Column: int(21), + }, + End: ast.Location{ + Line: int(484), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5262, + FreeVars: ast.Identifiers{ + "std", + "str", + "w", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(484), + Column: int(21), + }, + End: ast.Location{ + Line: int(484), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5262, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p5262, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(484), + Column: int(25), + }, + End: ast.Location{ + Line: int(484), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5262, + 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: nil, + }, + 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(484), + Column: int(36), }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - "zp", + End: ast.Location{ + Line: int(484), + Column: int(39), }, + File: p1, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(15), - }, - End: ast.Location{ - Line: int(566), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(15), - }, - End: ast.Location{ - Line: int(566), - Column: int(25), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(15), - }, - End: ast.Location{ - Line: int(566), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(566), - Column: int(29), - }, - End: ast.Location{ - Line: int(566), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "d", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, + Fodder: ast.Fodder{}, + Ctx: p5275, + FreeVars: ast.Identifiers{ + "str", }, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(9), - }, - End: ast.Location{ - Line: int(571), - Column: int(72), - }, - File: p1, - }, - Ctx: p5495, - 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(567), - Column: int(12), - }, - End: ast.Location{ - Line: int(567), - Column: int(37), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(12), - }, - End: ast.Location{ - Line: int(567), - Column: int(25), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(12), - }, - End: ast.Location{ - Line: int(567), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(12), - }, - End: ast.Location{ - Line: int(567), - Column: int(15), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(21), - }, - End: ast.Location{ - Line: int(567), - Column: int(24), - }, - File: p1, - }, - Ctx: p5599, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + }, + 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(484), + Column: int(42), + }, + End: ast.Location{ + Line: int(484), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5262, + FreeVars: ast.Identifiers{ + "s", + }, + }, + Id: "s", + }, + 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, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(499), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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 postive 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: p3497, + FreeVars: ast.Identifiers{ + "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: p5297, + FreeVars: ast.Identifiers{ + "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), + }, + End: ast.Location{ + Line: int(499), + Column: int(25), + }, + 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{ + 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.", + }, + }, + }, + Ctx: p5303, + FreeVars: ast.Identifiers{ + "blank", + "mag", + "min_chars", + "min_digits", + "neg", + "pad_left", + "plus", + "radix", + "std", + "zero_prefix", + }, + }, + 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: p5308, + FreeVars: ast.Identifiers{ + "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: p5308, + FreeVars: ast.Identifiers{ + "mag", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(502), + Column: int(12), + }, + End: ast.Location{ + Line: int(502), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5308, + 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: p5308, + FreeVars: nil, + }, + 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: p5308, + FreeVars: nil, + }, + 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: p5308, + FreeVars: ast.Identifiers{ + "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, + }, + Fodder: nil, + Ctx: p5323, + FreeVars: ast.Identifiers{ + "aux", + "radix", + "std", + "zero_prefix", + }, + }, + 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: p5328, + FreeVars: ast.Identifiers{ + "aux", + "n", + "radix", + "std", + "zero_prefix", + }, + }, + Cond: &ast.Binary{ + 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: p5328, + FreeVars: ast.Identifiers{ + "n", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(506), + Column: int(16), }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(29), - }, - End: ast.Location{ - Line: int(567), - Column: int(37), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(506), + Column: int(17), }, + File: p1, }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(11), - }, - End: ast.Location{ - Line: int(569), - Column: int(47), - }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p5328, + 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: p5328, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(507), + Column: int(15), + }, + 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{}, + }, + }, + Ctx: p5328, + FreeVars: ast.Identifiers{ + "zero_prefix", + }, + }, + Id: "zero_prefix", + }, + 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(509), + Column: int(15), + }, + End: ast.Location{ + Line: int(509), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5328, + FreeVars: ast.Identifiers{ + "aux", + "n", + "radix", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(509), + Column: int(15), + }, + End: ast.Location{ + Line: int(509), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5328, + 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), }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", + End: ast.Location{ + Line: int(509), + Column: int(18), }, + File: p1, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(17), - }, - End: ast.Location{ - Line: int(569), - Column: int(47), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(17), - }, - End: ast.Location{ - Line: int(569), - Column: int(31), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(17), - }, - End: ast.Location{ - Line: int(569), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(17), - }, - End: ast.Location{ - Line: int(568), - Column: int(45), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(19), - }, - End: ast.Location{ - Line: int(569), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(23), - }, - End: ast.Location{ - Line: int(569), - Column: int(31), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + }, + Ctx: p5328, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(569), - Column: int(34), + Line: int(509), + Column: int(19), }, End: ast.Location{ - Line: int(569), - Column: int(47), + Line: int(509), + Column: int(39), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p5348, FreeVars: ast.Identifiers{ + "n", + "radix", "std", - "val", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(569), - Column: int(34), + Line: int(509), + Column: int(19), }, End: ast.Location{ - Line: int(569), - Column: int(42), + Line: int(509), + Column: int(28), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p5348, FreeVars: ast.Identifiers{ "std", }, @@ -65259,17 +70902,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(569), - Column: int(34), + Line: int(509), + Column: int(19), }, End: ast.Location{ - Line: int(569), - Column: int(37), + Line: int(509), + Column: int(22), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -65277,6 +70921,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -65291,2261 +70936,16401 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "floor", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(43), + 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, }, - End: ast.Location{ - Line: int(569), - Column: int(46), + Fodder: ast.Fodder{}, + Ctx: p5357, + FreeVars: ast.Identifiers{ + "n", + "radix", }, - File: p1, }, - Ctx: p5623, - FreeVars: ast.Identifiers{ - "val", + 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: p5357, + 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: p5357, + FreeVars: ast.Identifiers{ + "radix", + }, + }, + Id: "radix", }, }, - Id: "val", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, }, - BranchFalse: &ast.Apply{ + 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), + Column: int(44), + }, + End: ast.Location{ + Line: int(509), + Column: int(53), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "n", + "radix", + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(571), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(571), - Column: int(72), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p5495, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "val", - "zp", + "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(11), - }, - End: ast.Location{ - Line: int(571), - Column: int(21), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "render_int", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "render_int", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(22), - }, - End: ast.Location{ - Line: int(571), - Column: int(25), - }, - File: p1, - }, - Ctx: p5631, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(27), - }, - End: ast.Location{ - Line: int(571), - Column: int(29), - }, - File: p1, + 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(509), + Column: int(44), }, - Ctx: p5631, - FreeVars: ast.Identifiers{ - "zp", + End: ast.Location{ + Line: int(509), + Column: int(45), }, + File: p1, }, - Id: "zp", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(31), - }, - End: ast.Location{ - Line: int(571), - Column: int(36), - }, - File: p1, - }, - Ctx: p5631, - FreeVars: ast.Identifiers{ - "iprec", - }, + Fodder: ast.Fodder{}, + Ctx: p5328, + FreeVars: ast.Identifiers{ + "n", }, - Id: "iprec", }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(38), - }, - End: ast.Location{ - Line: int(571), - Column: int(50), - }, - File: p1, - }, - Ctx: p5631, - FreeVars: ast.Identifiers{ - "cflags", + Id: "n", + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(509), + Column: int(48), }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(38), - }, - End: ast.Location{ - Line: int(571), - Column: int(44), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, + End: ast.Location{ + Line: int(509), + Column: int(53), }, - Id: "cflags", + File: p1, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: ast.Fodder{}, + Ctx: p5328, + FreeVars: ast.Identifiers{ + "radix", }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(52), - }, - End: ast.Location{ - Line: int(571), - Column: int(63), - }, - File: p1, - }, - Ctx: p5631, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(52), - }, - End: ast.Location{ - Line: int(571), - Column: int(58), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(65), - }, - End: ast.Location{ - Line: int(571), - Column: int(67), - }, - File: p1, - }, - Ctx: p5631, - FreeVars: nil, - }, - Value: float64(10), - OriginalString: "10", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(69), - }, - End: ast.Location{ - Line: int(571), - Column: int(71), - }, - File: p1, - }, - Ctx: p5631, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "radix", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(12), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, + 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: p5308, + 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: p5308, + 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: p5382, + 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: p5303, + 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: p5389, + 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: p5389, + 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: p5389, + 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: p5389, + 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: p5389, + 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: p5389, + 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: p5389, + 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: p5389, + 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: p5389, + FreeVars: nil, + }, + 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: p5389, + FreeVars: nil, + }, + 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: p5303, + 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: p5412, + 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: p5412, + 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: nil, + }, + 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: p5421, + 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: p5421, + 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: p5303, + 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: p5430, + 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: p5430, + 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), }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - "zp", + End: ast.Location{ + Line: int(513), + Column: int(32), }, + File: p1, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(15), - }, - End: ast.Location{ - Line: int(572), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(15), - }, - End: ast.Location{ - Line: int(572), - Column: int(25), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(15), - }, - End: ast.Location{ - Line: int(572), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, + Fodder: ast.Fodder{}, + Ctx: p5436, + FreeVars: ast.Identifiers{ + "dec", + }, + }, + Id: "dec", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(513), + Column: int(34), }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(29), - }, - End: ast.Location{ - Line: int(572), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "o", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(513), + Column: int(37), }, + File: p1, }, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(9), - }, - End: ast.Location{ - Line: int(578), - Column: int(80), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "i", - "iprec", - "render_int", - "std", - "val", - "zp", - }, + Fodder: ast.Fodder{}, + Ctx: p5436, + 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(513), + Column: int(39), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(12), - }, - End: ast.Location{ - Line: int(573), - Column: int(37), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(12), - }, - End: ast.Location{ - Line: int(573), - Column: int(25), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(12), - }, - End: ast.Location{ - Line: int(573), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(12), - }, - End: ast.Location{ - Line: int(573), - Column: int(15), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(21), - }, - End: ast.Location{ - Line: int(573), - Column: int(24), - }, - File: p1, - }, - Ctx: p5672, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(29), - }, - End: ast.Location{ - Line: int(573), - Column: int(37), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(11), - }, - End: ast.Location{ - Line: int(575), - Column: int(47), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(17), - }, - End: ast.Location{ - Line: int(575), - Column: int(47), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(17), - }, - End: ast.Location{ - Line: int(575), - Column: int(31), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(17), - }, - End: ast.Location{ - Line: int(575), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(17), - }, - End: ast.Location{ - Line: int(574), - Column: int(45), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(19), - }, - End: ast.Location{ - Line: int(575), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(23), - }, - End: ast.Location{ - Line: int(575), - Column: int(31), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(34), - }, - End: ast.Location{ - Line: int(575), - Column: int(47), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(34), - }, - End: ast.Location{ - Line: int(575), - Column: int(42), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(34), - }, - End: ast.Location{ - Line: int(575), - Column: int(37), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(43), - }, - End: ast.Location{ - Line: int(575), - Column: int(46), - }, - File: p1, - }, - Ctx: p5696, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(11), - }, - End: ast.Location{ - Line: int(578), - Column: int(80), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "val", - "zp", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "zero_prefix", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(31), - }, - End: ast.Location{ - Line: int(577), - Column: int(61), - }, - File: p1, - }, - Ctx: p5702, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Cond: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(34), - }, - End: ast.Location{ - Line: int(577), - Column: int(44), - }, - File: p1, - }, - Ctx: p5702, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(34), - }, - End: ast.Location{ - Line: int(577), - Column: int(40), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(50), - }, - End: ast.Location{ - Line: int(577), - Column: int(53), - }, - File: p1, - }, - Ctx: p5702, - FreeVars: nil, - }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(59), - }, - End: ast.Location{ - Line: int(577), - Column: int(61), - }, - File: p1, - }, - Ctx: p5702, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(11), - }, - End: ast.Location{ - Line: int(578), - Column: int(80), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "val", - "zero_prefix", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(11), - }, - End: ast.Location{ - Line: int(578), - Column: int(21), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "render_int", - }, - }, - Id: "render_int", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(22), - }, - End: ast.Location{ - Line: int(578), - Column: int(25), - }, - File: p1, - }, - Ctx: p5717, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(27), - }, - End: ast.Location{ - Line: int(578), - Column: int(29), - }, - File: p1, - }, - Ctx: p5717, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(31), - }, - End: ast.Location{ - Line: int(578), - Column: int(36), - }, - File: p1, - }, - Ctx: p5717, - FreeVars: ast.Identifiers{ - "iprec", - }, - }, - Id: "iprec", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(38), - }, - End: ast.Location{ - Line: int(578), - Column: int(50), - }, - File: p1, - }, - Ctx: p5717, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(38), - }, - End: ast.Location{ - Line: int(578), - Column: int(44), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(52), - }, - End: ast.Location{ - Line: int(578), - Column: int(63), - }, - File: p1, - }, - Ctx: p5717, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(52), - }, - End: ast.Location{ - Line: int(578), - Column: int(58), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(65), - }, - End: ast.Location{ - Line: int(578), - Column: int(66), - }, - File: p1, - }, - Ctx: p5717, - FreeVars: nil, - }, - Value: float64(8), - OriginalString: "8", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(68), - }, - End: ast.Location{ - Line: int(578), - Column: int(79), - }, - File: p1, - }, - Ctx: p5717, - FreeVars: ast.Identifiers{ - "zero_prefix", - }, - }, - Id: "zero_prefix", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, + End: ast.Location{ + Line: int(513), + Column: int(42), }, + File: p1, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(12), - }, - End: ast.Location{ - Line: int(651), - Column: int(44), - }, - File: p1, - }, - Ctx: p5495, - 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(579), - Column: int(15), - }, - End: ast.Location{ - Line: int(579), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(15), - }, - End: ast.Location{ - Line: int(579), - Column: int(25), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(15), - }, - End: ast.Location{ - Line: int(579), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Id: "code", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "ctype", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(29), - }, - End: ast.Location{ - Line: int(579), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(580), - Column: int(9), - }, - End: ast.Location{ - Line: int(590), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - 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(580), - Column: int(12), - }, - End: ast.Location{ - Line: int(580), - Column: int(37), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(580), - Column: int(12), - }, - End: ast.Location{ - Line: int(580), - Column: int(25), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(580), - Column: int(12), - }, - End: ast.Location{ - Line: int(580), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(580), - Column: int(12), - }, - End: ast.Location{ - Line: int(580), - Column: int(15), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(580), - Column: int(21), - }, - End: ast.Location{ - Line: int(580), - Column: int(24), - }, - File: p1, - }, - Ctx: p5759, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(580), - Column: int(29), - }, - End: ast.Location{ - Line: int(580), - Column: int(37), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(11), - }, - End: ast.Location{ - Line: int(582), - Column: int(47), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(17), - }, - End: ast.Location{ - Line: int(582), - Column: int(47), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(17), - }, - End: ast.Location{ - Line: int(582), - Column: int(31), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(17), - }, - End: ast.Location{ - Line: int(582), - Column: int(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(17), - }, - End: ast.Location{ - Line: int(581), - Column: int(45), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: "Format required number at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &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(20), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(23), - }, - End: ast.Location{ - Line: int(582), - Column: int(31), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: nil, - }, - Value: ", got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(34), - }, - End: ast.Location{ - Line: int(582), - Column: int(47), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(34), - }, - End: ast.Location{ - Line: int(582), - Column: int(42), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(34), - }, - End: ast.Location{ - Line: int(582), - Column: int(37), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(582), - Column: int(43), - }, - End: ast.Location{ - Line: int(582), - Column: int(46), - }, - File: p1, - }, - Ctx: p5783, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(11), - }, - End: ast.Location{ - Line: int(590), - Column: int(32), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "iprec", - "render_hex", - "val", - "zp", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(11), - }, - End: ast.Location{ - Line: int(584), - Column: int(21), - }, - File: p1, - }, - Ctx: p5495, - FreeVars: ast.Identifiers{ - "render_hex", - }, - }, - Id: "render_hex", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(22), - }, - End: ast.Location{ - Line: int(584), - Column: int(25), - }, - File: p1, - }, - Ctx: p5791, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(22), - }, - End: ast.Location{ - Line: int(585), - Column: int(24), - }, - File: p1, - }, - Ctx: p5791, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(22), - }, - End: ast.Location{ - Line: int(586), - Column: int(27), - }, - File: p1, - }, - Ctx: p5791, - FreeVars: ast.Identifiers{ - "iprec", - }, - }, - Id: "iprec", - }, - &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(34), - }, - File: p1, - }, - Ctx: p5791, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(22), - }, - End: ast.Location{ - Line: int(587), - Column: int(28), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(588), + Fodder: ast.Fodder{}, + Ctx: p5436, + FreeVars: nil, + }, + 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: p5303, + 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: p5303, + 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: p5303, + 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: p5303, + FreeVars: nil, + }, + 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: p5303, + 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: p5303, + 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: p5303, + FreeVars: nil, + }, + 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: p5303, + 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: p5303, + 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: p5303, + FreeVars: nil, + }, + 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: p5303, + FreeVars: nil, + }, + 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: p5303, + 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(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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: p5467, + FreeVars: ast.Identifiers{ + "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: p5472, + FreeVars: ast.Identifiers{ + "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: p5476, + 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: p5476, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5481, + FreeVars: nil, + }, + 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: p5476, + 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: p5476, + 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: p5476, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + 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: p5499, + FreeVars: nil, + }, + 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(519), + Column: int(49), + }, + End: ast.Location{ + Line: int(519), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5499, + FreeVars: nil, + }, + 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(519), + Column: int(54), + }, + End: ast.Location{ + Line: int(519), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5499, + FreeVars: nil, + }, + Value: "C", + 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(59), + }, + End: ast.Location{ + Line: int(519), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5499, + FreeVars: nil, + }, + Value: "D", + 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(64), + }, + End: ast.Location{ + Line: int(519), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5499, + FreeVars: nil, + }, + 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: p5499, + FreeVars: nil, + }, + Value: "F", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(23), + Comment: []string{}, + }, + }, + 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: p5476, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(520), + Column: int(30), + }, + End: ast.Location{ + Line: int(520), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: nil, + }, + 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: p5509, + FreeVars: nil, + }, + 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), + Column: int(40), + }, + End: ast.Location{ + Line: int(520), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: nil, + }, + Value: "c", + 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(45), + }, + End: ast.Location{ + Line: int(520), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: nil, + }, + Value: "d", + 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(50), + }, + End: ast.Location{ + Line: int(520), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: nil, + }, + 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), + Column: int(55), + }, + End: ast.Location{ + Line: int(520), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5509, + FreeVars: nil, + }, + 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: p5472, + FreeVars: ast.Identifiers{ + "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: p5520, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(521), + Column: int(18), + }, + End: ast.Location{ + Line: int(521), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5520, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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, + 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: nil, + }, + 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(521), + Column: int(26), + }, + End: ast.Location{ + Line: int(521), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5529, + FreeVars: ast.Identifiers{ + "n__", + }, + }, + Id: "n__", + }, + 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(521), + Column: int(13), + }, + End: ast.Location{ + Line: int(521), + Column: int(30), + }, + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5472, + FreeVars: ast.Identifiers{ + "add_zerox", + "blank", + "capitals", + "min_chars", + "min_digits", + "n_", + "n__", + "numerals", + "pad_left", + "plus", + "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(522), + Column: int(13), + }, + End: ast.Location{ + Line: int(526), + Column: int(52), + }, + File: p1, + }, + Fodder: nil, + Ctx: p5536, + FreeVars: ast.Identifiers{ + "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: p5541, + FreeVars: ast.Identifiers{ + "aux", + "n", + "numerals", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(523), + Column: int(12), + }, + End: ast.Location{ + Line: int(523), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5541, + 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: p5541, + 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: p5541, + FreeVars: nil, + }, + 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), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p5541, + FreeVars: nil, + }, + 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: p5541, + FreeVars: ast.Identifiers{ + "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: p5541, + 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: p5541, + 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: p5560, + 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: p5560, + 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: nil, + }, + 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: p5569, + 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: p5569, + 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: p5569, + FreeVars: nil, + }, + 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: p5541, + FreeVars: ast.Identifiers{ + "n", + "numerals", + "std", + }, + }, + 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: p5541, + 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{ + "n", + "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: nil, + }, + 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: p5541, + 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: p5541, + FreeVars: nil, + }, + 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: p5472, + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(527), + Column: int(19), + }, + End: ast.Location{ + Line: int(527), + Column: int(73), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5594, + 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: p5594, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(527), + Column: int(22), + }, + End: ast.Location{ + Line: int(527), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5594, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(527), + Column: int(22), + }, + End: ast.Location{ + Line: int(527), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5594, + FreeVars: ast.Identifiers{ + "std", + }, + }, + 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, + }, + 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: nil, + }, + 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: p5607, + 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(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: p5594, + FreeVars: nil, + }, + 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: p5594, + FreeVars: nil, + }, + 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: p5594, + FreeVars: ast.Identifiers{ + "aux", + "n_", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(527), + Column: int(55), + }, + End: ast.Location{ + Line: int(527), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5594, + 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(527), + Column: int(59), + }, + End: ast.Location{ + Line: int(527), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5617, + FreeVars: ast.Identifiers{ + "n_", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(527), + Column: int(59), + }, + End: ast.Location{ + Line: int(527), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5617, + FreeVars: ast.Identifiers{ + "std", + }, + }, + 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, + }, + 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: nil, + }, + 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: p5626, + 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, + }, + }, + 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: p5472, + 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: p5633, + FreeVars: ast.Identifiers{ + "n__", + }, + }, + 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: p5633, + 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: p5633, + FreeVars: nil, + }, + 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: p5472, + 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: p5643, + 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: p5643, + 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: p5643, + 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: p5643, + 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: p5643, + 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: p5643, + 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: p5643, + 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: p5643, + 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: p5643, + 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: p5643, + FreeVars: nil, + }, + 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: p5643, + FreeVars: nil, + }, + 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: p5643, + 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: p5643, + 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: p5643, + FreeVars: nil, + }, + 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: p5643, + FreeVars: nil, + }, + 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: p5472, + 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: p5675, + 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: p5675, + 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: nil, + }, + 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: p5684, + 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: p5684, + 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(531), + Column: int(13), + }, + End: ast.Location{ + Line: int(531), + Column: int(42), + }, + File: p1, + }, + }, + }, + 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: p5472, + 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: p5693, + 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: p5693, + 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: p5693, + 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: p5693, + 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: p5693, + 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: p5693, + FreeVars: nil, + }, + 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: p5693, + FreeVars: nil, + }, + 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: p5693, + FreeVars: nil, + }, + Value: "", + 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(533), + Column: int(22), + }, + End: ast.Location{ + Line: int(533), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5693, + FreeVars: ast.Identifiers{ + "hex", + "pad_left", + "zp2", + }, + }, + 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: p5693, + 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(533), + Column: int(31), + }, + End: ast.Location{ + Line: int(533), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5713, + 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: p5713, + 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: p5713, + FreeVars: nil, + }, + 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(532), + Column: int(13), + }, + End: ast.Location{ + Line: int(533), + Column: int(45), + }, + 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: p5472, + 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: p5472, + 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: p5472, + 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: p5472, + FreeVars: nil, + }, + 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: p5472, + FreeVars: ast.Identifiers{ + "blank", + "plus", + }, + }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(534), + Column: int(32), + }, + End: ast.Location{ + Line: int(534), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5472, + 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: p5472, + FreeVars: nil, + }, + 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: p5472, + 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: p5472, + 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: p5472, + FreeVars: nil, + }, + 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: p5472, + FreeVars: nil, + }, + 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(534), + Column: int(80), + }, + End: ast.Location{ + Line: int(534), + Column: int(84), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5472, + FreeVars: ast.Identifiers{ + "hex2", + }, + }, + Id: "hex2", + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + 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(774), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3497, + FreeVars: ast.Identifiers{ + "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: p5743, + 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: p5748, + 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: p5752, + 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, + }, + }, + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p5757, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p5757, + FreeVars: ast.Identifiers{ + "i", + }, + }, + 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: p5757, + 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: p5757, + FreeVars: nil, + }, + 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: p5757, + FreeVars: nil, + }, + 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: p5757, + 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: p5757, + 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: p5757, + 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: p5757, + 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: p5757, + 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: p5757, + FreeVars: nil, + }, + 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: p5757, + 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: p5757, + 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: p5786, + 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: p5786, + 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: p5786, + 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: p5786, + FreeVars: nil, + }, + 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: p5757, + 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: p5757, + 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: nil, + }, + 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: p5804, + 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: p5804, + FreeVars: nil, + }, + 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: p5804, + 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: p5804, + 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: p5804, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + 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, + }, + }, + }, + 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: p5748, + FreeVars: ast.Identifiers{ + "aux", + "std", + "str", + }, + }, + Target: &ast.Var{ + 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{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5748, + 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(545), + Column: int(11), + }, + End: ast.Location{ + Line: int(545), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5819, + 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(545), + Column: int(16), + }, + End: ast.Location{ + Line: int(545), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5819, + 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: p5819, + 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: p5819, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(545), + Column: int(27), + }, + End: ast.Location{ + Line: int(545), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5832, + 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.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(545), + Column: int(34), + }, + End: ast.Location{ + Line: int(545), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5819, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + 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, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(548), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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: p3497, + FreeVars: ast.Identifiers{ + "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(562), + Column: int(14), + }, + File: p1, + }, + Fodder: nil, + Ctx: p5841, + FreeVars: ast.Identifiers{ + "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(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "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: p5850, + 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: p5850, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(549), + Column: int(26), + }, + End: ast.Location{ + Line: int(549), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5859, + FreeVars: ast.Identifiers{ + "n__", + }, + }, + Id: "n__", + }, + 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(549), + Column: int(13), + }, + End: ast.Location{ + Line: int(549), + 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(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "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: p5866, + 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: p5866, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(550), + Column: int(31), + }, + End: ast.Location{ + Line: int(550), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5875, + FreeVars: ast.Identifiers{ + "n_", + }, + }, + Id: "n_", + }, + 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(550), + Column: int(13), + }, + End: ast.Location{ + Line: int(550), + Column: int(34), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(7), + }, + End: ast.Location{ + Line: int(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "n_", + "n__", + "plus", + "prec", + "render_int", + "std", + "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(551), + Column: int(24), + }, + End: ast.Location{ + Line: int(551), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + FreeVars: ast.Identifiers{ + "ensure_pt", + "prec", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(27), + }, + End: ast.Location{ + Line: int(551), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + FreeVars: ast.Identifiers{ + "ensure_pt", + "prec", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(27), + }, + End: ast.Location{ + Line: int(551), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + FreeVars: ast.Identifiers{ + "prec", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(27), + }, + End: ast.Location{ + Line: int(551), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + 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(551), + Column: int(35), + }, + End: ast.Location{ + Line: int(551), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(40), + }, + End: ast.Location{ + Line: int(551), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + FreeVars: ast.Identifiers{ + "ensure_pt", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(41), + }, + End: ast.Location{ + Line: int(551), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + 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(551), + Column: int(56), + }, + End: ast.Location{ + Line: int(551), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + FreeVars: nil, + }, + OriginalString: "0", + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(63), + }, + End: ast.Location{ + Line: int(551), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5882, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(551), + Column: int(13), + }, + End: ast.Location{ + Line: int(551), + Column: int(64), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(552), + Column: int(7), + }, + End: ast.Location{ + Line: int(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "blank", + "dot_size", + "ensure_pt", + "n_", + "n__", + "plus", + "prec", + "render_int", + "std", + "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(552), + Column: int(18), + }, + End: ast.Location{ + Line: int(552), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5902, + FreeVars: ast.Identifiers{ + "dot_size", + "prec", + "zero_pad", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(552), + Column: int(18), + }, + End: ast.Location{ + Line: int(552), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5902, + FreeVars: ast.Identifiers{ + "prec", + "zero_pad", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(552), + Column: int(18), + }, + End: ast.Location{ + Line: int(552), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5902, + 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(552), + Column: int(29), + }, + End: ast.Location{ + Line: int(552), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5902, + 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(552), + Column: int(36), + }, + End: ast.Location{ + Line: int(552), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5902, + FreeVars: ast.Identifiers{ + "dot_size", + }, + }, + Id: "dot_size", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(552), + Column: int(13), + }, + End: ast.Location{ + Line: int(552), + Column: int(44), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(7), + }, + End: ast.Location{ + Line: int(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "blank", + "ensure_pt", + "n_", + "n__", + "plus", + "prec", + "render_int", + "std", + "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(553), + Column: int(19), + }, + End: ast.Location{ + Line: int(553), + Column: int(73), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5917, + 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(553), + Column: int(19), + }, + End: ast.Location{ + Line: int(553), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5917, + 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(553), + Column: int(30), + }, + End: ast.Location{ + Line: int(553), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + FreeVars: ast.Identifiers{ + "n__", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(30), + }, + End: ast.Location{ + Line: int(553), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + 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(553), + Column: int(36), + }, + End: ast.Location{ + Line: int(553), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(39), + }, + End: ast.Location{ + Line: int(553), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + 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(553), + Column: int(46), + }, + End: ast.Location{ + Line: int(553), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + 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(553), + Column: int(50), + }, + End: ast.Location{ + Line: int(553), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(53), + }, + End: ast.Location{ + Line: int(553), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + 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(553), + Column: int(60), + }, + End: ast.Location{ + Line: int(553), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + 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(553), + Column: int(66), + }, + End: ast.Location{ + Line: int(553), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(553), + Column: int(70), + }, + End: ast.Location{ + Line: int(553), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5923, + FreeVars: nil, + }, + 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(553), + Column: int(13), + }, + End: ast.Location{ + Line: int(553), + Column: int(73), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(554), + Column: int(7), + }, + End: ast.Location{ + Line: int(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "ensure_pt", + "n_", + "prec", + "render_int", + "std", + "str", + "strip_trailing_zero", + "trailing", + "whole", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(554), + Column: int(10), + }, + End: ast.Location{ + Line: int(554), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "prec", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(554), + Column: int(10), + }, + End: ast.Location{ + Line: int(554), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + 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(554), + Column: int(18), + }, + End: ast.Location{ + Line: int(554), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(555), + Column: int(9), + }, + End: ast.Location{ + Line: int(555), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "ensure_pt", + "str", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(555), + Column: int(9), + }, + End: ast.Location{ + Line: int(555), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p5846, + 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(555), + Column: int(15), + }, + End: ast.Location{ + Line: int(555), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "ensure_pt", + }, + }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(555), + Column: int(18), + }, + End: ast.Location{ + Line: int(555), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + 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(555), + Column: int(33), + }, + End: ast.Location{ + Line: int(555), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: nil, + }, + 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(555), + Column: int(42), + }, + End: ast.Location{ + Line: int(555), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: nil, + }, + 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.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(9), + }, + End: ast.Location{ + Line: int(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "n_", + "prec", + "render_int", + "std", + "str", + "strip_trailing_zero", + "trailing", + "whole", + }, + }, + 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(557), + Column: int(22), + }, + End: ast.Location{ + Line: int(557), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5964, + FreeVars: ast.Identifiers{ + "n_", + "prec", + "std", + "whole", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(22), + }, + End: ast.Location{ + Line: int(557), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5964, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(22), + }, + End: ast.Location{ + Line: int(557), + 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: nil, + }, + 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(557), + Column: int(32), + }, + End: ast.Location{ + Line: int(557), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "n_", + "prec", + "std", + "whole", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(32), + }, + End: ast.Location{ + Line: int(557), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "n_", + "prec", + "std", + "whole", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(33), + }, + End: ast.Location{ + Line: int(557), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "n_", + "whole", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(33), + }, + End: ast.Location{ + Line: int(557), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "n_", + }, + }, + Id: "n_", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(4), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(38), + }, + End: ast.Location{ + Line: int(557), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "whole", + }, + }, + Id: "whole", + }, + }, + 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(47), + }, + End: ast.Location{ + Line: int(557), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "prec", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(47), + }, + End: ast.Location{ + Line: int(557), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(47), + }, + End: ast.Location{ + Line: int(557), + 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: nil, + }, + 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(557), + Column: int(55), + }, + End: ast.Location{ + Line: int(557), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5992, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(59), + }, + End: ast.Location{ + Line: int(557), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5992, + 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.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(557), + Column: int(67), + }, + End: ast.Location{ + Line: int(557), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5973, + FreeVars: nil, + }, + OriginalString: "0.5", + }, + }, + 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(557), + Column: int(15), + }, + End: ast.Location{ + Line: int(557), + Column: int(71), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(558), + Column: int(9), + }, + End: ast.Location{ + Line: int(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p5846, + 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(558), + Column: int(12), + }, + End: ast.Location{ + Line: int(558), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "frac", + "trailing", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(558), + Column: int(12), + }, + End: ast.Location{ + Line: int(558), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + 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(558), + Column: int(24), + }, + End: ast.Location{ + Line: int(558), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "frac", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(558), + Column: int(24), + }, + End: ast.Location{ + Line: int(558), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + 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(558), + Column: int(31), + }, + End: ast.Location{ + Line: int(558), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(559), + Column: int(11), + }, + End: ast.Location{ + Line: int(560), + Column: int(84), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p5846, + 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(559), + Column: int(28), + }, + End: ast.Location{ + Line: int(559), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6013, + FreeVars: ast.Identifiers{ + "frac", + "prec", + "render_int", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(559), + Column: int(28), + }, + End: ast.Location{ + Line: int(559), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6013, + 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(559), + Column: int(39), + }, + End: ast.Location{ + Line: int(559), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + FreeVars: nil, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(559), + Column: int(46), + }, + End: ast.Location{ + Line: int(559), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + 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(559), + Column: int(52), + }, + End: ast.Location{ + Line: int(559), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + 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(559), + Column: int(58), + }, + End: ast.Location{ + Line: int(559), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(559), + Column: int(61), + }, + End: ast.Location{ + Line: int(559), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + FreeVars: nil, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(559), + Column: int(68), + }, + End: ast.Location{ + Line: int(559), + Column: int(73), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + FreeVars: nil, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(559), + Column: int(75), + }, + End: ast.Location{ + Line: int(559), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(559), + Column: int(79), + }, + End: ast.Location{ + Line: int(559), + Column: int(81), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6019, + FreeVars: nil, + }, + 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(559), + Column: int(17), + }, + End: ast.Location{ + Line: int(559), + Column: int(82), + }, + File: p1, + }, + }, + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(11), + }, + End: ast.Location{ + Line: int(560), + Column: int(84), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + 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(560), + Column: int(11), + }, + End: ast.Location{ + Line: int(560), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(11), + }, + End: ast.Location{ + Line: int(560), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p5846, + 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(560), + Column: int(17), + }, + End: ast.Location{ + Line: int(560), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: nil, + }, + 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(560), + Column: int(23), + }, + End: ast.Location{ + Line: int(560), + Column: int(84), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "frac_str", + "strip_trailing_zero", + "trailing", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(26), + }, + End: ast.Location{ + Line: int(560), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "trailing", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(27), + }, + End: ast.Location{ + Line: int(560), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "trailing", + }, + }, + Id: "trailing", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(41), + }, + End: ast.Location{ + Line: int(560), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "frac_str", + "strip_trailing_zero", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(560), + Column: int(41), + }, + End: ast.Location{ + Line: int(560), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + 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(560), + Column: int(61), + }, + End: ast.Location{ + Line: int(560), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6049, + 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(560), + Column: int(76), + }, + End: ast.Location{ + Line: int(560), + Column: int(84), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p5846, + 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(562), + Column: int(11), + }, + End: ast.Location{ + Line: int(562), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p5846, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + 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(565), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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: p3497, + 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(565), + Column: int(11), + }, + End: ast.Location{ + Line: int(576), + Column: int(85), + }, + File: p1, + }, + Fodder: nil, + Ctx: p6063, + 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(565), + Column: int(28), + }, + End: ast.Location{ + Line: int(565), + 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(565), + Column: int(33), + }, + End: ast.Location{ + Line: int(565), + 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(565), + Column: int(43), + }, + End: ast.Location{ + Line: int(565), + 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(565), + Column: int(50), + }, + End: ast.Location{ + Line: int(565), + 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(565), + Column: int(56), + }, + End: ast.Location{ + Line: int(565), + 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(565), + Column: int(67), + }, + End: ast.Location{ + Line: int(565), + 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(565), + Column: int(77), + }, + End: ast.Location{ + Line: int(565), + 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(565), + Column: int(83), + }, + End: ast.Location{ + Line: int(565), + 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(566), + Column: int(7), + }, + End: ast.Location{ + Line: int(576), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6068, + 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(566), + Column: int(24), + }, + End: ast.Location{ + Line: int(566), + Column: int(94), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6072, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(27), + }, + End: ast.Location{ + Line: int(566), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6072, + FreeVars: ast.Identifiers{ + "n__", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(27), + }, + End: ast.Location{ + Line: int(566), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6072, + 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(566), + Column: int(34), + }, + End: ast.Location{ + Line: int(566), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6072, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(41), + }, + End: ast.Location{ + Line: int(566), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6072, + FreeVars: nil, + }, + OriginalString: "0", + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(48), + }, + End: ast.Location{ + Line: int(566), + Column: int(94), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6072, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(48), + }, + End: ast.Location{ + Line: int(566), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6072, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(48), + }, + End: ast.Location{ + Line: int(566), + 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: nil, + }, + 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(566), + Column: int(58), + }, + End: ast.Location{ + Line: int(566), + Column: int(93), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6089, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(58), + }, + End: ast.Location{ + Line: int(566), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6089, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(58), + }, + End: ast.Location{ + Line: int(566), + Column: int(65), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6089, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(58), + }, + End: ast.Location{ + Line: int(566), + 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: nil, + }, + 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(566), + Column: int(66), + }, + End: ast.Location{ + Line: int(566), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6100, + FreeVars: ast.Identifiers{ + "n__", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(66), + }, + End: ast.Location{ + Line: int(566), + Column: int(73), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6100, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(66), + }, + End: ast.Location{ + Line: int(566), + 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: nil, + }, + 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(566), + Column: int(74), + }, + End: ast.Location{ + Line: int(566), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6109, + 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(566), + Column: int(82), + }, + End: ast.Location{ + Line: int(566), + Column: int(93), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6089, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(82), + }, + End: ast.Location{ + Line: int(566), + Column: int(89), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6089, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(566), + Column: int(82), + }, + End: ast.Location{ + Line: int(566), + Column: int(85), + }, + File: 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: nil, + }, + 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(566), + Column: int(90), + }, + End: ast.Location{ + Line: int(566), + Column: int(92), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6120, + FreeVars: nil, + }, + 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(566), + Column: int(13), + }, + End: ast.Location{ + Line: int(566), + Column: int(94), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(7), + }, + End: ast.Location{ + Line: int(576), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6068, + FreeVars: ast.Identifiers{ + "blank", + "caps", + "ensure_pt", + "exponent", + "n__", + "plus", + "prec", + "render_float_dec", + "render_int", + "std", + "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(567), + Column: int(20), + }, + End: ast.Location{ + Line: int(568), + Column: int(92), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6126, + FreeVars: ast.Identifiers{ + "caps", + "exponent", + "render_int", + "std", + }, + }, + Left: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(21), + }, + End: ast.Location{ + Line: int(567), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6126, + FreeVars: ast.Identifiers{ + "caps", + }, + }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(24), + }, + End: ast.Location{ + Line: int(567), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6126, + FreeVars: ast.Identifiers{ + "caps", + }, + }, + Id: "caps", + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(567), + Column: int(34), + }, + End: ast.Location{ + Line: int(567), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6126, + FreeVars: nil, + }, + 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(567), + Column: int(43), + }, + End: ast.Location{ + Line: int(567), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6126, + FreeVars: nil, + }, + 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(568), + Column: int(22), + }, + End: ast.Location{ + Line: int(568), + Column: int(92), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6126, + FreeVars: ast.Identifiers{ + "exponent", + "render_int", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(22), + }, + End: ast.Location{ + Line: int(568), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6126, + 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(568), + Column: int(33), + }, + End: ast.Location{ + Line: int(568), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: ast.Identifiers{ + "exponent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(33), + }, + End: ast.Location{ + Line: int(568), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + 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(568), + Column: int(44), + }, + End: ast.Location{ + Line: int(568), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(47), + }, + End: ast.Location{ + Line: int(568), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: ast.Identifiers{ + "exponent", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(47), + }, + End: ast.Location{ + Line: int(568), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(47), + }, + End: ast.Location{ + Line: int(568), + 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: nil, + }, + 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(568), + Column: int(55), + }, + End: ast.Location{ + Line: int(568), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6155, + 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(568), + Column: int(66), + }, + End: ast.Location{ + Line: int(568), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: nil, + }, + OriginalString: "3", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(69), + }, + End: ast.Location{ + Line: int(568), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(72), + }, + End: ast.Location{ + Line: int(568), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: nil, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(79), + }, + End: ast.Location{ + Line: int(568), + Column: int(83), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: nil, + }, + Value: true, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(85), + }, + End: ast.Location{ + Line: int(568), + Column: int(87), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(568), + Column: int(89), + }, + End: ast.Location{ + Line: int(568), + Column: int(91), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6141, + FreeVars: nil, + }, + 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(567), + Column: int(13), + }, + End: ast.Location{ + Line: int(568), + Column: int(92), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(7), + }, + End: ast.Location{ + Line: int(576), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6068, + 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(569), + Column: int(24), + }, + End: ast.Location{ + Line: int(574), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "exponent", + "n__", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(27), + }, + End: ast.Location{ + Line: int(569), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "exponent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(27), + }, + End: ast.Location{ + Line: int(569), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + 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(569), + Column: int(39), + }, + End: ast.Location{ + Line: int(569), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: nil, + }, + Op: ast.UnaryOp(3), + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(569), + Column: int(40), + }, + End: ast.Location{ + Line: int(569), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: nil, + }, + OriginalString: "324", + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(9), + }, + End: ast.Location{ + Line: int(572), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "exponent", + "n__", + "std", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(9), + }, + End: ast.Location{ + Line: int(572), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "n__", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(9), + }, + End: ast.Location{ + Line: int(572), + 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: p6168, + 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(572), + Column: int(15), + }, + End: ast.Location{ + Line: int(572), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: nil, + }, + OriginalString: "10", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(1), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(20), + }, + End: ast.Location{ + Line: int(572), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "exponent", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(20), + }, + End: ast.Location{ + Line: int(572), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(20), + }, + End: ast.Location{ + Line: int(572), + 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: nil, + }, + 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(572), + Column: int(28), + }, + End: ast.Location{ + Line: int(572), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6195, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(32), + }, + End: ast.Location{ + Line: int(572), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6195, + FreeVars: ast.Identifiers{ + "exponent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(572), + Column: int(32), + }, + End: ast.Location{ + Line: int(572), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6195, + 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(572), + Column: int(43), + }, + End: ast.Location{ + Line: int(572), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6195, + FreeVars: nil, + }, + 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(574), + Column: int(9), + }, + End: ast.Location{ + Line: int(574), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "exponent", + "n__", + "std", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(9), + }, + End: ast.Location{ + Line: int(574), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6168, + 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(574), + Column: int(15), + }, + End: ast.Location{ + Line: int(574), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "exponent", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(15), + }, + End: ast.Location{ + Line: int(574), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6168, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(15), + }, + End: ast.Location{ + Line: int(574), + 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: nil, + }, + 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(574), + Column: int(23), + }, + End: ast.Location{ + Line: int(574), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6216, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(574), + Column: int(27), + }, + End: ast.Location{ + Line: int(574), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6216, + 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(569), + Column: int(13), + }, + End: ast.Location{ + Line: int(574), + Column: int(36), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(7), + }, + End: ast.Location{ + Line: int(576), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6068, + 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(575), + Column: int(19), + }, + End: ast.Location{ + Line: int(575), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6224, + FreeVars: ast.Identifiers{ + "std", + "suff", + "zero_pad", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(19), + }, + End: ast.Location{ + Line: int(575), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6224, + 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(575), + Column: int(30), + }, + End: ast.Location{ + Line: int(575), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6224, + FreeVars: ast.Identifiers{ + "std", + "suff", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(30), + }, + End: ast.Location{ + Line: int(575), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6224, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(575), + Column: int(30), + }, + End: ast.Location{ + Line: int(575), + 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: nil, + }, + 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(575), + Column: int(41), + }, + End: ast.Location{ + Line: int(575), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6237, + 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(575), + Column: int(13), + }, + End: ast.Location{ + Line: int(575), + Column: int(46), + }, + File: p1, + }, + }, + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(576), + Column: int(7), + }, + End: ast.Location{ + Line: int(576), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6068, + 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(576), + Column: int(7), + }, + End: ast.Location{ + Line: int(576), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6068, + 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(576), + Column: int(7), + }, + End: ast.Location{ + Line: int(576), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6068, + 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(576), + Column: int(24), + }, + End: ast.Location{ + Line: int(576), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6248, + 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(576), + Column: int(34), + }, + End: ast.Location{ + Line: int(576), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6248, + 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(576), + Column: int(39), + }, + End: ast.Location{ + Line: int(576), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6248, + 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(576), + Column: int(46), + }, + End: ast.Location{ + Line: int(576), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6248, + 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(576), + Column: int(52), + }, + End: ast.Location{ + Line: int(576), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6248, + 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(576), + Column: int(63), + }, + End: ast.Location{ + Line: int(576), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6248, + 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(576), + Column: int(73), + }, + End: ast.Location{ + Line: int(576), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6248, + 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(576), + Column: int(81), + }, + End: ast.Location{ + Line: int(576), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6068, + FreeVars: ast.Identifiers{ + "suff", + }, + }, + Id: "suff", + }, + }, + }, + }, + }, + }, + }, + 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(579), + Column: int(5), + }, + End: ast.Location{ + Line: int(774), + 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: p3497, + 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(579), + Column: int(11), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: nil, + Ctx: p6270, + 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(579), + Column: int(23), + }, + End: ast.Location{ + Line: int(579), + 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(579), + Column: int(28), + }, + End: ast.Location{ + Line: int(579), + 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(579), + Column: int(34), + }, + End: ast.Location{ + Line: int(579), + 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(579), + Column: int(38), + }, + End: ast.Location{ + Line: int(579), + 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(579), + Column: int(52), + }, + End: ast.Location{ + Line: int(579), + 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(580), + Column: int(7), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(580), + Column: int(22), + }, + End: ast.Location{ + Line: int(580), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6279, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(580), + Column: int(22), + }, + End: ast.Location{ + Line: int(580), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "cflags", + 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(580), + Column: int(13), + }, + End: ast.Location{ + Line: int(580), + Column: int(33), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(581), + Column: int(7), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(581), + Column: int(22), + }, + End: ast.Location{ + Line: int(581), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6289, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(581), + Column: int(25), + }, + End: ast.Location{ + Line: int(581), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6289, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(581), + Column: int(25), + }, + End: ast.Location{ + Line: int(581), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6289, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + }, + Id: "prec_or_null", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(581), + Column: int(41), + }, + End: ast.Location{ + Line: int(581), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6289, + FreeVars: nil, + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(581), + Column: int(51), + }, + End: ast.Location{ + Line: int(581), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6289, + 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(581), + Column: int(69), + }, + End: ast.Location{ + Line: int(581), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6289, + FreeVars: nil, + }, + OriginalString: "6", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(581), + Column: int(13), + }, + End: ast.Location{ + Line: int(581), + Column: int(70), + }, + 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(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(582), + Column: int(21), + }, + End: ast.Location{ + Line: int(582), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6304, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(582), + Column: int(24), + }, + End: ast.Location{ + Line: int(582), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6304, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(582), + Column: int(24), + }, + End: ast.Location{ + Line: int(582), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6304, + FreeVars: ast.Identifiers{ + "prec_or_null", + }, + }, + Id: "prec_or_null", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(582), + Column: int(40), + }, + End: ast.Location{ + Line: int(582), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6304, + FreeVars: nil, + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(582), + Column: int(50), + }, + End: ast.Location{ + Line: int(582), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6304, + 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(582), + Column: int(68), + }, + End: ast.Location{ + Line: int(582), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6304, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + 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(69), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(7), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(583), + Column: int(18), + }, + End: ast.Location{ + Line: int(583), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6319, + FreeVars: ast.Identifiers{ + "cflags", + "fw", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(21), + }, + End: ast.Location{ + Line: int(583), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6319, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(21), + }, + End: ast.Location{ + Line: int(583), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6319, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(21), + }, + End: ast.Location{ + Line: int(583), + 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: nil, + }, + 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(583), + Column: int(36), + }, + End: ast.Location{ + Line: int(583), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6319, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(37), + }, + End: ast.Location{ + Line: int(583), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6319, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(37), + }, + End: ast.Location{ + Line: int(583), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "left", + 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(583), + Column: int(54), + }, + End: ast.Location{ + Line: int(583), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6319, + FreeVars: ast.Identifiers{ + "fw", + }, + }, + Id: "fw", + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(62), + }, + End: ast.Location{ + Line: int(583), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6319, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(583), + Column: int(13), + }, + End: ast.Location{ + Line: int(583), + Column: int(63), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(7), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(584), + Column: int(10), + }, + End: ast.Location{ + Line: int(584), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(10), + }, + End: ast.Location{ + Line: int(584), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(584), + Column: int(10), + }, + End: ast.Location{ + Line: int(584), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(584), + Column: int(24), + }, + End: ast.Location{ + Line: int(584), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(585), + Column: int(9), + }, + End: ast.Location{ + Line: int(585), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(9), + }, + End: ast.Location{ + Line: int(585), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(585), + Column: int(9), + }, + End: ast.Location{ + Line: int(585), + 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: nil, + }, + 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(585), + Column: int(22), + }, + End: ast.Location{ + Line: int(585), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6359, + 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.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(12), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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(586), + Column: int(15), + }, + End: ast.Location{ + Line: int(586), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(15), + }, + End: ast.Location{ + Line: int(586), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(586), + Column: int(15), + }, + End: ast.Location{ + Line: int(586), + 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: nil, + }, + 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(586), + Column: int(29), + }, + End: ast.Location{ + Line: int(586), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + Value: "d", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(9), + }, + End: ast.Location{ + Line: int(591), + Column: int(103), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(587), + Column: int(12), + }, + End: ast.Location{ + Line: int(587), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(12), + }, + End: ast.Location{ + Line: int(587), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(12), + }, + End: ast.Location{ + Line: int(587), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(587), + Column: int(12), + }, + End: ast.Location{ + Line: int(587), + 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: nil, + }, + 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(587), + Column: int(21), + }, + End: ast.Location{ + Line: int(587), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6386, + 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(587), + Column: int(29), + }, + End: ast.Location{ + Line: int(587), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(588), + Column: int(11), + }, + End: ast.Location{ + Line: int(589), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(17), + }, + End: ast.Location{ + Line: int(589), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(17), + }, + End: ast.Location{ + Line: int(589), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(17), + }, + End: ast.Location{ + Line: int(589), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(588), + Column: int(17), + }, + End: ast.Location{ + Line: int(588), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(589), + Column: int(19), + }, + End: ast.Location{ + Line: int(589), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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(589), + Column: int(23), + }, + End: ast.Location{ + Line: int(589), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(589), + Column: int(34), + }, + End: ast.Location{ + Line: int(589), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(589), + Column: int(34), + }, + End: ast.Location{ + Line: int(589), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(589), + Column: int(34), + }, + End: ast.Location{ + Line: int(589), + 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: nil, + }, + 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(589), + Column: int(43), + }, + End: ast.Location{ + Line: int(589), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6412, + 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(591), + Column: int(11), + }, + End: ast.Location{ + Line: int(591), + Column: int(103), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "cflags", + "iprec", + "render_int", + "std", + "val", + "zp", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(11), + }, + End: ast.Location{ + Line: int(591), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(591), + Column: int(22), + }, + End: ast.Location{ + Line: int(591), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: ast.Identifiers{ + "val", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), Column: int(22), }, End: ast.Location{ - Line: int(588), - Column: int(33), + Line: int(591), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + 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(591), + Column: int(29), + }, + End: ast.Location{ + Line: int(591), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: nil, + }, + Op: ast.UnaryOp(3), + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(30), + }, + End: ast.Location{ + Line: int(591), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(33), + }, + End: ast.Location{ + Line: int(591), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(33), + }, + End: ast.Location{ + Line: int(591), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(33), + }, + End: ast.Location{ + Line: int(591), + 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: nil, + }, + 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(591), + Column: int(43), + }, + End: ast.Location{ + Line: int(591), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6437, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(43), + }, + End: ast.Location{ + Line: int(591), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6437, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(43), + }, + End: ast.Location{ + Line: int(591), + 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: nil, + }, + 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(591), + Column: int(51), + }, + End: ast.Location{ + Line: int(591), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6446, + 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(591), + Column: int(58), + }, + End: ast.Location{ + Line: int(591), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + 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(591), + Column: int(62), + }, + End: ast.Location{ + Line: int(591), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + 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(591), + Column: int(69), + }, + End: ast.Location{ + Line: int(591), + Column: int(81), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(69), + }, + End: ast.Location{ + Line: int(591), + 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: nil, + }, + 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(591), + Column: int(83), + }, + End: ast.Location{ + Line: int(591), + Column: int(94), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(83), + }, + End: ast.Location{ + Line: int(591), + 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: nil, + }, + 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(591), + Column: int(96), + }, + End: ast.Location{ + Line: int(591), + Column: int(98), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(591), + Column: int(100), + }, + End: ast.Location{ + Line: int(591), + Column: int(102), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6422, + FreeVars: nil, + }, + 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.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(592), + Column: int(12), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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(592), + Column: int(15), + }, + End: ast.Location{ + Line: int(592), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(592), + Column: int(15), + }, + End: ast.Location{ + Line: int(592), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(592), + Column: int(15), + }, + End: ast.Location{ + Line: int(592), + 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: nil, + }, + 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(592), + Column: int(29), + }, + End: ast.Location{ + Line: int(592), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(593), + Column: int(9), + }, + End: ast.Location{ + Line: int(598), + Column: int(111), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(593), + Column: int(12), + }, + End: ast.Location{ + Line: int(593), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(12), + }, + End: ast.Location{ + Line: int(593), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(12), + }, + End: ast.Location{ + Line: int(593), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(593), + Column: int(12), + }, + End: ast.Location{ + Line: int(593), + 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: nil, + }, + 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(593), + Column: int(21), + }, + End: ast.Location{ + Line: int(593), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6489, + 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(593), + Column: int(29), + }, + End: ast.Location{ + Line: int(593), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(594), + Column: int(11), + }, + End: ast.Location{ + Line: int(595), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(17), + }, + End: ast.Location{ + Line: int(595), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + "std", + "val", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(17), + }, + End: ast.Location{ + Line: int(595), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(17), + }, + End: ast.Location{ + Line: int(595), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(594), + Column: int(17), + }, + End: ast.Location{ + Line: int(594), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(595), + Column: int(19), + }, + End: ast.Location{ + Line: int(595), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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(595), + Column: int(23), + }, + End: ast.Location{ + Line: int(595), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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(595), + Column: int(34), + }, + End: ast.Location{ + Line: int(595), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(34), + }, + End: ast.Location{ + Line: int(595), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(595), + Column: int(34), + }, + End: ast.Location{ + Line: int(595), + 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: nil, + }, + 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(595), + Column: int(43), + }, + End: ast.Location{ + Line: int(595), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6515, + 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(597), + Column: int(11), + }, + End: ast.Location{ + Line: int(598), + Column: int(111), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(597), + Column: int(31), + }, + End: ast.Location{ + Line: int(597), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6523, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Cond: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(597), + Column: int(34), + }, + End: ast.Location{ + Line: int(597), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6523, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(597), + Column: int(34), + }, + End: ast.Location{ + Line: int(597), + 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: nil, + }, + 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(597), + Column: int(50), + }, + End: ast.Location{ + Line: int(597), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6523, + FreeVars: nil, + }, + 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(597), + Column: int(59), + }, + End: ast.Location{ + Line: int(597), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6523, + FreeVars: nil, + }, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(597), + Column: int(17), + }, + End: ast.Location{ + Line: int(597), + Column: int(61), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(11), + }, + End: ast.Location{ + Line: int(598), + Column: int(111), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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(598), + Column: int(11), + }, + End: ast.Location{ + Line: int(598), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(598), + Column: int(22), + }, + End: ast.Location{ + Line: int(598), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6539, + FreeVars: ast.Identifiers{ + "val", + }, + }, + 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: p6539, + 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(598), + Column: int(29), + }, + End: ast.Location{ + Line: int(598), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6539, + FreeVars: nil, + }, + 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: p6539, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + }, + 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, + }, + Fodder: ast.Fodder{}, + Ctx: p6539, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + 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: p6539, + 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, + }, + 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: nil, + }, + 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(598), + Column: int(43), + }, + End: ast.Location{ + Line: int(598), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6554, + 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: p6554, + 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: nil, + }, + 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: p6563, + 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(598), + Column: int(58), + }, + End: ast.Location{ + Line: int(598), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6539, + 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(598), + Column: int(62), + }, + End: ast.Location{ + Line: int(598), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6539, + 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: p6539, + 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: nil, }, - File: p1, - }, - Ctx: p5791, - FreeVars: ast.Identifiers{ - "cflags", + Value: "blank", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(588), - Column: int(22), + Line: int(598), + Column: int(83), }, End: ast.Location{ - Line: int(588), - Column: int(28), + Line: int(598), + Column: int(94), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6539, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "plus", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(598), + Column: int(96), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(598), + Column: int(97), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6539, FreeVars: nil, }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "8", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(598), + Column: int(99), + }, + End: ast.Location{ + Line: int(598), + Column: int(110), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6539, + 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(599), + Column: int(12), + }, + End: ast.Location{ + Line: int(671), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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(599), + Column: int(15), + }, + End: ast.Location{ + Line: int(599), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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: p6275, + 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: nil, + }, + 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: p6275, + FreeVars: nil, + }, + 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(600), + Column: int(9), + }, + End: ast.Location{ + Line: int(610), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(600), + Column: int(12), + }, + End: ast.Location{ + Line: int(600), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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: p6275, + 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: p6275, + FreeVars: ast.Identifiers{ + "std", }, - Id: nil, }, - &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(589), - Column: int(22), + Line: int(600), + Column: int(12), }, End: ast.Location{ - Line: int(589), - Column: int(32), + Line: int(600), + Column: int(15), }, File: p1, }, - Ctx: p5791, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "cflags", + "std", }, }, - Target: &ast.Var{ + 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: nil, + }, + 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: p6607, + 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: p6275, + FreeVars: nil, + }, + 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: p6275, + 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: p6275, + 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: p6275, + 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: p6275, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(589), - Column: int(22), + Line: int(601), + Column: int(17), }, End: ast.Location{ - Line: int(589), - Column: int(28), + Line: int(601), + Column: int(45), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, }, - Id: "cflags", + Value: "Format required number at ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Index: &ast.LiteralString{ + 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(0), - Column: int(0), + Line: int(602), + Column: int(19), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(602), + Column: int(20), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: ast.Identifiers{ + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "i", }, - Id: nil, }, - &ast.Index{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(590), - Column: int(22), + Line: int(602), + Column: int(23), }, End: ast.Location{ - Line: int(590), + Line: int(602), Column: int(31), }, File: p1, }, - Ctx: p5791, + Fodder: ast.Fodder{}, + Ctx: p6275, + FreeVars: nil, + }, + 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: p6275, + 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: p6275, FreeVars: ast.Identifiers{ - "code", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(590), - Column: int(22), + Line: int(602), + Column: int(34), }, End: ast.Location{ - Line: int(590), - Column: int(26), + Line: int(602), + Column: int(37), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ - "code", + "std", }, }, - Id: "code", + Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -67560,37 +87345,664 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "caps", + 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: p6633, + 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(604), + Column: int(11), + }, + End: ast.Location{ + Line: int(610), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6275, + 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(604), + Column: int(11), + }, + End: ast.Location{ + Line: int(604), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, + 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(604), + Column: int(22), + }, + End: ast.Location{ + Line: int(604), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6643, + FreeVars: ast.Identifiers{ + "std", + "val", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(604), + Column: int(22), + }, + End: ast.Location{ + Line: int(604), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6643, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(604), + Column: int(22), + }, + End: ast.Location{ + Line: int(604), + 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: nil, + }, + 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(604), + Column: int(32), + }, + End: ast.Location{ + Line: int(604), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6652, + 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(605), + Column: int(22), + }, + End: ast.Location{ + Line: int(605), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + Comment: []string{}, + }, + }, + Ctx: p6643, + 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(606), + Column: int(22), + }, + End: ast.Location{ + Line: int(606), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(21), + Comment: []string{}, + }, + }, + Ctx: p6643, + 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(607), + Column: int(22), + }, + End: ast.Location{ + Line: int(607), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6643, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(607), + Column: int(22), + }, + End: ast.Location{ + Line: int(607), + 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: nil, + }, + 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(608), + Column: int(22), + }, + End: ast.Location{ + Line: int(608), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6643, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(608), + Column: int(22), + }, + End: ast.Location{ + Line: int(608), + 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: nil, + }, + 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(609), + Column: int(22), + }, + End: ast.Location{ + Line: int(609), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6643, + FreeVars: ast.Identifiers{ + "cflags", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(609), + Column: int(22), + }, + End: ast.Location{ + Line: int(609), + 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: nil, + }, + 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(610), + Column: int(22), + }, + End: ast.Location{ + Line: int(610), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6643, + FreeVars: ast.Identifiers{ + "code", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(610), + Column: int(22), + }, + End: ast.Location{ + Line: int(610), + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(591), + Line: int(611), Column: int(12), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(44), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -67606,18 +88018,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(591), + Line: int(611), Column: int(15), }, End: ast.Location{ - Line: int(591), + Line: int(611), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -67625,18 +88038,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(591), + Line: int(611), Column: int(15), }, End: ast.Location{ - Line: int(591), + Line: int(611), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -67644,17 +88058,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(591), + Line: int(611), Column: int(15), }, End: ast.Location{ - Line: int(591), + Line: int(611), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -67662,6 +88077,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -67676,53 +88092,68 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(591), + Line: int(611), Column: int(29), }, End: ast.Location{ - Line: int(591), + Line: int(611), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "f", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(592), + Line: int(612), Column: int(9), }, End: ast.Location{ - Line: int(602), + Line: int(622), Column: int(35), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "fpprec", @@ -67736,18 +88167,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(592), + Line: int(612), Column: int(12), }, End: ast.Location{ - Line: int(592), + Line: int(612), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -67756,18 +88188,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(592), + Line: int(612), Column: int(12), }, End: ast.Location{ - Line: int(592), + Line: int(612), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -67776,18 +88209,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(592), + Line: int(612), Column: int(12), }, End: ast.Location{ - Line: int(592), + Line: int(612), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -67795,17 +88229,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(592), + Line: int(612), Column: int(12), }, End: ast.Location{ - Line: int(592), + Line: int(612), Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -67813,6 +88248,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -67827,82 +88263,104 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(592), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(612), + Column: int(21), + }, + End: ast.Location{ + Line: int(612), + Column: int(24), + }, + File: p1, }, - End: ast.Location{ - Line: int(592), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p6709, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p5840, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(592), + Line: int(612), Column: int(29), }, End: ast.Location{ - Line: int(592), + Line: int(612), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "number", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(593), + Line: int(613), Column: int(11), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", "std", @@ -67912,18 +88370,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(593), + Line: int(613), Column: int(17), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", "std", @@ -67933,18 +88392,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(593), + Line: int(613), Column: int(17), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(31), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -67952,18 +88412,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(593), + Line: int(613), Column: int(17), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -67971,40 +88432,51 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(593), + Line: int(613), Column: int(17), }, End: ast.Location{ - Line: int(593), + Line: int(613), Column: int(45), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(594), + Line: int(614), Column: int(19), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -68012,45 +88484,50 @@ var _StdAst = &ast.DesugaredObject{ Id: "i", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(594), + Line: int(614), Column: int(23), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(31), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(594), + Line: int(614), Column: int(34), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -68059,18 +88536,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(594), + Line: int(614), Column: int(34), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(42), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -68078,17 +88556,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(594), + Line: int(614), Column: int(34), }, End: ast.Location{ - Line: int(594), + Line: int(614), Column: int(37), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -68096,6 +88575,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -68110,61 +88590,80 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(43), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(614), + Column: int(43), + }, + End: ast.Location{ + Line: int(614), + Column: int(46), + }, + File: p1, }, - End: ast.Location{ - Line: int(594), - Column: int(46), + Fodder: ast.Fodder{}, + Ctx: p6735, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p5864, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(596), + Line: int(616), Column: int(11), }, End: ast.Location{ - Line: int(602), + Line: int(622), Column: int(35), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "fpprec", @@ -68176,319 +88675,424 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(596), + Line: int(616), Column: int(11), }, End: ast.Location{ - Line: int(596), + Line: int(616), Column: int(27), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "render_float_dec", }, }, Id: "render_float_dec", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(596), - Column: int(28), - }, - End: ast.Location{ - Line: int(596), - Column: int(31), - }, - File: p1, - }, - Ctx: p5872, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(597), - Column: int(28), - }, - End: ast.Location{ - Line: int(597), - Column: int(30), - }, - File: p1, - }, - Ctx: p5872, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(28), - }, - End: ast.Location{ - Line: int(598), - Column: int(40), - }, - File: p1, - }, - Ctx: p5872, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(598), + Line: int(616), Column: int(28), }, End: ast.Location{ - Line: int(598), - Column: int(34), + Line: int(616), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6745, FreeVars: ast.Identifiers{ - "cflags", + "val", }, }, - Id: "cflags", + Id: "val", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(617), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(617), + Column: int(30), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(28), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(599), - Column: int(39), + Ctx: p6745, + FreeVars: ast.Identifiers{ + "zp", }, - File: p1, - }, - Ctx: p5872, - FreeVars: ast.Identifiers{ - "cflags", }, + Id: "zp", }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(599), + Line: int(618), Column: int(28), }, End: ast.Location{ - Line: int(599), - Column: int(34), + Line: int(618), + Column: int(40), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6745, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(618), + Column: int(28), + }, + End: ast.Location{ + Line: int(618), + 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: nil, + }, + Value: "blank", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(619), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(619), + Column: int(39), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p6745, + FreeVars: ast.Identifiers{ + "cflags", }, - End: ast.Location{ - Line: int(600), - Column: int(38), + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(619), + Column: int(28), + }, + End: ast.Location{ + Line: int(619), + 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", + }, }, - File: p1, + Id: "cflags", }, - Ctx: p5872, - FreeVars: ast.Identifiers{ - "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: nil, + }, + Value: "plus", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(600), + Line: int(620), Column: int(28), }, End: ast.Location{ - Line: int(600), - Column: int(34), + Line: int(620), + Column: int(38), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6745, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(620), + Column: int(28), + }, + End: ast.Location{ + Line: int(620), + 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: nil, + }, + Value: "alt", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(621), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(621), + Column: int(32), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + Comment: []string{}, + }, + }, + Ctx: p6745, FreeVars: nil, }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Value: true, }, - Id: nil, + CommaFodder: ast.Fodder{}, }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(28), - }, - End: ast.Location{ - Line: int(601), - Column: int(32), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(622), + Column: int(28), + }, + End: ast.Location{ + Line: int(622), + Column: int(34), + }, + File: p1, }, - File: p1, - }, - Ctx: p5872, - FreeVars: nil, - }, - Value: true, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(28), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(602), - Column: int(34), + Ctx: p6745, + FreeVars: ast.Identifiers{ + "fpprec", }, - File: p1, - }, - Ctx: p5872, - FreeVars: ast.Identifiers{ - "fpprec", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(603), + Line: int(623), Column: int(12), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(44), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -68504,18 +89108,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(603), + Line: int(623), Column: int(15), }, End: ast.Location{ - Line: int(603), + Line: int(623), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -68523,18 +89128,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(603), + Line: int(623), Column: int(15), }, End: ast.Location{ - Line: int(603), + Line: int(623), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -68542,17 +89148,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(603), + Line: int(623), Column: int(15), }, End: ast.Location{ - Line: int(603), + Line: int(623), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -68560,6 +89167,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -68574,53 +89182,68 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(603), + Line: int(623), Column: int(29), }, End: ast.Location{ - Line: int(603), + Line: int(623), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "e", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(604), + Line: int(624), Column: int(9), }, End: ast.Location{ - Line: int(615), + Line: int(635), Column: int(35), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -68635,18 +89258,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(604), + Line: int(624), Column: int(12), }, End: ast.Location{ - Line: int(604), + Line: int(624), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -68655,18 +89279,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(604), + Line: int(624), Column: int(12), }, End: ast.Location{ - Line: int(604), + Line: int(624), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -68675,18 +89300,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(604), + Line: int(624), Column: int(12), }, End: ast.Location{ - Line: int(604), + Line: int(624), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -68694,17 +89320,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(604), + Line: int(624), Column: int(12), }, End: ast.Location{ - Line: int(604), + Line: int(624), Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -68712,6 +89339,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -68726,82 +89354,104 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(624), + Column: int(21), + }, + End: ast.Location{ + Line: int(624), + Column: int(24), + }, + File: p1, }, - End: ast.Location{ - Line: int(604), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p6798, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p5917, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(604), + Line: int(624), Column: int(29), }, End: ast.Location{ - Line: int(604), + Line: int(624), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "number", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(605), + Line: int(625), Column: int(11), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", "std", @@ -68811,18 +89461,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(605), + Line: int(625), Column: int(17), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", "std", @@ -68832,18 +89483,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(605), + Line: int(625), Column: int(17), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(31), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -68851,18 +89503,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(605), + Line: int(625), Column: int(17), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -68870,40 +89523,51 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(605), + Line: int(625), Column: int(17), }, End: ast.Location{ - Line: int(605), + Line: int(625), Column: int(45), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(606), + Line: int(626), Column: int(19), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -68911,45 +89575,50 @@ var _StdAst = &ast.DesugaredObject{ Id: "i", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(606), + Line: int(626), Column: int(23), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(31), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(606), + Line: int(626), Column: int(34), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -68958,18 +89627,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(606), + Line: int(626), Column: int(34), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(42), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -68977,17 +89647,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(606), + Line: int(626), Column: int(34), }, End: ast.Location{ - Line: int(606), + Line: int(626), Column: int(37), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -68995,6 +89666,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -69009,61 +89681,80 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(43), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(626), + Column: int(43), + }, + End: ast.Location{ + Line: int(626), + Column: int(46), + }, + File: p1, }, - End: ast.Location{ - Line: int(606), - Column: int(46), + Fodder: ast.Fodder{}, + Ctx: p6824, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p5941, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(608), + Line: int(628), Column: int(11), }, End: ast.Location{ - Line: int(615), + Line: int(635), Column: int(35), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -69076,382 +89767,503 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(608), + Line: int(628), Column: int(11), }, End: ast.Location{ - Line: int(608), + Line: int(628), Column: int(27), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "render_float_sci", }, }, Id: "render_float_sci", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(28), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(628), + Column: int(28), + }, + End: ast.Location{ + Line: int(628), + Column: int(31), + }, + File: p1, }, - End: ast.Location{ - Line: int(608), - Column: int(31), + Fodder: ast.Fodder{}, + Ctx: p6834, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "val", }, + Id: "val", }, - Id: "val", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(609), - Column: int(28), - }, - End: ast.Location{ - Line: int(609), - Column: int(30), - }, - File: p1, - }, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(28), - }, - End: ast.Location{ - Line: int(610), - Column: int(40), - }, - File: p1, - }, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(610), + Line: int(629), Column: int(28), }, End: ast.Location{ - Line: int(610), - Column: int(34), + Line: int(629), + Column: int(30), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + Comment: []string{}, + }, + }, + Ctx: p6834, FreeVars: ast.Identifiers{ - "cflags", + "zp", }, }, - Id: "cflags", + Id: "zp", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(630), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(630), + Column: int(40), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6834, + FreeVars: ast.Identifiers{ + "cflags", }, - Ctx: nil, - FreeVars: nil, }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(28), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(630), + Column: int(28), + }, + End: ast.Location{ + Line: int(630), + 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", + }, }, - End: ast.Location{ - Line: int(611), - Column: int(39), + 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: nil, }, - File: p1, - }, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "cflags", + Value: "blank", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(611), + Line: int(631), Column: int(28), }, End: ast.Location{ - Line: int(611), - Column: int(34), + Line: int(631), + Column: int(39), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6834, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(631), + Column: int(28), + }, + End: ast.Location{ + Line: int(631), + Column: int(34), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "cflags", }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(28), - }, - End: ast.Location{ - Line: int(612), - Column: int(38), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - File: p1, - }, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "cflags", + Value: "plus", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(612), + Line: int(632), Column: int(28), }, End: ast.Location{ - Line: int(612), - Column: int(34), + Line: int(632), + Column: int(38), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6834, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(632), + Column: int(28), + }, + End: ast.Location{ + Line: int(632), + 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: nil, + }, + Value: "alt", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(633), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(633), + Column: int(32), }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(613), - Column: int(28), + File: p1, }, - End: ast.Location{ - Line: int(613), - Column: int(32), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + Comment: []string{}, + }, }, - File: p1, + Ctx: p6834, + FreeVars: nil, }, - Ctx: p5949, - FreeVars: nil, + Value: true, }, - Value: true, + CommaFodder: ast.Fodder{}, }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(28), - }, - End: ast.Location{ - Line: int(614), - Column: int(37), - }, - File: p1, - }, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "code", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(614), + Line: int(634), Column: int(28), }, End: ast.Location{ - Line: int(614), - Column: int(32), + Line: int(634), + Column: int(37), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6834, FreeVars: ast.Identifiers{ "code", }, }, - Id: "code", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(634), + Column: int(28), + }, + End: ast.Location{ + Line: int(634), + 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: nil, + }, + Value: "caps", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(635), + Column: int(28), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(635), + Column: int(34), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(615), - Column: int(28), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(27), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(615), - Column: int(34), + Ctx: p6834, + FreeVars: ast.Identifiers{ + "fpprec", }, - File: p1, - }, - Ctx: p5949, - FreeVars: ast.Identifiers{ - "fpprec", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(616), + Line: int(636), Column: int(12), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(44), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -69467,18 +90279,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(616), + Line: int(636), Column: int(15), }, End: ast.Location{ - Line: int(616), + Line: int(636), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -69486,18 +90299,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(616), + Line: int(636), Column: int(15), }, End: ast.Location{ - Line: int(616), + Line: int(636), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -69505,17 +90319,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(616), + Line: int(636), Column: int(15), }, End: ast.Location{ - Line: int(616), + Line: int(636), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -69523,6 +90338,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -69537,53 +90353,68 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(616), + Line: int(636), Column: int(29), }, End: ast.Location{ - Line: int(616), + Line: int(636), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "g", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(617), + Line: int(637), Column: int(9), }, End: ast.Location{ - Line: int(639), + Line: int(659), Column: int(56), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -69599,18 +90430,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(617), + Line: int(637), Column: int(12), }, End: ast.Location{ - Line: int(617), + Line: int(637), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -69619,18 +90451,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(617), + Line: int(637), Column: int(12), }, End: ast.Location{ - Line: int(617), + Line: int(637), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -69639,18 +90472,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(617), + Line: int(637), Column: int(12), }, End: ast.Location{ - Line: int(617), + Line: int(637), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -69658,17 +90492,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(617), + Line: int(637), Column: int(12), }, End: ast.Location{ - Line: int(617), + Line: int(637), Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -69676,6 +90511,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -69690,82 +90526,104 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(637), + Column: int(21), + }, + End: ast.Location{ + Line: int(637), + Column: int(24), + }, + File: p1, }, - End: ast.Location{ - Line: int(617), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p6893, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p5999, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(617), + Line: int(637), Column: int(29), }, End: ast.Location{ - Line: int(617), + Line: int(637), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "number", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(618), + Line: int(638), Column: int(11), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", "std", @@ -69775,18 +90633,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(618), + Line: int(638), Column: int(17), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", "std", @@ -69796,18 +90655,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(618), + Line: int(638), Column: int(17), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(31), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -69815,18 +90675,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(618), + Line: int(638), Column: int(17), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -69834,40 +90695,51 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(618), + Line: int(638), Column: int(17), }, End: ast.Location{ - Line: int(618), + Line: int(638), Column: int(45), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(619), + Line: int(639), Column: int(19), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "i", }, @@ -69875,45 +90747,50 @@ var _StdAst = &ast.DesugaredObject{ Id: "i", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(619), + Line: int(639), Column: int(23), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(31), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(619), + Line: int(639), Column: int(34), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(47), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -69922,18 +90799,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(619), + Line: int(639), Column: int(34), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(42), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -69941,17 +90819,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(619), + Line: int(639), Column: int(34), }, End: ast.Location{ - Line: int(619), + Line: int(639), Column: int(37), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -69959,6 +90838,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -69973,61 +90853,87 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(43), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(639), + Column: int(43), + }, + End: ast.Location{ + Line: int(639), + Column: int(46), + }, + File: p1, }, - End: ast.Location{ - Line: int(619), - Column: int(46), + Fodder: ast.Fodder{}, + Ctx: p6919, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6023, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(11), }, End: ast.Location{ - Line: int(639), + Line: int(659), Column: int(56), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -70041,22 +90947,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "exponent", + EqFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(28), }, End: ast.Location{ - Line: int(621), + Line: int(641), Column: int(74), }, File: p1, }, - Ctx: p6029, + Fodder: ast.Fodder{}, + Ctx: p6927, FreeVars: ast.Identifiers{ "std", "val", @@ -70065,18 +90974,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(28), }, End: ast.Location{ - Line: int(621), + Line: int(641), Column: int(37), }, File: p1, }, - Ctx: p6029, + Fodder: ast.Fodder{}, + Ctx: p6927, FreeVars: ast.Identifiers{ "std", }, @@ -70084,17 +90994,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(28), }, End: ast.Location{ - Line: int(621), + Line: int(641), Column: int(31), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -70102,6 +91013,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -70116,376 +91028,448 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "floor", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(38), - }, - End: ast.Location{ - Line: int(621), - Column: int(73), - }, - File: p1, - }, - Ctx: p6038, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - }, - Left: &ast.Apply{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(38), }, End: ast.Location{ - Line: int(621), - Column: int(59), + Line: int(641), + Column: int(73), }, File: p1, }, - Ctx: p6038, + Fodder: ast.Fodder{}, + Ctx: p6936, FreeVars: ast.Identifiers{ "std", "val", }, }, - Target: &ast.Index{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(38), }, End: ast.Location{ - Line: int(621), - Column: int(45), + Line: int(641), + Column: int(59), }, File: p1, }, - Ctx: p6038, + Fodder: ast.Fodder{}, + Ctx: p6936, FreeVars: ast.Identifiers{ "std", + "val", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(38), }, End: ast.Location{ - Line: int(621), - Column: int(41), + Line: int(641), + Column: int(45), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6936, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "log", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), - Column: int(46), + Line: int(641), + Column: int(38), }, End: ast.Location{ - Line: int(621), - Column: int(58), + Line: int(641), + Column: int(41), }, File: p1, }, - Ctx: p6049, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "val", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(46), - }, - End: ast.Location{ - Line: int(621), - Column: int(53), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p6049, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(46), }, End: ast.Location{ - Line: int(621), - Column: int(49), + Line: int(641), + Column: int(58), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6947, FreeVars: ast.Identifiers{ "std", + "val", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "abs", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), - Column: int(54), + Line: int(641), + Column: int(46), }, End: ast.Location{ - Line: int(621), - Column: int(57), + Line: int(641), + Column: int(53), }, File: p1, }, - Ctx: p6058, + Fodder: ast.Fodder{}, + Ctx: p6947, FreeVars: ast.Identifiers{ - "val", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(641), + Column: int(46), + }, + End: ast.Location{ + Line: int(641), + 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: nil, + }, + 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(641), + Column: int(54), + }, + End: ast.Location{ + Line: int(641), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6956, + FreeVars: ast.Identifiers{ + "val", + }, + }, + Id: "val", + }, + CommaFodder: nil, }, }, - Id: "val", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(1), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(62), }, - End: ast.Location{ - Line: int(621), - Column: int(73), - }, - File: p1, - }, - Ctx: p6038, - FreeVars: ast.Identifiers{ - "std", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Target: &ast.Index{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(1), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(62), }, End: ast.Location{ - Line: int(621), - Column: int(69), + Line: int(641), + Column: int(73), }, File: p1, }, - Ctx: p6038, + Fodder: ast.Fodder{}, + Ctx: p6936, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), + Line: int(641), Column: int(62), }, End: ast.Location{ - Line: int(621), - Column: int(65), + Line: int(641), + Column: int(69), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6936, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(641), + Column: int(62), + }, + End: ast.Location{ + Line: int(641), + Column: int(65), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "log", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(621), - Column: int(70), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(621), - Column: int(72), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p6069, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: float64(10), - OriginalString: "10", + 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(641), + Column: int(70), + }, + End: ast.Location{ + Line: int(641), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6967, + FreeVars: nil, + }, + OriginalString: "10", + }, + CommaFodder: nil, + }, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + 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(641), + Column: int(17), + }, + End: ast.Location{ + Line: int(641), + Column: int(74), + }, + File: p1, + }, }, }, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(11), }, End: ast.Location{ - Line: int(639), + Line: int(659), Column: int(56), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -70501,18 +91485,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(14), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(49), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "exponent", "fpprec", @@ -70521,18 +91506,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(14), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(27), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "exponent", }, @@ -70540,81 +91526,86 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(14), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(22), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "exponent", }, }, Id: "exponent", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(9), Right: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(25), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(27), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Op: ast.UnaryOp(3), Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(26), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(27), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, - Value: float64(4), OriginalString: "4", }, }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(18), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(31), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(49), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "exponent", "fpprec", @@ -70623,40 +91614,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(31), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(39), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "exponent", }, }, Id: "exponent", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(622), + Line: int(642), Column: int(43), }, End: ast.Location{ - Line: int(622), + Line: int(642), Column: int(49), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "fpprec", }, @@ -70665,21 +91659,23 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(623), + Line: int(643), Column: int(13), }, End: ast.Location{ - Line: int(630), + Line: int(650), Column: int(41), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "code", @@ -70692,466 +91688,601 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(623), + Line: int(643), Column: int(13), }, End: ast.Location{ - Line: int(623), + Line: int(643), Column: int(29), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "render_float_sci", }, }, Id: "render_float_sci", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(30), - }, - End: ast.Location{ - Line: int(623), - Column: int(33), - }, - File: p1, - }, - Ctx: p6092, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(624), - Column: int(30), - }, - End: ast.Location{ - Line: int(624), - Column: int(32), - }, - File: p1, - }, - Ctx: p6092, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(625), - Column: int(30), - }, - End: ast.Location{ - Line: int(625), - Column: int(42), - }, - File: p1, - }, - Ctx: p6092, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(625), + Line: int(643), Column: int(30), }, End: ast.Location{ - Line: int(625), - Column: int(36), + Line: int(643), + Column: int(33), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6992, FreeVars: ast.Identifiers{ - "cflags", + "val", }, }, - Id: "cflags", + Id: "val", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(644), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(644), + Column: int(32), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(626), - Column: int(30), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(626), - Column: int(41), + Ctx: p6992, + FreeVars: ast.Identifiers{ + "zp", }, - File: p1, - }, - Ctx: p6092, - FreeVars: ast.Identifiers{ - "cflags", }, + Id: "zp", }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(626), + Line: int(645), Column: int(30), }, End: ast.Location{ - Line: int(626), - Column: int(36), + Line: int(645), + Column: int(42), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6992, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(645), + Column: int(30), + }, + End: ast.Location{ + Line: int(645), + Column: int(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "cflags", }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(627), - Column: int(30), - }, - End: ast.Location{ - Line: int(627), - Column: int(40), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - File: p1, - }, - Ctx: p6092, - FreeVars: ast.Identifiers{ - "cflags", + Value: "blank", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(627), + Line: int(646), Column: int(30), }, End: ast.Location{ - Line: int(627), - Column: int(36), + Line: int(646), + Column: int(41), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6992, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(646), + Column: int(30), + }, + End: ast.Location{ + Line: int(646), + Column: int(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "cflags", }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(628), - Column: int(30), - }, - End: ast.Location{ - Line: int(628), - Column: int(40), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - File: p1, - }, - Ctx: p6092, - FreeVars: ast.Identifiers{ - "cflags", + Value: "plus", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(628), + Line: int(647), Column: int(30), }, End: ast.Location{ - Line: int(628), - Column: int(36), + Line: int(647), + Column: int(40), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6992, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(647), + Column: int(30), + }, + End: ast.Location{ + Line: int(647), + 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: nil, + }, + Value: "alt", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(648), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(648), + Column: int(40), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(629), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p6992, + FreeVars: ast.Identifiers{ + "cflags", }, - End: ast.Location{ - Line: int(629), - Column: int(39), + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(648), + Column: int(30), + }, + End: ast.Location{ + Line: int(648), + 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", + }, }, - File: p1, + Id: "cflags", }, - Ctx: p6092, - 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: nil, + }, + Value: "alt", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(629), + Line: int(649), Column: int(30), }, End: ast.Location{ - Line: int(629), - Column: int(34), + Line: int(649), + Column: int(39), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p6992, FreeVars: ast.Identifiers{ "code", }, }, - Id: "code", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(649), + Column: int(30), + }, + End: ast.Location{ + Line: int(649), + Column: int(34), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "code", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "code", }, - Value: "caps", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(30), - }, - End: ast.Location{ - Line: int(630), - Column: int(40), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - File: p1, - }, - Ctx: p6092, - FreeVars: ast.Identifiers{ - "fpprec", + Value: "caps", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(630), + Line: int(650), Column: int(30), }, End: ast.Location{ - Line: int(630), - Column: int(36), + Line: int(650), + Column: int(40), }, File: p1, }, - Ctx: p6092, + Fodder: ast.Fodder{}, + Ctx: p6992, FreeVars: ast.Identifiers{ "fpprec", }, }, - Id: "fpprec", - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(39), + Left: &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(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(630), - Column: int(40), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: p6992, + FreeVars: ast.Identifiers{ + "fpprec", }, - File: p1, }, - Ctx: p6092, - FreeVars: nil, + Id: "fpprec", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(4), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(650), + Column: int(39), + }, + End: ast.Location{ + Line: int(650), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p6992, + FreeVars: nil, + }, + OriginalString: "1", }, - Value: float64(1), - 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: "", + FileName: "", Begin: ast.Location{ - Line: int(632), + Line: int(652), Column: int(13), }, End: ast.Location{ - Line: int(639), + Line: int(659), Column: int(56), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "exponent", @@ -71164,22 +92295,25 @@ var _StdAst = &ast.DesugaredObject{ }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(632), + Line: int(652), Column: int(38), }, End: ast.Location{ - Line: int(632), + Line: int(652), Column: int(62), }, File: p1, }, - Ctx: p6130, + Fodder: ast.Fodder{}, + Ctx: p7039, FreeVars: ast.Identifiers{ "exponent", "std", @@ -71188,18 +92322,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(632), + Line: int(652), Column: int(38), }, End: ast.Location{ - Line: int(632), + Line: int(652), Column: int(45), }, File: p1, }, - Ctx: p6130, + Fodder: ast.Fodder{}, + Ctx: p7039, FreeVars: ast.Identifiers{ "std", }, @@ -71207,17 +92342,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(632), + Line: int(652), Column: int(38), }, End: ast.Location{ - Line: int(632), + Line: int(652), Column: int(41), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -71225,6 +92361,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -71239,123 +92376,152 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "max", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(46), - }, - End: ast.Location{ - Line: int(632), - Column: int(47), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(652), + Column: int(46), + }, + End: ast.Location{ + Line: int(652), + Column: int(47), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p7048, + FreeVars: nil, }, - Ctx: p6139, - FreeVars: nil, + OriginalString: "1", }, - Value: float64(1), - OriginalString: "1", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(49), - }, - End: ast.Location{ - Line: int(632), - Column: int(61), - }, - File: p1, - }, - Ctx: p6139, - FreeVars: ast.Identifiers{ - "exponent", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(632), + Line: int(652), Column: int(49), }, End: ast.Location{ - Line: int(632), - Column: int(57), + Line: int(652), + Column: int(61), }, File: p1, }, - Ctx: p6139, + Fodder: ast.Fodder{}, + Ctx: p7048, FreeVars: ast.Identifiers{ "exponent", }, }, - Id: "exponent", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(60), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(652), + Column: int(49), + }, + End: ast.Location{ + Line: int(652), + Column: int(57), + }, + File: p1, }, - End: ast.Location{ - Line: int(632), - Column: int(61), + Fodder: ast.Fodder{}, + Ctx: p7048, + FreeVars: ast.Identifiers{ + "exponent", }, - File: p1, }, - Ctx: p6139, - FreeVars: nil, + Id: "exponent", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(652), + Column: int(60), + }, + End: ast.Location{ + Line: int(652), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7048, + FreeVars: nil, + }, + OriginalString: "1", }, - Value: float64(1), - 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(652), + Column: int(19), + }, + End: ast.Location{ + Line: int(652), + Column: int(62), + }, + File: p1, + }, }, }, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(633), + Line: int(653), Column: int(13), }, End: ast.Location{ - Line: int(639), + Line: int(659), Column: int(56), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "cflags", "digits_before_pt", @@ -71368,409 +92534,522 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(633), + Line: int(653), Column: int(13), }, End: ast.Location{ - Line: int(633), + Line: int(653), Column: int(29), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "render_float_dec", }, }, Id: "render_float_dec", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(30), - }, - End: ast.Location{ - Line: int(633), - Column: int(33), - }, - File: p1, - }, - Ctx: p6151, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(634), - Column: int(30), - }, - End: ast.Location{ - Line: int(634), - Column: int(32), - }, - File: p1, - }, - Ctx: p6151, - FreeVars: ast.Identifiers{ - "zp", - }, - }, - Id: "zp", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(635), - Column: int(30), - }, - End: ast.Location{ - Line: int(635), - Column: int(42), - }, - File: p1, - }, - Ctx: p6151, - FreeVars: ast.Identifiers{ - "cflags", - }, - }, - Target: &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(635), + Line: int(653), Column: int(30), }, End: ast.Location{ - Line: int(635), - Column: int(36), + Line: int(653), + Column: int(33), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7061, FreeVars: ast.Identifiers{ - "cflags", + "val", }, }, - Id: "cflags", + Id: "val", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(654), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(654), + Column: int(32), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "blank", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(636), - Column: int(30), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(636), - Column: int(41), + Ctx: p7061, + FreeVars: ast.Identifiers{ + "zp", }, - File: p1, - }, - Ctx: p6151, - FreeVars: ast.Identifiers{ - "cflags", }, + Id: "zp", }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(636), + Line: int(655), Column: int(30), }, End: ast.Location{ - Line: int(636), - Column: int(36), + Line: int(655), + Column: int(42), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7061, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "cflags", }, - Value: "sign", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(637), - Column: int(30), - }, - End: ast.Location{ - Line: int(637), - Column: int(40), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - File: p1, - }, - Ctx: p6151, - FreeVars: ast.Identifiers{ - "cflags", + Value: "blank", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(637), + Line: int(656), Column: int(30), }, End: ast.Location{ - Line: int(637), - Column: int(36), + Line: int(656), + Column: int(41), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7061, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "cflags", }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(638), - Column: int(30), - }, - End: ast.Location{ - Line: int(638), - Column: int(40), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - File: p1, - }, - Ctx: p6151, - FreeVars: ast.Identifiers{ - "cflags", + Value: "plus", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(638), + Line: int(657), Column: int(30), }, End: ast.Location{ - Line: int(638), - Column: int(36), + Line: int(657), + Column: int(40), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7061, FreeVars: ast.Identifiers{ "cflags", }, }, - Id: "cflags", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cflags", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "cflags", }, - Value: "alt", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(639), - Column: int(30), - }, - End: ast.Location{ - Line: int(639), - Column: int(55), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - File: p1, - }, - Ctx: p6151, - FreeVars: ast.Identifiers{ - "digits_before_pt", - "fpprec", + Value: "alt", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(639), + Line: int(658), Column: int(30), }, End: ast.Location{ - Line: int(639), - Column: int(36), + Line: int(658), + Column: int(40), }, File: p1, }, - Ctx: p6151, + Fodder: ast.Fodder{}, + Ctx: p7061, FreeVars: ast.Identifiers{ - "fpprec", + "cflags", }, }, - Id: "fpprec", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(658), + Column: int(30), + }, + End: ast.Location{ + Line: int(658), + 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: nil, + }, + Value: "alt", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(639), - Column: int(39), + Line: int(659), + Column: int(30), }, End: ast.Location{ - Line: int(639), + Line: int(659), Column: int(55), }, File: p1, }, - Ctx: p6151, + Fodder: ast.Fodder{}, + Ctx: p7061, FreeVars: ast.Identifiers{ "digits_before_pt", + "fpprec", }, }, - Id: "digits_before_pt", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(659), + Column: int(30), + }, + End: ast.Location{ + Line: int(659), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(29), + Comment: []string{}, + }, + }, + Ctx: p7061, + 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(659), + Column: int(39), + }, + End: ast.Location{ + Line: int(659), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7061, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(640), + Line: int(660), Column: int(12), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(44), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", "std", @@ -71780,18 +93059,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(640), + Line: int(660), Column: int(15), }, End: ast.Location{ - Line: int(640), + Line: int(660), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -71799,18 +93079,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(640), + Line: int(660), Column: int(15), }, End: ast.Location{ - Line: int(640), + Line: int(660), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -71818,17 +93099,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(640), + Line: int(660), Column: int(15), }, End: ast.Location{ - Line: int(640), + Line: int(660), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -71836,6 +93118,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -71850,53 +93133,68 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(640), + Line: int(660), Column: int(29), }, End: ast.Location{ - Line: int(640), + Line: int(660), Column: int(32), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "c", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(641), + Line: int(661), Column: int(9), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(69), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -71905,18 +93203,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(641), + Line: int(661), Column: int(12), }, End: ast.Location{ - Line: int(641), + Line: int(661), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -71925,18 +93224,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(641), + Line: int(661), Column: int(12), }, End: ast.Location{ - Line: int(641), + Line: int(661), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -71945,18 +93245,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(641), + Line: int(661), Column: int(12), }, End: ast.Location{ - Line: int(641), + Line: int(661), Column: int(20), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -71964,17 +93265,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(641), + Line: int(661), Column: int(12), }, End: ast.Location{ - Line: int(641), + Line: int(661), Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -71982,6 +93284,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -71996,82 +93299,97 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(641), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(661), + Column: int(21), + }, + End: ast.Location{ + Line: int(661), + Column: int(24), + }, + File: p1, }, - End: ast.Location{ - Line: int(641), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p7122, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6204, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(641), + Line: int(661), Column: int(29), }, End: ast.Location{ - Line: int(641), + Line: int(661), Column: int(37), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "number", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(642), + Line: int(662), Column: int(11), }, End: ast.Location{ - Line: int(642), + Line: int(662), Column: int(24), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72080,18 +93398,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(642), + Line: int(662), Column: int(11), }, End: ast.Location{ - Line: int(642), + Line: int(662), Column: int(19), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -72099,17 +93418,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(642), + Line: int(662), Column: int(11), }, End: ast.Location{ - Line: int(642), + Line: int(662), 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", @@ -72117,6 +93444,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -72131,59 +93459,78 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "char", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(642), - Column: int(20), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(662), + Column: int(20), + }, + End: ast.Location{ + Line: int(662), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(642), - Column: int(23), + Fodder: ast.Fodder{}, + Ctx: p7135, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6216, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(643), + Line: int(663), Column: int(14), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(69), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72192,18 +93539,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(643), + Line: int(663), Column: int(17), }, End: ast.Location{ - Line: int(643), + Line: int(663), Column: int(42), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72212,18 +93560,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(643), + Line: int(663), Column: int(17), }, End: ast.Location{ - Line: int(643), + Line: int(663), Column: int(30), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72232,18 +93581,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(643), + Line: int(663), Column: int(17), }, End: ast.Location{ - Line: int(643), + Line: int(663), Column: int(25), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -72251,17 +93601,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(643), + Line: int(663), Column: int(17), }, End: ast.Location{ - Line: int(643), + Line: int(663), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -72269,6 +93620,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -72283,82 +93635,104 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(26), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(663), + Column: int(26), + }, + End: ast.Location{ + Line: int(663), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(643), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p7151, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6231, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(643), + Line: int(663), Column: int(34), }, End: ast.Location{ - Line: int(643), + Line: int(663), Column: int(42), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, Value: "string", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(644), + Line: int(664), Column: int(11), }, End: ast.Location{ - Line: int(647), + Line: int(667), Column: int(71), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72367,18 +93741,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(644), + Line: int(664), Column: int(14), }, End: ast.Location{ - Line: int(644), + Line: int(664), Column: int(34), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72387,18 +93762,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(644), + Line: int(664), Column: int(14), }, End: ast.Location{ - Line: int(644), + Line: int(664), Column: int(29), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72407,18 +93783,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(644), + Line: int(664), Column: int(14), }, End: ast.Location{ - Line: int(644), + Line: int(664), Column: int(24), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -72426,17 +93803,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(644), + Line: int(664), Column: int(14), }, End: ast.Location{ - Line: int(644), + Line: int(664), Column: int(17), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -72444,6 +93822,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -72458,102 +93837,138 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(25), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(664), + Column: int(25), + }, + End: ast.Location{ + Line: int(664), + Column: int(28), + }, + File: p1, }, - End: ast.Location{ - Line: int(644), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p7168, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6247, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(644), + Line: int(664), Column: int(33), }, End: ast.Location{ - Line: int(644), + Line: int(664), Column: int(34), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(645), + Line: int(665), Column: int(13), }, End: ast.Location{ - Line: int(645), + Line: int(665), Column: int(16), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p6275, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(647), + Line: int(667), Column: int(13), }, End: ast.Location{ - Line: int(647), + Line: int(667), Column: int(71), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72562,18 +93977,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(647), + Line: int(667), Column: int(19), }, End: ast.Location{ - Line: int(647), + Line: int(667), Column: int(71), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72582,40 +93998,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(647), + Line: int(667), Column: int(19), }, End: ast.Location{ - Line: int(647), + Line: int(667), Column: int(53), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(647), + Line: int(667), Column: int(56), }, End: ast.Location{ - Line: int(647), + Line: int(667), Column: int(71), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72624,18 +94044,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(647), + Line: int(667), Column: int(56), }, End: ast.Location{ - Line: int(647), + Line: int(667), Column: int(66), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -72643,17 +94064,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(647), + Line: int(667), Column: int(56), }, End: ast.Location{ - Line: int(647), + Line: int(667), Column: int(59), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -72661,6 +94083,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -72675,62 +94098,88 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(647), - Column: int(67), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(667), + Column: int(67), + }, + End: ast.Location{ + Line: int(667), + Column: int(70), + }, + File: p1, }, - End: ast.Location{ - Line: int(647), - Column: int(70), + Fodder: ast.Fodder{}, + Ctx: p7190, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6266, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(649), + Line: int(669), Column: int(11), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(69), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72739,18 +94188,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(649), + Line: int(669), Column: int(17), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(69), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72759,40 +94209,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(649), + Line: int(669), Column: int(17), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(53), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(649), + Line: int(669), Column: int(56), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(69), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", "val", @@ -72801,18 +94255,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(649), + Line: int(669), Column: int(56), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(64), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "std", }, @@ -72820,17 +94275,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(649), + Line: int(669), Column: int(56), }, End: ast.Location{ - Line: int(649), + Line: int(669), Column: int(59), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -72838,6 +94294,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -72852,63 +94309,89 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(65), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(669), + Column: int(65), + }, + End: ast.Location{ + Line: int(669), + Column: int(68), + }, + File: p1, }, - End: ast.Location{ - Line: int(649), - Column: int(68), + Fodder: ast.Fodder{}, + Ctx: p7208, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6282, - FreeVars: ast.Identifiers{ - "val", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(651), + Line: int(671), Column: int(9), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(44), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -72916,18 +94399,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(651), + Line: int(671), Column: int(15), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(44), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -72935,40 +94419,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(651), + Line: int(671), Column: int(15), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(31), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(651), + Line: int(671), Column: int(34), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(44), }, File: p1, }, - Ctx: p5495, + Fodder: ast.Fodder{}, + Ctx: p6275, FreeVars: ast.Identifiers{ "code", }, @@ -72976,17 +94464,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(651), + Line: int(671), Column: int(34), }, End: ast.Location{ - Line: int(651), + Line: int(671), Column: int(38), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -72994,6 +94483,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -73008,13 +94498,16 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "ctype", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, }, @@ -73033,23 +94526,52 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(654), + Line: int(674), Column: int(5), }, End: ast.Location{ - Line: int(754), + Line: int(774), Column: int(48), }, File: p1, }, - Ctx: p2910, + 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: p3497, FreeVars: ast.Identifiers{ "codes", "format_code", @@ -73061,22 +94583,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "format_codes_arr", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(654), + Line: int(674), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6298, + Fodder: nil, + Ctx: p7228, FreeVars: ast.Identifiers{ "format_code", "format_codes_arr", @@ -73085,32 +94610,129 @@ var _StdAst = &ast.DesugaredObject{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "codes", - "arr", - "i", - "j", - "v", + 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(674), + Column: int(28), + }, + End: ast.Location{ + Line: int(674), + 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(674), + Column: int(35), + }, + End: ast.Location{ + Line: int(674), + 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(674), + Column: int(40), + }, + End: ast.Location{ + Line: int(674), + 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(674), + Column: int(43), + }, + End: ast.Location{ + Line: int(674), + 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(674), + Column: int(46), + }, + End: ast.Location{ + Line: int(674), + Column: int(47), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(655), + Line: int(675), Column: int(7), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "codes", @@ -73127,18 +94749,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(655), + Line: int(675), Column: int(10), }, End: ast.Location{ - Line: int(655), + Line: int(675), Column: int(32), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "codes", "i", @@ -73148,40 +94771,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(655), + Line: int(675), Column: int(10), }, End: ast.Location{ - Line: int(655), + Line: int(675), Column: int(11), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(655), + Line: int(675), Column: int(15), }, End: ast.Location{ - Line: int(655), + Line: int(675), Column: int(32), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "codes", "std", @@ -73190,18 +94816,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(655), + Line: int(675), Column: int(15), }, End: ast.Location{ - Line: int(655), + Line: int(675), Column: int(25), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "std", }, @@ -73209,17 +94836,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(655), + Line: int(675), Column: int(15), }, End: ast.Location{ - Line: int(655), + Line: int(675), Column: int(18), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -73227,6 +94855,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -73241,60 +94870,79 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(26), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(675), + Column: int(26), + }, + End: ast.Location{ + Line: int(675), + Column: int(31), + }, + File: p1, }, - End: ast.Location{ - Line: int(655), - Column: int(31), + Fodder: ast.Fodder{}, + Ctx: p7248, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p6317, - FreeVars: ast.Identifiers{ - "codes", }, + Id: "codes", }, - 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: "", + FileName: "", Begin: ast.Location{ - Line: int(656), + Line: int(676), Column: int(9), }, End: ast.Location{ - Line: int(659), + Line: int(679), Column: int(12), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "j", @@ -73305,18 +94953,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(656), + Line: int(676), Column: int(12), }, End: ast.Location{ - Line: int(656), + Line: int(676), Column: int(31), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "j", @@ -73326,40 +94975,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(656), + Line: int(676), Column: int(12), }, End: ast.Location{ - Line: int(656), + Line: int(676), Column: int(13), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "j", }, }, Id: "j", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(9), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(656), + Line: int(676), Column: int(16), }, End: ast.Location{ - Line: int(656), + Line: int(676), Column: int(31), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "std", @@ -73368,18 +95020,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(656), + Line: int(676), Column: int(16), }, End: ast.Location{ - Line: int(656), + Line: int(676), Column: int(26), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "std", }, @@ -73387,17 +95040,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(656), + Line: int(676), Column: int(16), }, End: ast.Location{ - Line: int(656), + Line: int(676), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -73405,6 +95059,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -73419,60 +95074,79 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(27), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(676), + Column: int(27), + }, + End: ast.Location{ + Line: int(676), + Column: int(30), + }, + File: p1, }, - End: ast.Location{ - Line: int(656), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p7266, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6334, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(11), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(86), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "j", @@ -73482,18 +95156,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(18), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(85), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "j", @@ -73503,18 +95178,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(18), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(81), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "std", @@ -73523,18 +95199,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(18), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(65), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "std", @@ -73543,40 +95220,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(18), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(47), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: nil, }, Value: "Too many 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: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(50), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(65), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "std", @@ -73585,18 +95266,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(50), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(60), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "std", }, @@ -73604,17 +95286,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(50), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(53), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -73622,6 +95305,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -73636,84 +95320,99 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(61), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(677), + Column: int(61), + }, + End: ast.Location{ + Line: int(677), + Column: int(64), + }, + File: p1, }, - End: ast.Location{ - Line: int(657), - Column: int(64), + Fodder: ast.Fodder{}, + Ctx: p7287, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6354, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(68), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(81), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: nil, }, Value: ", expected ", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(657), + Line: int(677), Column: int(84), }, End: ast.Location{ - Line: int(657), + Line: int(677), Column: int(85), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "j", }, @@ -73722,21 +95421,37 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(659), + Line: int(679), Column: int(11), }, End: ast.Location{ - Line: int(659), + Line: int(679), Column: int(12), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "v", }, @@ -73744,21 +95459,37 @@ var _StdAst = &ast.DesugaredObject{ Id: "v", }, }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(661), + Line: int(681), Column: int(9), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "codes", @@ -73774,22 +95505,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "code", + EqFodder: ast.Fodder{}, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(661), + Line: int(681), Column: int(22), }, End: ast.Location{ - Line: int(661), + Line: int(681), Column: int(30), }, File: p1, }, - Ctx: p6365, + Fodder: ast.Fodder{}, + Ctx: p7302, FreeVars: ast.Identifiers{ "codes", "i", @@ -73798,65 +95532,90 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(661), + Line: int(681), Column: int(22), }, End: ast.Location{ - Line: int(661), + Line: int(681), Column: int(27), }, File: p1, }, - Ctx: p6365, + Fodder: ast.Fodder{}, + Ctx: p7302, FreeVars: ast.Identifiers{ "codes", }, }, Id: "codes", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(661), + Line: int(681), Column: int(28), }, End: ast.Location{ - Line: int(661), + Line: int(681), Column: int(29), }, File: p1, }, - Ctx: p6365, + Fodder: ast.Fodder{}, + Ctx: p7302, 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(681), + Column: int(15), + }, + End: ast.Location{ + Line: int(681), + Column: int(30), + }, + File: p1, + }, }, }, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(662), + Line: int(682), Column: int(9), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -73874,18 +95633,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(662), + Line: int(682), Column: int(12), }, End: ast.Location{ - Line: int(662), + Line: int(682), Column: int(38), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "code", "std", @@ -73894,18 +95654,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(662), + Line: int(682), Column: int(12), }, End: ast.Location{ - Line: int(662), + Line: int(682), Column: int(26), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "code", "std", @@ -73914,18 +95675,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(662), + Line: int(682), Column: int(12), }, End: ast.Location{ - Line: int(662), + Line: int(682), Column: int(20), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "std", }, @@ -73933,17 +95695,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(662), + Line: int(682), Column: int(12), }, End: ast.Location{ - Line: int(662), + Line: int(682), Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -73951,6 +95714,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -73965,82 +95729,97 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(662), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(682), + Column: int(21), + }, + End: ast.Location{ + Line: int(682), + Column: int(25), + }, + File: p1, }, - End: ast.Location{ - Line: int(662), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p7322, + FreeVars: ast.Identifiers{ + "code", }, - File: p1, - }, - Ctx: p6384, - FreeVars: ast.Identifiers{ - "code", }, + Id: "code", }, - 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: "", + FileName: "", Begin: ast.Location{ - Line: int(662), + Line: int(682), Column: int(30), }, End: ast.Location{ - Line: int(662), + Line: int(682), Column: int(38), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: nil, }, Value: "string", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(663), + Line: int(683), Column: int(11), }, End: ast.Location{ - Line: int(663), + Line: int(683), Column: int(59), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -74054,236 +95833,288 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(663), + Line: int(683), Column: int(11), }, End: ast.Location{ - Line: int(663), + Line: int(683), Column: int(27), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "format_codes_arr", }, }, Id: "format_codes_arr", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(28), - }, - End: ast.Location{ - Line: int(663), - Column: int(33), - }, - File: p1, - }, - Ctx: p6393, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(35), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(28), + }, + End: ast.Location{ + Line: int(683), + Column: int(33), + }, + File: p1, }, - End: ast.Location{ - Line: int(663), - Column: int(38), + Fodder: ast.Fodder{}, + Ctx: p7332, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p6393, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "codes", }, - Id: "arr", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(40), - }, - End: ast.Location{ - Line: int(663), - Column: int(45), - }, - File: p1, - }, - Ctx: p6393, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(663), - Column: int(40), + Line: int(683), + Column: int(35), }, End: ast.Location{ - Line: int(663), - Column: int(41), + Line: int(683), + Column: int(38), }, File: p1, }, - Ctx: p6393, + Fodder: ast.Fodder{}, + Ctx: p7332, FreeVars: ast.Identifiers{ - "i", + "arr", }, }, - Id: "i", + Id: "arr", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(663), - Column: int(44), + Line: int(683), + Column: int(40), }, End: ast.Location{ - Line: int(663), + Line: int(683), Column: int(45), }, File: p1, }, - Ctx: p6393, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(47), - }, - End: ast.Location{ - Line: int(663), - Column: int(48), + Fodder: ast.Fodder{}, + Ctx: p7332, + FreeVars: ast.Identifiers{ + "i", }, - File: p1, }, - Ctx: p6393, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(50), - }, - End: ast.Location{ - Line: int(663), - Column: int(58), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(40), + }, + End: ast.Location{ + Line: int(683), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7332, + FreeVars: ast.Identifiers{ + "i", + }, }, - File: p1, + Id: "i", }, - Ctx: p6393, - FreeVars: ast.Identifiers{ - "code", - "v", + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(44), + }, + End: ast.Location{ + Line: int(683), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7332, + FreeVars: nil, + }, + OriginalString: "1", }, }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(663), - Column: int(50), + Line: int(683), + Column: int(47), }, End: ast.Location{ - Line: int(663), - Column: int(51), + Line: int(683), + Column: int(48), }, File: p1, }, - Ctx: p6393, + Fodder: ast.Fodder{}, + Ctx: p7332, FreeVars: ast.Identifiers{ - "v", + "j", }, }, - Id: "v", + Id: "j", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(663), - Column: int(54), + Line: int(683), + Column: int(50), }, End: ast.Location{ - Line: int(663), + Line: int(683), Column: int(58), }, File: p1, }, - Ctx: p6393, + Fodder: ast.Fodder{}, + Ctx: p7332, FreeVars: ast.Identifiers{ "code", + "v", }, }, - Id: "code", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(683), + Column: int(50), + }, + End: ast.Location{ + Line: int(683), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7332, + 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(683), + Column: int(54), + }, + End: ast.Location{ + Line: int(683), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7332, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(665), + Line: int(685), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -74300,22 +96131,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "tmp", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(665), + Line: int(685), Column: int(23), }, End: ast.Location{ - Line: int(674), + Line: int(694), Column: int(12), }, File: p1, }, - Ctx: p6414, + Fodder: ast.Fodder{}, + Ctx: p7355, FreeVars: ast.Identifiers{ "arr", "code", @@ -74326,18 +96160,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(665), + Line: int(685), Column: int(26), }, End: ast.Location{ - Line: int(665), + Line: int(685), Column: int(40), }, File: p1, }, - Ctx: p6414, + Fodder: ast.Fodder{}, + Ctx: p7355, FreeVars: ast.Identifiers{ "code", }, @@ -74345,18 +96180,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(665), + Line: int(685), Column: int(26), }, End: ast.Location{ - Line: int(665), + Line: int(685), Column: int(33), }, File: p1, }, - Ctx: p6414, + Fodder: ast.Fodder{}, + Ctx: p7355, FreeVars: ast.Identifiers{ "code", }, @@ -74364,17 +96200,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(665), + Line: int(685), Column: int(26), }, End: ast.Location{ - Line: int(665), + Line: int(685), Column: int(30), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -74382,6 +96219,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -74396,53 +96234,61 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(665), + Line: int(685), Column: int(37), }, End: ast.Location{ - Line: int(665), + Line: int(685), Column: int(40), }, File: p1, }, - Ctx: p6414, + Fodder: ast.Fodder{}, + Ctx: p7355, FreeVars: nil, }, Value: "*", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(665), + Line: int(685), Column: int(46), }, End: ast.Location{ - Line: int(671), + Line: int(691), Column: int(12), }, File: p1, }, - Ctx: p6414, + Fodder: ast.Fodder{}, + Ctx: p7355, FreeVars: ast.Identifiers{ "arr", "j", @@ -74467,28 +96313,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "j", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(666), + Line: int(686), Column: int(16), }, End: ast.Location{ - Line: int(666), + Line: int(686), Column: int(21), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "j", }, @@ -74496,47 +96345,61 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(666), + Line: int(686), Column: int(16), }, End: ast.Location{ - Line: int(666), + Line: int(686), Column: int(17), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "j", }, }, Id: "j", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(666), + Line: int(686), Column: int(20), }, End: ast.Location{ - Line: int(666), + Line: int(686), Column: int(21), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(686), + Column: int(13), + }, + End: ast.Location{ + Line: int(686), + Column: int(21), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(1), @@ -74554,28 +96417,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "fw", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(667), + Line: int(687), Column: int(17), }, End: ast.Location{ - Line: int(670), + Line: int(690), Column: int(21), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "j", @@ -74585,18 +96451,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(667), + Line: int(687), Column: int(20), }, End: ast.Location{ - Line: int(667), + Line: int(687), Column: int(40), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "j", @@ -74606,40 +96473,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(667), + Line: int(687), Column: int(20), }, End: ast.Location{ - Line: int(667), + Line: int(687), Column: int(21), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "j", }, }, Id: "j", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(667), + Line: int(687), Column: int(25), }, End: ast.Location{ - Line: int(667), + Line: int(687), Column: int(40), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "std", @@ -74648,18 +96518,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(667), + Line: int(687), Column: int(25), }, End: ast.Location{ - Line: int(667), + Line: int(687), Column: int(35), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "std", }, @@ -74667,17 +96538,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(667), + Line: int(687), Column: int(25), }, End: ast.Location{ - Line: int(667), + Line: int(687), Column: int(28), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -74685,6 +96557,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -74699,60 +96572,79 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(36), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(687), + Column: int(36), + }, + End: ast.Location{ + Line: int(687), + Column: int(39), + }, + File: p1, }, - End: ast.Location{ - Line: int(667), - Column: int(39), + Fodder: ast.Fodder{}, + Ctx: p7391, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6450, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(15), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(101), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "j", @@ -74762,18 +96654,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(22), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(100), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "j", @@ -74783,18 +96676,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(22), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(96), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "std", @@ -74803,18 +96697,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(22), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(71), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "std", @@ -74823,40 +96718,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(22), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(53), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(56), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(71), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "std", @@ -74865,18 +96764,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(56), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(66), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "std", }, @@ -74884,17 +96784,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(56), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(59), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -74902,6 +96803,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -74916,84 +96818,99 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(67), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(688), + Column: int(67), + }, + End: ast.Location{ + Line: int(688), + Column: int(70), + }, + File: p1, }, - End: ast.Location{ - Line: int(668), - Column: int(70), + Fodder: ast.Fodder{}, + Ctx: p7412, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6470, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(74), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(96), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(668), + Line: int(688), Column: int(99), }, End: ast.Location{ - Line: int(668), + Line: int(688), Column: int(100), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "j", }, @@ -75002,21 +96919,30 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(670), + Line: int(690), Column: int(15), }, End: ast.Location{ - Line: int(670), + Line: int(690), Column: int(21), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", "j", @@ -75025,68 +96951,93 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(670), + Line: int(690), Column: int(15), }, End: ast.Location{ - Line: int(670), + Line: int(690), Column: int(18), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7370, FreeVars: ast.Identifiers{ "arr", }, }, Id: "arr", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(670), + Line: int(690), Column: int(19), }, End: ast.Location{ - Line: int(670), + Line: int(690), Column: int(20), }, File: p1, }, - Ctx: p6429, + Fodder: ast.Fodder{}, + Ctx: p7370, FreeVars: ast.Identifiers{ "j", }, }, Id: "j", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(687), + Column: int(13), + }, + End: ast.Location{ + Line: int(690), + Column: int(21), + }, + File: p1, + }, }, }, Locals: ast.LocalBinds{}, }, + ElseFodder: ast.Fodder{}, BranchFalse: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(671), + Line: int(691), Column: int(18), }, End: ast.Location{ - Line: int(674), + Line: int(694), Column: int(12), }, File: p1, }, - Ctx: p6414, + Fodder: ast.Fodder{}, + Ctx: p7355, FreeVars: ast.Identifiers{ "code", "j", @@ -75110,28 +97061,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "j", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(672), + Line: int(692), Column: int(16), }, End: ast.Location{ - Line: int(672), + Line: int(692), Column: int(17), }, File: p1, }, - Ctx: p6486, + Fodder: ast.Fodder{}, + Ctx: p7430, FreeVars: ast.Identifiers{ "j", }, @@ -75139,6 +97093,18 @@ var _StdAst = &ast.DesugaredObject{ Id: "j", }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(692), + Column: int(13), + }, + End: ast.Location{ + Line: int(692), + Column: int(17), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(1), @@ -75156,28 +97122,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "fw", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(673), + Line: int(693), Column: int(17), }, End: ast.Location{ - Line: int(673), + Line: int(693), Column: int(24), }, File: p1, }, - Ctx: p6486, + Fodder: ast.Fodder{}, + Ctx: p7430, FreeVars: ast.Identifiers{ "code", }, @@ -75185,17 +97154,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(673), + Line: int(693), Column: int(17), }, End: ast.Location{ - Line: int(673), + Line: int(693), Column: int(21), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -75203,6 +97173,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -75217,39 +97188,75 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "fw", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(693), + Column: int(13), + }, + End: ast.Location{ + Line: int(693), + Column: int(24), + }, + File: p1, + }, }, }, Locals: ast.LocalBinds{}, }, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(685), + Column: int(17), + }, + End: ast.Location{ + Line: int(694), + Column: int(12), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(675), + Line: int(695), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -75266,22 +97273,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "tmp2", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(675), + Line: int(695), Column: int(24), }, End: ast.Location{ - Line: int(684), + Line: int(704), Column: int(12), }, File: p1, }, - Ctx: p6498, + Fodder: ast.Fodder{}, + Ctx: p7443, FreeVars: ast.Identifiers{ "arr", "code", @@ -75292,18 +97302,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(675), + Line: int(695), Column: int(27), }, End: ast.Location{ - Line: int(675), + Line: int(695), Column: int(43), }, File: p1, }, - Ctx: p6498, + Fodder: ast.Fodder{}, + Ctx: p7443, FreeVars: ast.Identifiers{ "code", }, @@ -75311,18 +97322,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(675), + Line: int(695), Column: int(27), }, End: ast.Location{ - Line: int(675), + Line: int(695), Column: int(36), }, File: p1, }, - Ctx: p6498, + Fodder: ast.Fodder{}, + Ctx: p7443, FreeVars: ast.Identifiers{ "code", }, @@ -75330,17 +97342,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(675), + Line: int(695), Column: int(27), }, End: ast.Location{ - Line: int(675), + Line: int(695), Column: int(31), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -75348,6 +97361,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -75362,53 +97376,61 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "prec", 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: "", + FileName: "", Begin: ast.Location{ - Line: int(675), + Line: int(695), Column: int(40), }, End: ast.Location{ - Line: int(675), + Line: int(695), Column: int(43), }, File: p1, }, - Ctx: p6498, + Fodder: ast.Fodder{}, + Ctx: p7443, FreeVars: nil, }, Value: "*", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(675), + Line: int(695), Column: int(49), }, End: ast.Location{ - Line: int(681), + Line: int(701), Column: int(12), }, File: p1, }, - Ctx: p6498, + Fodder: ast.Fodder{}, + Ctx: p7443, FreeVars: ast.Identifiers{ "arr", "std", @@ -75433,28 +97455,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "j", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(676), + Line: int(696), Column: int(16), }, End: ast.Location{ - Line: int(676), + Line: int(696), Column: int(25), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "tmp", }, @@ -75462,18 +97487,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(676), + Line: int(696), Column: int(16), }, End: ast.Location{ - Line: int(676), + Line: int(696), Column: int(21), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "tmp", }, @@ -75481,17 +97507,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(676), + Line: int(696), Column: int(16), }, End: ast.Location{ - Line: int(676), + Line: int(696), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "tmp", @@ -75499,6 +97526,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "tmp", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -75513,38 +97541,54 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "j", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(676), + Line: int(696), Column: int(24), }, End: ast.Location{ - Line: int(676), + Line: int(696), Column: int(25), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(696), + Column: int(13), + }, + End: ast.Location{ + Line: int(696), + Column: int(25), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(1), @@ -75562,28 +97606,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "prec", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(677), + Line: int(697), Column: int(19), }, End: ast.Location{ - Line: int(680), + Line: int(700), Column: int(25), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75593,18 +97640,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(677), + Line: int(697), Column: int(22), }, End: ast.Location{ - Line: int(677), + Line: int(697), Column: int(46), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75614,18 +97662,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(677), + Line: int(697), Column: int(22), }, End: ast.Location{ - Line: int(677), + Line: int(697), Column: int(27), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "tmp", }, @@ -75633,17 +97682,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(677), + Line: int(697), Column: int(22), }, End: ast.Location{ - Line: int(677), + Line: int(697), Column: int(25), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "tmp", @@ -75651,6 +97701,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "tmp", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -75665,31 +97716,36 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(677), + Line: int(697), Column: int(31), }, End: ast.Location{ - Line: int(677), + Line: int(697), Column: int(46), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75698,18 +97754,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(677), + Line: int(697), Column: int(31), }, End: ast.Location{ - Line: int(677), + Line: int(697), Column: int(41), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "std", }, @@ -75717,17 +97774,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(677), + Line: int(697), Column: int(31), }, End: ast.Location{ - Line: int(677), + Line: int(697), Column: int(34), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -75735,6 +97793,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -75749,60 +97808,79 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(677), - Column: int(42), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(697), + Column: int(42), + }, + End: ast.Location{ + Line: int(697), + Column: int(45), + }, + File: p1, }, - End: ast.Location{ - Line: int(677), - Column: int(45), + Fodder: ast.Fodder{}, + Ctx: p7485, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6540, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(15), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(105), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75812,18 +97890,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(22), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(104), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75833,18 +97912,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(22), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(96), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75853,18 +97933,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(22), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(71), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75873,40 +97954,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(22), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(53), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(56), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(71), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "std", @@ -75915,18 +98000,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(56), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(66), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "std", }, @@ -75934,17 +98020,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(56), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(59), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -75952,6 +98039,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -75966,84 +98054,99 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(67), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(698), + Column: int(67), + }, + End: ast.Location{ + Line: int(698), + Column: int(70), + }, + File: p1, }, - End: ast.Location{ - Line: int(678), - Column: int(70), + Fodder: ast.Fodder{}, + Ctx: p7506, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6560, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(74), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(96), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(99), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(104), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "tmp", }, @@ -76051,17 +98154,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(678), + Line: int(698), Column: int(99), }, End: ast.Location{ - Line: int(678), + Line: int(698), Column: int(102), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "tmp", @@ -76069,6 +98173,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "tmp", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -76083,32 +98188,44 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(680), + Line: int(700), Column: int(15), }, End: ast.Location{ - Line: int(680), + Line: int(700), Column: int(25), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", "tmp", @@ -76117,39 +98234,49 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(680), + Line: int(700), Column: int(15), }, End: ast.Location{ - Line: int(680), + Line: int(700), Column: int(18), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7458, FreeVars: ast.Identifiers{ "arr", }, }, Id: "arr", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(680), + Line: int(700), Column: int(19), }, End: ast.Location{ - Line: int(680), + Line: int(700), Column: int(24), }, File: p1, }, - Ctx: p6513, + Fodder: ast.Fodder{}, + Ctx: p7458, FreeVars: ast.Identifiers{ "tmp", }, @@ -76157,17 +98284,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(680), + Line: int(700), Column: int(19), }, End: ast.Location{ - Line: int(680), + Line: int(700), Column: int(22), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "tmp", @@ -76175,6 +98303,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "tmp", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -76189,38 +98318,56 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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(697), + Column: int(13), + }, + End: ast.Location{ + Line: int(700), + Column: int(25), + }, + File: p1, + }, }, }, Locals: ast.LocalBinds{}, }, + ElseFodder: ast.Fodder{}, BranchFalse: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(681), + Line: int(701), Column: int(18), }, End: ast.Location{ - Line: int(684), + Line: int(704), Column: int(12), }, File: p1, }, - Ctx: p6498, + Fodder: ast.Fodder{}, + Ctx: p7443, FreeVars: ast.Identifiers{ "code", "tmp", @@ -76244,28 +98391,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "j", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(682), + Line: int(702), Column: int(16), }, End: ast.Location{ - Line: int(682), + Line: int(702), Column: int(21), }, File: p1, }, - Ctx: p6582, + Fodder: ast.Fodder{}, + Ctx: p7530, FreeVars: ast.Identifiers{ "tmp", }, @@ -76273,17 +98423,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(682), + Line: int(702), Column: int(16), }, End: ast.Location{ - Line: int(682), + Line: int(702), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "tmp", @@ -76291,6 +98442,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "tmp", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -76305,16 +98457,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "j", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(702), + Column: int(13), + }, + End: ast.Location{ + Line: int(702), + Column: int(21), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(1), @@ -76332,28 +98499,31 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "prec", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(683), + Line: int(703), Column: int(19), }, End: ast.Location{ - Line: int(683), + Line: int(703), Column: int(28), }, File: p1, }, - Ctx: p6582, + Fodder: ast.Fodder{}, + Ctx: p7530, FreeVars: ast.Identifiers{ "code", }, @@ -76361,17 +98531,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(683), + Line: int(703), Column: int(19), }, End: ast.Location{ - Line: int(683), + Line: int(703), Column: int(23), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -76379,6 +98550,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -76393,39 +98565,75 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "prec", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(703), + Column: int(13), + }, + End: ast.Location{ + Line: int(703), + Column: int(28), + }, + File: p1, + }, }, }, Locals: ast.LocalBinds{}, }, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(695), + Column: int(17), + }, + End: ast.Location{ + Line: int(704), + Column: int(12), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(685), + Line: int(705), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -76443,22 +98651,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "j2", + EqFodder: ast.Fodder{}, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(685), + Line: int(705), Column: int(22), }, End: ast.Location{ - Line: int(685), + Line: int(705), Column: int(28), }, File: p1, }, - Ctx: p6597, + Fodder: ast.Fodder{}, + Ctx: p7546, FreeVars: ast.Identifiers{ "tmp2", }, @@ -76466,17 +98677,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(685), + Line: int(705), Column: int(22), }, End: ast.Location{ - Line: int(685), + Line: int(705), Column: int(26), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "tmp2", @@ -76484,6 +98696,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "tmp2", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -76498,33 +98711,57 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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(705), + Column: int(17), + }, + End: ast.Location{ + Line: int(705), + Column: int(28), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(686), + Line: int(706), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -76543,22 +98780,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "val", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(687), + Line: int(707), Column: int(13), }, End: ast.Location{ - Line: int(690), - Column: int(102), + Line: int(710), + Column: int(103), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "j2", @@ -76568,18 +98815,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(687), + Line: int(707), Column: int(16), }, End: ast.Location{ - Line: int(687), + Line: int(707), Column: int(36), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "j2", @@ -76589,40 +98837,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(687), + Line: int(707), Column: int(16), }, End: ast.Location{ - Line: int(687), + Line: int(707), Column: int(18), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "j2", }, }, Id: "j2", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(9), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(687), + Line: int(707), Column: int(21), }, End: ast.Location{ - Line: int(687), + Line: int(707), Column: int(36), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "std", @@ -76631,18 +98882,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(687), + Line: int(707), Column: int(21), }, End: ast.Location{ - Line: int(687), + Line: int(707), Column: int(31), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "std", }, @@ -76650,17 +98902,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(687), + Line: int(707), Column: int(21), }, End: ast.Location{ - Line: int(687), + Line: int(707), Column: int(24), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -76668,6 +98921,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -76682,60 +98936,72 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(687), - Column: int(32), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(707), + Column: int(32), + }, + End: ast.Location{ + Line: int(707), + Column: int(35), + }, + File: p1, }, - End: ast.Location{ - Line: int(687), - Column: int(35), + Fodder: ast.Fodder{}, + Ctx: p7572, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6621, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(688), + Line: int(708), Column: int(15), }, End: ast.Location{ - Line: int(688), + Line: int(708), Column: int(22), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "j2", @@ -76744,62 +99010,89 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(688), + Line: int(708), Column: int(15), }, End: ast.Location{ - Line: int(688), + Line: int(708), Column: int(18), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", }, }, Id: "arr", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(688), + Line: int(708), Column: int(19), }, End: ast.Location{ - Line: int(688), + Line: int(708), Column: int(21), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(15), }, End: ast.Location{ - Line: int(690), - Column: int(102), + Line: int(710), + Column: int(103), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "j2", @@ -76809,18 +99102,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(22), }, End: ast.Location{ - Line: int(690), - Column: int(101), + Line: int(710), + Column: int(102), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "j2", @@ -76830,18 +99124,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(22), }, End: ast.Location{ - Line: int(690), - Column: int(96), + Line: int(710), + Column: int(97), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "std", @@ -76850,18 +99145,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(22), }, End: ast.Location{ - Line: int(690), + Line: int(710), Column: int(71), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "std", @@ -76870,40 +99166,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(22), }, End: ast.Location{ - Line: int(690), + Line: int(710), Column: int(53), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(56), }, End: ast.Location{ - Line: int(690), + Line: int(710), Column: int(71), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "arr", "std", @@ -76912,18 +99212,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(56), }, End: ast.Location{ - Line: int(690), + Line: int(710), Column: int(66), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "std", }, @@ -76931,17 +99232,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(56), }, End: ast.Location{ - Line: int(690), + Line: int(710), Column: int(59), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -76949,6 +99251,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -76963,84 +99266,99 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(67), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(710), + Column: int(67), + }, + End: ast.Location{ + Line: int(710), + Column: int(70), + }, + File: p1, }, - End: ast.Location{ - Line: int(690), - Column: int(70), + Fodder: ast.Fodder{}, + Ctx: p7601, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p6647, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(690), + Line: int(710), Column: int(74), }, End: ast.Location{ - Line: int(690), - Column: int(96), + Line: int(710), + Column: int(97), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: nil, }, - Value: ", expected at least ", + Value: ", expected more than ", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(690), - Column: int(99), + Line: int(710), + Column: int(100), }, End: ast.Location{ - Line: int(690), - Column: int(101), + Line: int(710), + Column: int(102), }, File: p1, }, - Ctx: p6606, + Fodder: ast.Fodder{}, + Ctx: p7557, FreeVars: ast.Identifiers{ "j2", }, @@ -77051,23 +99369,44 @@ var _StdAst = &ast.DesugaredObject{ }, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(706), + Column: int(17), + }, + End: ast.Location{ + Line: int(710), + Column: int(103), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(691), + Line: int(711), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -77086,22 +99425,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "s", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(692), + Line: int(712), Column: int(13), }, End: ast.Location{ - Line: int(695), + Line: int(715), Column: int(60), }, File: p1, }, - Ctx: p6656, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7612, FreeVars: ast.Identifiers{ "code", "format_code", @@ -77114,18 +99463,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(692), + Line: int(712), Column: int(16), }, End: ast.Location{ - Line: int(692), + Line: int(712), Column: int(33), }, File: p1, }, - Ctx: p6656, + Fodder: ast.Fodder{}, + Ctx: p7612, FreeVars: ast.Identifiers{ "code", }, @@ -77133,18 +99483,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(692), + Line: int(712), Column: int(16), }, End: ast.Location{ - Line: int(692), + Line: int(712), Column: int(26), }, File: p1, }, - Ctx: p6656, + Fodder: ast.Fodder{}, + Ctx: p7612, FreeVars: ast.Identifiers{ "code", }, @@ -77152,17 +99503,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(692), + Line: int(712), Column: int(16), }, End: ast.Location{ - Line: int(692), + Line: int(712), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -77170,6 +99522,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -77184,74 +99537,99 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(692), + Line: int(712), Column: int(30), }, End: ast.Location{ - Line: int(692), + Line: int(712), Column: int(33), }, File: p1, }, - Ctx: p6656, + Fodder: ast.Fodder{}, + Ctx: p7612, FreeVars: nil, }, Value: "%", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(693), + Line: int(713), Column: int(15), }, End: ast.Location{ - Line: int(693), + Line: int(713), Column: int(18), }, File: p1, }, - Ctx: p6656, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7612, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(695), + Line: int(715), Column: int(15), }, End: ast.Location{ - Line: int(695), + Line: int(715), Column: int(60), }, File: p1, }, - Ctx: p6656, + Fodder: ast.Fodder{}, + Ctx: p7612, FreeVars: ast.Identifiers{ "code", "format_code", @@ -77264,240 +99642,302 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(695), + Line: int(715), Column: int(15), }, End: ast.Location{ - Line: int(695), + Line: int(715), Column: int(26), }, File: p1, }, - Ctx: p6656, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7612, FreeVars: ast.Identifiers{ "format_code", }, }, Id: "format_code", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(27), - }, - End: ast.Location{ - Line: int(695), - Column: int(30), - }, - File: p1, - }, - Ctx: p6673, - FreeVars: ast.Identifiers{ - "val", - }, - }, - Id: "val", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(32), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(715), + Column: int(27), + }, + End: ast.Location{ + Line: int(715), + Column: int(30), + }, + File: p1, }, - End: ast.Location{ - Line: int(695), - Column: int(36), + Fodder: ast.Fodder{}, + Ctx: p7632, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6673, - FreeVars: ast.Identifiers{ - "code", }, + Id: "val", }, - Id: "code", + CommaFodder: ast.Fodder{}, }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(38), - }, - End: ast.Location{ - Line: int(695), - Column: int(44), - }, - File: p1, - }, - Ctx: p6673, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(695), - Column: int(38), + Line: int(715), + Column: int(32), }, End: ast.Location{ - Line: int(695), - Column: int(41), + Line: int(715), + Column: int(36), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7632, FreeVars: ast.Identifiers{ - "tmp", + "code", }, }, - Id: "tmp", + Id: "code", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(715), + Column: int(38), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(715), + Column: int(44), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "fw", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(46), + Fodder: ast.Fodder{}, + Ctx: p7632, + FreeVars: ast.Identifiers{ + "tmp", }, - End: ast.Location{ - Line: int(695), - Column: int(55), + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(715), + Column: int(38), + }, + End: ast.Location{ + Line: int(715), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "tmp", + }, }, - File: p1, + Id: "tmp", }, - Ctx: p6673, - FreeVars: ast.Identifiers{ - "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: nil, + }, + Value: "fw", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(695), + Line: int(715), Column: int(46), }, End: ast.Location{ - Line: int(695), - Column: int(50), + Line: int(715), + Column: int(55), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7632, FreeVars: ast.Identifiers{ "tmp2", }, }, - Id: "tmp2", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(715), + Column: int(46), + }, + End: ast.Location{ + Line: int(715), + 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: nil, + }, + Value: "prec", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(715), + Column: int(57), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(715), + Column: int(59), }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "prec", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(57), + File: p1, }, - End: ast.Location{ - Line: int(695), - Column: int(59), + Fodder: ast.Fodder{}, + Ctx: p7632, + FreeVars: ast.Identifiers{ + "j2", }, - File: p1, - }, - Ctx: p6673, - FreeVars: ast.Identifiers{ - "j2", }, + Id: "j2", }, - Id: "j2", + 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(711), + Column: int(17), + }, + End: ast.Location{ + Line: int(715), + Column: int(60), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(696), + Line: int(716), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -77514,22 +99954,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "s_padded", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(697), + Line: int(717), Column: int(13), }, End: ast.Location{ - Line: int(700), + Line: int(720), Column: int(39), }, File: p1, }, - Ctx: p6693, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7654, FreeVars: ast.Identifiers{ "code", "pad_left", @@ -77541,18 +99991,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(697), + Line: int(717), Column: int(16), }, End: ast.Location{ - Line: int(697), + Line: int(717), Column: int(32), }, File: p1, }, - Ctx: p6693, + Fodder: ast.Fodder{}, + Ctx: p7654, FreeVars: ast.Identifiers{ "code", }, @@ -77560,17 +100011,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(697), + Line: int(717), Column: int(16), }, End: ast.Location{ - Line: int(697), + Line: int(717), Column: int(27), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -77579,17 +100031,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(697), + Line: int(717), Column: int(16), }, End: ast.Location{ - Line: int(697), + Line: int(717), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -77597,6 +100050,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -77611,15 +100065,19 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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{ @@ -77634,30 +100092,35 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(698), + Line: int(718), Column: int(15), }, End: ast.Location{ - Line: int(698), + Line: int(718), Column: int(40), }, File: p1, }, - Ctx: p6693, + Fodder: ast.Fodder{}, + Ctx: p7654, FreeVars: ast.Identifiers{ "pad_right", "s", @@ -77667,152 +100130,190 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(698), + Line: int(718), Column: int(15), }, End: ast.Location{ - Line: int(698), + Line: int(718), Column: int(24), }, File: p1, }, - Ctx: p6693, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7654, FreeVars: ast.Identifiers{ "pad_right", }, }, Id: "pad_right", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(698), - Column: int(25), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(718), + Column: int(25), + }, + End: ast.Location{ + Line: int(718), + Column: int(26), + }, + File: p1, }, - End: ast.Location{ - Line: int(698), - Column: int(26), + Fodder: ast.Fodder{}, + Ctx: p7671, + FreeVars: ast.Identifiers{ + "s", }, - File: p1, - }, - Ctx: p6709, - FreeVars: ast.Identifiers{ - "s", }, + Id: "s", }, - Id: "s", + CommaFodder: ast.Fodder{}, }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(698), - Column: int(28), - }, - End: ast.Location{ - Line: int(698), - Column: int(34), - }, - File: p1, - }, - Ctx: p6709, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(698), + Line: int(718), Column: int(28), }, End: ast.Location{ - Line: int(698), - Column: int(31), + Line: int(718), + Column: int(34), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7671, FreeVars: ast.Identifiers{ "tmp", }, }, - Id: "tmp", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(718), + Column: int(28), + }, + End: ast.Location{ + Line: int(718), + 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: nil, + }, + Value: "fw", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(718), + Column: int(36), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(718), + Column: int(39), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7671, FreeVars: nil, }, - Value: "fw", + Value: " ", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(698), - Column: int(36), - }, - End: ast.Location{ - Line: int(698), - Column: int(39), - }, - File: p1, - }, - Ctx: p6709, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(700), + Line: int(720), Column: int(15), }, End: ast.Location{ - Line: int(700), + Line: int(720), Column: int(39), }, File: p1, }, - Ctx: p6693, + Fodder: ast.Fodder{}, + Ctx: p7654, FreeVars: ast.Identifiers{ "pad_left", "s", @@ -77822,156 +100323,206 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(700), + Line: int(720), Column: int(15), }, End: ast.Location{ - Line: int(700), + Line: int(720), Column: int(23), }, File: p1, }, - Ctx: p6693, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7654, FreeVars: ast.Identifiers{ "pad_left", }, }, Id: "pad_left", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(24), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(720), + Column: int(24), + }, + End: ast.Location{ + Line: int(720), + Column: int(25), + }, + File: p1, }, - End: ast.Location{ - Line: int(700), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p7687, + FreeVars: ast.Identifiers{ + "s", }, - File: p1, - }, - Ctx: p6723, - FreeVars: ast.Identifiers{ - "s", }, + Id: "s", }, - Id: "s", + CommaFodder: ast.Fodder{}, }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(27), - }, - End: ast.Location{ - Line: int(700), - Column: int(33), - }, - File: p1, - }, - Ctx: p6723, - FreeVars: ast.Identifiers{ - "tmp", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(700), + Line: int(720), Column: int(27), }, End: ast.Location{ - Line: int(700), - Column: int(30), + Line: int(720), + Column: int(33), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7687, FreeVars: ast.Identifiers{ "tmp", }, }, - Id: "tmp", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(720), + Column: int(27), + }, + End: ast.Location{ + Line: int(720), + 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: nil, + }, + Value: "fw", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(720), + Column: int(35), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(720), + Column: int(38), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p7687, FreeVars: nil, }, - Value: "fw", + Value: " ", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(35), - }, - End: ast.Location{ - Line: int(700), - Column: int(38), - }, - File: p1, - }, - Ctx: p6723, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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(716), + Column: int(17), + }, + End: ast.Location{ + Line: int(720), + Column: int(39), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(701), + Line: int(721), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "code", @@ -77985,22 +100536,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "j3", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(702), + Line: int(722), Column: int(13), }, End: ast.Location{ - Line: int(705), + Line: int(725), Column: int(21), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7701, FreeVars: ast.Identifiers{ "code", "j2", @@ -78009,18 +100570,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(702), + Line: int(722), Column: int(16), }, End: ast.Location{ - Line: int(702), + Line: int(722), Column: int(33), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{}, + Ctx: p7701, FreeVars: ast.Identifiers{ "code", }, @@ -78028,18 +100590,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(702), + Line: int(722), Column: int(16), }, End: ast.Location{ - Line: int(702), + Line: int(722), Column: int(26), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{}, + Ctx: p7701, FreeVars: ast.Identifiers{ "code", }, @@ -78047,17 +100610,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(702), + Line: int(722), Column: int(16), }, End: ast.Location{ - Line: int(702), + Line: int(722), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -78065,6 +100629,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -78079,74 +100644,98 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(702), + Line: int(722), Column: int(30), }, End: ast.Location{ - Line: int(702), + Line: int(722), Column: int(33), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{}, + Ctx: p7701, FreeVars: nil, }, Value: "%", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(703), + Line: int(723), Column: int(15), }, End: ast.Location{ - Line: int(703), + Line: int(723), Column: int(17), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7701, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(705), + Line: int(725), Column: int(15), }, End: ast.Location{ - Line: int(705), + Line: int(725), Column: int(21), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{}, + Ctx: p7701, FreeVars: ast.Identifiers{ "j2", }, @@ -78154,65 +100743,88 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(705), + Line: int(725), Column: int(15), }, End: ast.Location{ - Line: int(705), + Line: int(725), Column: int(17), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7701, FreeVars: ast.Identifiers{ "j2", }, }, Id: "j2", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(705), + Line: int(725), Column: int(20), }, End: ast.Location{ - Line: int(705), + Line: int(725), Column: int(21), }, File: p1, }, - Ctx: p6735, + Fodder: ast.Fodder{}, + Ctx: p7701, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(721), + Column: int(17), + }, + End: ast.Location{ + Line: int(725), + Column: int(21), + }, + File: p1, + }, }, }, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(706), + Line: int(726), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(64), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{}, + Ctx: p7233, FreeVars: ast.Identifiers{ "arr", "codes", @@ -78226,220 +100838,256 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(706), + Line: int(726), Column: int(11), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(27), }, File: p1, }, - Ctx: p6302, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7233, FreeVars: ast.Identifiers{ "format_codes_arr", }, }, Id: "format_codes_arr", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(28), - }, - End: ast.Location{ - Line: int(706), - Column: int(33), - }, - File: p1, - }, - Ctx: p6758, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(35), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(28), + }, + End: ast.Location{ + Line: int(726), + Column: int(33), + }, + File: p1, }, - End: ast.Location{ - Line: int(706), - Column: int(38), + Fodder: ast.Fodder{}, + Ctx: p7728, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p6758, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "codes", }, - Id: "arr", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(40), - }, - End: ast.Location{ - Line: int(706), - Column: int(45), - }, - File: p1, - }, - Ctx: p6758, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(706), - Column: int(40), + Line: int(726), + Column: int(35), }, End: ast.Location{ - Line: int(706), - Column: int(41), + Line: int(726), + Column: int(38), }, File: p1, }, - Ctx: p6758, + Fodder: ast.Fodder{}, + Ctx: p7728, FreeVars: ast.Identifiers{ - "i", + "arr", }, }, - Id: "i", + Id: "arr", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(706), - Column: int(44), + Line: int(726), + Column: int(40), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(45), }, File: p1, }, - Ctx: p6758, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(47), - }, - End: ast.Location{ - Line: int(706), - Column: int(49), + Fodder: ast.Fodder{}, + Ctx: p7728, + FreeVars: ast.Identifiers{ + "i", }, - File: p1, }, - Ctx: p6758, - FreeVars: ast.Identifiers{ - "j3", - }, - }, - Id: "j3", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(51), - }, - End: ast.Location{ - Line: int(706), - Column: int(63), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(40), + }, + End: ast.Location{ + Line: int(726), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7728, + FreeVars: ast.Identifiers{ + "i", + }, }, - File: p1, + Id: "i", }, - Ctx: p6758, - FreeVars: ast.Identifiers{ - "s_padded", - "v", + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(44), + }, + End: ast.Location{ + Line: int(726), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7728, + FreeVars: nil, + }, + OriginalString: "1", }, }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(706), - Column: int(51), + Line: int(726), + Column: int(47), }, End: ast.Location{ - Line: int(706), - Column: int(52), + Line: int(726), + Column: int(49), }, File: p1, }, - Ctx: p6758, + Fodder: ast.Fodder{}, + Ctx: p7728, FreeVars: ast.Identifiers{ - "v", + "j3", }, }, - Id: "v", + Id: "j3", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(706), - Column: int(55), + Line: int(726), + Column: int(51), }, End: ast.Location{ - Line: int(706), + Line: int(726), Column: int(63), }, File: p1, }, - Ctx: p6758, + Fodder: ast.Fodder{}, + Ctx: p7728, FreeVars: ast.Identifiers{ "s_padded", + "v", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(726), + Column: int(51), + }, + End: ast.Location{ + Line: int(726), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7728, + 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(726), + Column: int(55), + }, + End: ast.Location{ + Line: int(726), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7728, + FreeVars: ast.Identifiers{ + "s_padded", + }, + }, + Id: "s_padded", }, - Id: "s_padded", }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, }, @@ -78453,23 +101101,52 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(709), + Line: int(729), Column: int(5), }, End: ast.Location{ - Line: int(754), + Line: int(774), Column: int(48), }, File: p1, }, - Ctx: p2910, + 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: p3497, FreeVars: ast.Identifiers{ "codes", "format_code", @@ -78482,22 +101159,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "format_codes_obj", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(709), + Line: int(729), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6779, + Fodder: nil, + Ctx: p7751, FreeVars: ast.Identifiers{ "format_code", "format_codes_obj", @@ -78506,31 +101186,110 @@ var _StdAst = &ast.DesugaredObject{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "codes", - "obj", - "i", - "v", + 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(729), + Column: int(28), + }, + End: ast.Location{ + Line: int(729), + 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(729), + Column: int(35), + }, + End: ast.Location{ + Line: int(729), + 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(729), + Column: int(40), + }, + End: ast.Location{ + Line: int(729), + 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(729), + Column: int(43), + }, + End: ast.Location{ + Line: int(729), + Column: int(44), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(710), + Line: int(730), Column: int(7), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "codes", "format_code", @@ -78546,18 +101305,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(710), + Line: int(730), Column: int(10), }, End: ast.Location{ - Line: int(710), + Line: int(730), Column: int(32), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "codes", "i", @@ -78567,40 +101327,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(710), + Line: int(730), Column: int(10), }, End: ast.Location{ - Line: int(710), + Line: int(730), Column: int(11), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(710), + Line: int(730), Column: int(15), }, End: ast.Location{ - Line: int(710), + Line: int(730), Column: int(32), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "codes", "std", @@ -78609,18 +101372,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(710), + Line: int(730), Column: int(15), }, End: ast.Location{ - Line: int(710), + Line: int(730), Column: int(25), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "std", }, @@ -78628,17 +101392,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(710), + Line: int(730), Column: int(15), }, End: ast.Location{ - Line: int(710), + Line: int(730), Column: int(18), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -78646,6 +101411,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -78660,81 +101426,116 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(710), - Column: int(26), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(730), + Column: int(26), + }, + End: ast.Location{ + Line: int(730), + Column: int(31), + }, + File: p1, }, - End: ast.Location{ - Line: int(710), - Column: int(31), + Fodder: ast.Fodder{}, + Ctx: p7771, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p6798, - FreeVars: ast.Identifiers{ - "codes", }, + Id: "codes", }, - Id: "codes", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(711), + Line: int(731), Column: int(9), }, End: ast.Location{ - Line: int(711), + Line: int(731), Column: int(10), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p7756, 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.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(713), + Line: int(733), Column: int(9), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "codes", "format_code", @@ -78749,22 +101550,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "code", + EqFodder: ast.Fodder{}, Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(713), + Line: int(733), Column: int(22), }, End: ast.Location{ - Line: int(713), + Line: int(733), Column: int(30), }, File: p1, }, - Ctx: p6806, + Fodder: ast.Fodder{}, + Ctx: p7782, FreeVars: ast.Identifiers{ "codes", "i", @@ -78773,65 +101577,90 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(713), + Line: int(733), Column: int(22), }, End: ast.Location{ - Line: int(713), + Line: int(733), Column: int(27), }, File: p1, }, - Ctx: p6806, + Fodder: ast.Fodder{}, + Ctx: p7782, FreeVars: ast.Identifiers{ "codes", }, }, Id: "codes", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(713), + Line: int(733), Column: int(28), }, End: ast.Location{ - Line: int(713), + Line: int(733), Column: int(29), }, File: p1, }, - Ctx: p6806, + Fodder: ast.Fodder{}, + Ctx: p7782, 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(733), + Column: int(15), + }, + End: ast.Location{ + Line: int(733), + Column: int(30), + }, + File: p1, + }, }, }, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(714), + Line: int(734), Column: int(9), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -78848,18 +101677,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(714), + Line: int(734), Column: int(12), }, End: ast.Location{ - Line: int(714), + Line: int(734), Column: int(38), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "std", @@ -78868,18 +101698,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(714), + Line: int(734), Column: int(12), }, End: ast.Location{ - Line: int(714), + Line: int(734), Column: int(26), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "std", @@ -78888,18 +101719,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(714), + Line: int(734), Column: int(12), }, End: ast.Location{ - Line: int(714), + Line: int(734), Column: int(20), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "std", }, @@ -78907,17 +101739,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(714), + Line: int(734), Column: int(12), }, End: ast.Location{ - Line: int(714), + Line: int(734), Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -78925,6 +101758,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -78939,82 +101773,97 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(734), + Column: int(21), + }, + End: ast.Location{ + Line: int(734), + Column: int(25), + }, + File: p1, }, - End: ast.Location{ - Line: int(714), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p7802, + FreeVars: ast.Identifiers{ + "code", }, - File: p1, - }, - Ctx: p6825, - FreeVars: ast.Identifiers{ - "code", }, + Id: "code", }, - 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: "", + FileName: "", Begin: ast.Location{ - Line: int(714), + Line: int(734), Column: int(30), }, End: ast.Location{ - Line: int(714), + Line: int(734), Column: int(38), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: nil, }, Value: "string", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(715), + Line: int(735), Column: int(11), }, End: ast.Location{ - Line: int(715), + Line: int(735), Column: int(56), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -79027,215 +101876,263 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(715), + Line: int(735), Column: int(11), }, End: ast.Location{ - Line: int(715), + Line: int(735), Column: int(27), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "format_codes_obj", }, }, Id: "format_codes_obj", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(28), - }, - End: ast.Location{ - Line: int(715), - Column: int(33), - }, - File: p1, - }, - Ctx: p6834, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(35), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(735), + Column: int(28), + }, + End: ast.Location{ + Line: int(735), + Column: int(33), + }, + File: p1, }, - End: ast.Location{ - Line: int(715), - Column: int(38), + Fodder: ast.Fodder{}, + Ctx: p7812, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p6834, - FreeVars: ast.Identifiers{ - "obj", }, + Id: "codes", }, - Id: "obj", + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(40), - }, - End: ast.Location{ - Line: int(715), - Column: int(45), - }, - File: p1, - }, - Ctx: p6834, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(715), - Column: int(40), + Line: int(735), + Column: int(35), }, End: ast.Location{ - Line: int(715), - Column: int(41), + Line: int(735), + Column: int(38), }, File: p1, }, - Ctx: p6834, + Fodder: ast.Fodder{}, + Ctx: p7812, FreeVars: ast.Identifiers{ - "i", + "obj", }, }, - Id: "i", + Id: "obj", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(715), - Column: int(44), + Line: int(735), + Column: int(40), }, End: ast.Location{ - Line: int(715), + Line: int(735), Column: int(45), }, File: p1, }, - Ctx: p6834, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(47), + Fodder: ast.Fodder{}, + Ctx: p7812, + FreeVars: ast.Identifiers{ + "i", }, - End: ast.Location{ - Line: int(715), - Column: int(55), + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(735), + Column: int(40), + }, + End: ast.Location{ + Line: int(735), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7812, + FreeVars: ast.Identifiers{ + "i", + }, }, - File: p1, + Id: "i", }, - Ctx: p6834, - FreeVars: ast.Identifiers{ - "code", - "v", + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(735), + Column: int(44), + }, + End: ast.Location{ + Line: int(735), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7812, + FreeVars: nil, + }, + OriginalString: "1", }, }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(715), + Line: int(735), Column: int(47), }, End: ast.Location{ - Line: int(715), - Column: int(48), + Line: int(735), + Column: int(55), }, File: p1, }, - Ctx: p6834, + Fodder: ast.Fodder{}, + Ctx: p7812, FreeVars: ast.Identifiers{ + "code", "v", }, }, - Id: "v", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(51), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(735), + Column: int(47), + }, + End: ast.Location{ + Line: int(735), + Column: int(48), + }, + File: p1, }, - End: ast.Location{ - Line: int(715), - Column: int(55), + Fodder: ast.Fodder{}, + Ctx: p7812, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, }, - Ctx: p6834, - FreeVars: ast.Identifiers{ - "code", + Id: "v", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(735), + Column: int(51), + }, + End: ast.Location{ + Line: int(735), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p7812, + FreeVars: ast.Identifiers{ + "code", + }, }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(717), + Line: int(737), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -79251,22 +102148,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "f", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(718), + Line: int(738), Column: int(13), }, End: ast.Location{ - Line: int(721), + Line: int(741), Column: int(24), }, File: p1, }, - Ctx: p6853, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7834, FreeVars: ast.Identifiers{ "code", }, @@ -79274,18 +102181,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(718), + Line: int(738), Column: int(16), }, End: ast.Location{ - Line: int(718), + Line: int(738), Column: int(33), }, File: p1, }, - Ctx: p6853, + Fodder: ast.Fodder{}, + Ctx: p7834, FreeVars: ast.Identifiers{ "code", }, @@ -79293,18 +102201,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(718), + Line: int(738), Column: int(16), }, End: ast.Location{ - Line: int(718), + Line: int(738), Column: int(25), }, File: p1, }, - Ctx: p6853, + Fodder: ast.Fodder{}, + Ctx: p7834, FreeVars: ast.Identifiers{ "code", }, @@ -79312,17 +102221,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(718), + Line: int(738), Column: int(16), }, End: ast.Location{ - Line: int(718), + Line: int(738), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -79330,6 +102240,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -79344,89 +102255,114 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "mkey", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(718), + Line: int(738), Column: int(29), }, End: ast.Location{ - Line: int(718), + Line: int(738), Column: int(33), }, File: p1, }, - Ctx: p6853, + Fodder: ast.Fodder{}, + Ctx: p7834, FreeVars: nil, }, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(719), + Line: int(739), Column: int(15), }, End: ast.Location{ - Line: int(719), + Line: int(739), Column: int(45), }, File: p1, }, - Ctx: p6853, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7834, FreeVars: nil, }, Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(719), + Line: int(739), Column: int(21), }, End: ast.Location{ - Line: int(719), + Line: int(739), Column: int(45), }, File: p1, }, - Ctx: p6853, + Fodder: ast.Fodder{}, + Ctx: p7834, FreeVars: nil, }, Value: "Mapping keys required.", 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: "", + FileName: "", Begin: ast.Location{ - Line: int(721), + Line: int(741), Column: int(15), }, End: ast.Location{ - Line: int(721), + Line: int(741), Column: int(24), }, File: p1, }, - Ctx: p6853, + Fodder: ast.Fodder{}, + Ctx: p7834, FreeVars: ast.Identifiers{ "code", }, @@ -79434,17 +102370,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(721), + Line: int(741), Column: int(15), }, End: ast.Location{ - Line: int(721), + Line: int(741), 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", @@ -79452,6 +102396,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -79466,34 +102411,58 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "mkey", 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(737), + Column: int(17), + }, + End: ast.Location{ + Line: int(741), + Column: int(24), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(722), + Line: int(742), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -79510,22 +102479,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "fw", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(723), + Line: int(743), Column: int(13), }, End: ast.Location{ - Line: int(726), + Line: int(746), Column: int(22), }, File: p1, }, - Ctx: p6874, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7860, FreeVars: ast.Identifiers{ "code", }, @@ -79533,18 +102512,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(723), + Line: int(743), Column: int(16), }, End: ast.Location{ - Line: int(723), + Line: int(743), Column: int(30), }, File: p1, }, - Ctx: p6874, + Fodder: ast.Fodder{}, + Ctx: p7860, FreeVars: ast.Identifiers{ "code", }, @@ -79552,18 +102532,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(723), + Line: int(743), Column: int(16), }, End: ast.Location{ - Line: int(723), + Line: int(743), Column: int(23), }, File: p1, }, - Ctx: p6874, + Fodder: ast.Fodder{}, + Ctx: p7860, FreeVars: ast.Identifiers{ "code", }, @@ -79571,17 +102552,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(723), + Line: int(743), Column: int(16), }, End: ast.Location{ - Line: int(723), + Line: int(743), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -79589,6 +102571,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -79603,92 +102586,118 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(723), + Line: int(743), Column: int(27), }, End: ast.Location{ - Line: int(723), + Line: int(743), Column: int(30), }, File: p1, }, - Ctx: p6874, + Fodder: ast.Fodder{}, + Ctx: p7860, FreeVars: nil, }, Value: "*", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(724), + Line: int(744), Column: int(15), }, End: ast.Location{ - Line: int(724), + Line: int(744), Column: int(60), }, File: p1, }, - Ctx: p6874, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7860, FreeVars: nil, }, Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(724), + Line: int(744), Column: int(21), }, End: ast.Location{ - Line: int(724), + Line: int(744), Column: int(60), }, File: p1, }, - Ctx: p6874, + Fodder: ast.Fodder{}, + Ctx: p7860, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(726), + Line: int(746), Column: int(15), }, End: ast.Location{ - Line: int(726), + Line: int(746), Column: int(22), }, File: p1, }, - Ctx: p6874, + Fodder: ast.Fodder{}, + Ctx: p7860, FreeVars: ast.Identifiers{ "code", }, @@ -79696,17 +102705,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(726), + Line: int(746), Column: int(15), }, End: ast.Location{ - Line: int(726), + Line: int(746), 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", @@ -79714,6 +102731,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -79728,34 +102746,58 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "fw", 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(742), + Column: int(17), + }, + End: ast.Location{ + Line: int(746), + Column: int(22), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(727), + Line: int(747), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -79773,22 +102815,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "prec", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(728), + Line: int(748), Column: int(13), }, End: ast.Location{ - Line: int(731), + Line: int(751), Column: int(24), }, File: p1, }, - Ctx: p6895, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7886, FreeVars: ast.Identifiers{ "code", }, @@ -79796,18 +102848,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(728), + Line: int(748), Column: int(16), }, End: ast.Location{ - Line: int(728), + Line: int(748), Column: int(32), }, File: p1, }, - Ctx: p6895, + Fodder: ast.Fodder{}, + Ctx: p7886, FreeVars: ast.Identifiers{ "code", }, @@ -79815,18 +102868,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(728), + Line: int(748), Column: int(16), }, End: ast.Location{ - Line: int(728), + Line: int(748), Column: int(25), }, File: p1, }, - Ctx: p6895, + Fodder: ast.Fodder{}, + Ctx: p7886, FreeVars: ast.Identifiers{ "code", }, @@ -79834,17 +102888,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(728), + Line: int(748), Column: int(16), }, End: ast.Location{ - Line: int(728), + Line: int(748), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -79852,6 +102907,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -79866,92 +102922,118 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "prec", 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: "", + FileName: "", Begin: ast.Location{ - Line: int(728), + Line: int(748), Column: int(29), }, End: ast.Location{ - Line: int(728), + Line: int(748), Column: int(32), }, File: p1, }, - Ctx: p6895, + Fodder: ast.Fodder{}, + Ctx: p7886, FreeVars: nil, }, Value: "*", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(729), + Line: int(749), Column: int(15), }, End: ast.Location{ - Line: int(729), + Line: int(749), Column: int(58), }, File: p1, }, - Ctx: p6895, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7886, FreeVars: nil, }, Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(729), + Line: int(749), Column: int(21), }, End: ast.Location{ - Line: int(729), + Line: int(749), Column: int(58), }, File: p1, }, - Ctx: p6895, + Fodder: ast.Fodder{}, + Ctx: p7886, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(731), + Line: int(751), Column: int(15), }, End: ast.Location{ - Line: int(731), + Line: int(751), Column: int(24), }, File: p1, }, - Ctx: p6895, + Fodder: ast.Fodder{}, + Ctx: p7886, FreeVars: ast.Identifiers{ "code", }, @@ -79959,17 +103041,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(731), + Line: int(751), Column: int(15), }, End: ast.Location{ - Line: int(731), + Line: int(751), 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", @@ -79977,6 +103067,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -79991,34 +103082,58 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "prec", 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(747), + Column: int(17), + }, + End: ast.Location{ + Line: int(751), + Column: int(24), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(732), + Line: int(752), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -80037,22 +103152,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "val", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(733), + Line: int(753), Column: int(13), }, End: ast.Location{ - Line: int(736), + Line: int(756), Column: int(42), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7912, FreeVars: ast.Identifiers{ "f", "obj", @@ -80062,18 +103187,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(733), + Line: int(753), Column: int(16), }, End: ast.Location{ - Line: int(733), + Line: int(753), Column: int(40), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{}, + Ctx: p7912, FreeVars: ast.Identifiers{ "f", "obj", @@ -80083,18 +103209,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(733), + Line: int(753), Column: int(16), }, End: ast.Location{ - Line: int(733), + Line: int(753), Column: int(32), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{}, + Ctx: p7912, FreeVars: ast.Identifiers{ "std", }, @@ -80102,17 +103229,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(733), + Line: int(753), Column: int(16), }, End: ast.Location{ - Line: int(733), + Line: int(753), Column: int(19), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -80120,6 +103248,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -80134,80 +103263,96 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "objectHasAll", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(33), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(33), + }, + End: ast.Location{ + Line: int(753), + Column: int(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(733), - Column: int(36), + Fodder: ast.Fodder{}, + Ctx: p7923, + FreeVars: ast.Identifiers{ + "obj", }, - File: p1, - }, - Ctx: p6927, - FreeVars: ast.Identifiers{ - "obj", }, + Id: "obj", }, - Id: "obj", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(733), - Column: int(38), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(753), + Column: int(38), + }, + End: ast.Location{ + Line: int(753), + Column: int(39), + }, + File: p1, }, - End: ast.Location{ - Line: int(733), - Column: int(39), + Fodder: ast.Fodder{}, + Ctx: p7923, + FreeVars: ast.Identifiers{ + "f", }, - File: p1, - }, - Ctx: p6927, - FreeVars: ast.Identifiers{ - "f", }, + Id: "f", }, - Id: "f", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(734), + Line: int(754), Column: int(15), }, End: ast.Location{ - Line: int(734), + Line: int(754), Column: int(21), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{}, + Ctx: p7912, FreeVars: ast.Identifiers{ "f", "obj", @@ -80216,62 +103361,89 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(734), + Line: int(754), Column: int(15), }, End: ast.Location{ - Line: int(734), + Line: int(754), Column: int(18), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7912, FreeVars: ast.Identifiers{ "obj", }, }, Id: "obj", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(734), + Line: int(754), Column: int(19), }, End: ast.Location{ - Line: int(734), + Line: int(754), Column: int(20), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{}, + Ctx: p7912, 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{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(736), + Line: int(756), Column: int(15), }, End: ast.Location{ - Line: int(736), + Line: int(756), Column: int(42), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7912, FreeVars: ast.Identifiers{ "f", }, @@ -80279,18 +103451,19 @@ var _StdAst = &ast.DesugaredObject{ Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(736), + Line: int(756), Column: int(21), }, End: ast.Location{ - Line: int(736), + Line: int(756), Column: int(42), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{}, + Ctx: p7912, FreeVars: ast.Identifiers{ "f", }, @@ -80298,40 +103471,44 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(736), + Line: int(756), Column: int(21), }, End: ast.Location{ - Line: int(736), + Line: int(756), Column: int(38), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{}, + Ctx: p7912, FreeVars: nil, }, Value: "No such field: ", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(736), + Line: int(756), Column: int(41), }, End: ast.Location{ - Line: int(736), + Line: int(756), Column: int(42), }, File: p1, }, - Ctx: p6916, + Fodder: ast.Fodder{}, + Ctx: p7912, FreeVars: ast.Identifiers{ "f", }, @@ -80342,23 +103519,44 @@ var _StdAst = &ast.DesugaredObject{ }, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(752), + Column: int(17), + }, + End: ast.Location{ + Line: int(756), + Column: int(42), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(737), + Line: int(757), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -80377,22 +103575,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "s", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(738), + Line: int(758), Column: int(13), }, End: ast.Location{ - Line: int(741), + Line: int(761), Column: int(50), }, File: p1, }, - Ctx: p6948, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7949, FreeVars: ast.Identifiers{ "code", "f", @@ -80405,18 +103613,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(738), + Line: int(758), Column: int(16), }, End: ast.Location{ - Line: int(738), + Line: int(758), Column: int(33), }, File: p1, }, - Ctx: p6948, + Fodder: ast.Fodder{}, + Ctx: p7949, FreeVars: ast.Identifiers{ "code", }, @@ -80424,18 +103633,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(738), + Line: int(758), Column: int(16), }, End: ast.Location{ - Line: int(738), + Line: int(758), Column: int(26), }, File: p1, }, - Ctx: p6948, + Fodder: ast.Fodder{}, + Ctx: p7949, FreeVars: ast.Identifiers{ "code", }, @@ -80443,17 +103653,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(738), + Line: int(758), Column: int(16), }, End: ast.Location{ - Line: int(738), + Line: int(758), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -80461,6 +103672,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -80475,74 +103687,99 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(738), + Line: int(758), Column: int(30), }, End: ast.Location{ - Line: int(738), + Line: int(758), Column: int(33), }, File: p1, }, - Ctx: p6948, + Fodder: ast.Fodder{}, + Ctx: p7949, FreeVars: nil, }, Value: "%", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(739), + Line: int(759), Column: int(15), }, End: ast.Location{ - Line: int(739), + Line: int(759), Column: int(18), }, File: p1, }, - Ctx: p6948, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7949, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(741), + Line: int(761), Column: int(15), }, End: ast.Location{ - Line: int(741), + Line: int(761), Column: int(50), }, File: p1, }, - Ctx: p6948, + Fodder: ast.Fodder{}, + Ctx: p7949, FreeVars: ast.Identifiers{ "code", "f", @@ -80555,156 +103792,208 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(741), + Line: int(761), Column: int(15), }, End: ast.Location{ - Line: int(741), + Line: int(761), Column: int(26), }, File: p1, }, - Ctx: p6948, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7949, FreeVars: ast.Identifiers{ "format_code", }, }, Id: "format_code", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(27), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(761), + Column: int(27), + }, + End: ast.Location{ + Line: int(761), + Column: int(30), + }, + File: p1, }, - End: ast.Location{ - Line: int(741), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p7969, + FreeVars: ast.Identifiers{ + "val", }, - File: p1, - }, - Ctx: p6965, - FreeVars: ast.Identifiers{ - "val", }, + Id: "val", }, - Id: "val", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(32), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(761), + Column: int(32), + }, + End: ast.Location{ + Line: int(761), + Column: int(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(741), - Column: int(36), + Fodder: ast.Fodder{}, + Ctx: p7969, + FreeVars: ast.Identifiers{ + "code", }, - File: p1, - }, - Ctx: p6965, - FreeVars: ast.Identifiers{ - "code", }, + Id: "code", }, - Id: "code", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(38), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(761), + Column: int(38), + }, + End: ast.Location{ + Line: int(761), + Column: int(40), + }, + File: p1, }, - End: ast.Location{ - Line: int(741), - Column: int(40), + Fodder: ast.Fodder{}, + Ctx: p7969, + FreeVars: ast.Identifiers{ + "fw", }, - File: p1, - }, - Ctx: p6965, - FreeVars: ast.Identifiers{ - "fw", }, + Id: "fw", }, - Id: "fw", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(42), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(761), + Column: int(42), + }, + End: ast.Location{ + Line: int(761), + Column: int(46), + }, + File: p1, }, - End: ast.Location{ - Line: int(741), - Column: int(46), + Fodder: ast.Fodder{}, + Ctx: p7969, + FreeVars: ast.Identifiers{ + "prec", }, - File: p1, - }, - Ctx: p6965, - FreeVars: ast.Identifiers{ - "prec", }, + Id: "prec", }, - Id: "prec", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(48), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(761), + Column: int(48), + }, + End: ast.Location{ + Line: int(761), + Column: int(49), + }, + File: p1, }, - End: ast.Location{ - Line: int(741), - Column: int(49), + Fodder: ast.Fodder{}, + Ctx: p7969, + FreeVars: ast.Identifiers{ + "f", }, - File: p1, - }, - Ctx: p6965, - FreeVars: ast.Identifiers{ - "f", }, + Id: "f", }, - Id: "f", + 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(757), + Column: int(17), + }, + End: ast.Location{ + Line: int(761), + Column: int(50), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(742), + Line: int(762), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, FreeVars: ast.Identifiers{ "code", "codes", @@ -80720,22 +104009,32 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "s_padded", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(743), + Line: int(763), Column: int(13), }, End: ast.Location{ - Line: int(746), + Line: int(766), Column: int(35), }, File: p1, }, - Ctx: p6979, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p7985, FreeVars: ast.Identifiers{ "code", "fw", @@ -80747,18 +104046,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(743), + Line: int(763), Column: int(16), }, End: ast.Location{ - Line: int(743), + Line: int(763), Column: int(32), }, File: p1, }, - Ctx: p6979, + Fodder: ast.Fodder{}, + Ctx: p7985, FreeVars: ast.Identifiers{ "code", }, @@ -80766,17 +104066,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(743), + Line: int(763), Column: int(16), }, End: ast.Location{ - Line: int(743), + Line: int(763), Column: int(27), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -80785,17 +104086,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(743), + Line: int(763), Column: int(16), }, End: ast.Location{ - Line: int(743), + Line: int(763), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "code", @@ -80803,6 +104105,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "code", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -80817,15 +104120,19 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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{ @@ -80840,30 +104147,35 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(744), + Line: int(764), Column: int(15), }, End: ast.Location{ - Line: int(744), + Line: int(764), Column: int(36), }, File: p1, }, - Ctx: p6979, + Fodder: ast.Fodder{}, + Ctx: p7985, FreeVars: ast.Identifiers{ "fw", "pad_right", @@ -80873,110 +104185,143 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(744), + Line: int(764), Column: int(15), }, End: ast.Location{ - Line: int(744), + Line: int(764), Column: int(24), }, File: p1, }, - Ctx: p6979, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7985, FreeVars: ast.Identifiers{ "pad_right", }, }, Id: "pad_right", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(744), - Column: int(25), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(764), + Column: int(25), + }, + End: ast.Location{ + Line: int(764), + Column: int(26), + }, + File: p1, }, - End: ast.Location{ - Line: int(744), - Column: int(26), + Fodder: ast.Fodder{}, + Ctx: p8002, + FreeVars: ast.Identifiers{ + "s", }, - File: p1, - }, - Ctx: p6995, - FreeVars: ast.Identifiers{ - "s", }, + Id: "s", }, - Id: "s", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(744), - Column: int(28), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(764), + Column: int(28), + }, + End: ast.Location{ + Line: int(764), + Column: int(30), + }, + File: p1, }, - End: ast.Location{ - Line: int(744), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p8002, + FreeVars: ast.Identifiers{ + "fw", }, - File: p1, - }, - Ctx: p6995, - FreeVars: ast.Identifiers{ - "fw", }, + Id: "fw", }, - Id: "fw", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(744), - Column: int(32), - }, - End: ast.Location{ - Line: int(744), - Column: int(35), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(764), + Column: int(32), + }, + End: ast.Location{ + Line: int(764), + Column: int(35), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8002, + FreeVars: nil, }, - Ctx: p6995, - FreeVars: nil, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(746), + Line: int(766), Column: int(15), }, End: ast.Location{ - Line: int(746), + Line: int(766), Column: int(35), }, File: p1, }, - Ctx: p6979, + Fodder: ast.Fodder{}, + Ctx: p7985, FreeVars: ast.Identifiers{ "fw", "pad_left", @@ -80986,114 +104331,152 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(746), + Line: int(766), Column: int(15), }, End: ast.Location{ - Line: int(746), + Line: int(766), Column: int(23), }, File: p1, }, - Ctx: p6979, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p7985, FreeVars: ast.Identifiers{ "pad_left", }, }, Id: "pad_left", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(746), - Column: int(24), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(766), + Column: int(24), + }, + End: ast.Location{ + Line: int(766), + Column: int(25), + }, + File: p1, }, - End: ast.Location{ - Line: int(746), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p8015, + FreeVars: ast.Identifiers{ + "s", }, - File: p1, - }, - Ctx: p7006, - FreeVars: ast.Identifiers{ - "s", }, + Id: "s", }, - Id: "s", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(746), - Column: int(27), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(766), + Column: int(27), + }, + End: ast.Location{ + Line: int(766), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(746), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p8015, + FreeVars: ast.Identifiers{ + "fw", }, - File: p1, - }, - Ctx: p7006, - FreeVars: ast.Identifiers{ - "fw", }, + Id: "fw", }, - Id: "fw", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(746), - Column: int(31), - }, - End: ast.Location{ - Line: int(746), - Column: int(34), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(766), + Column: int(31), + }, + End: ast.Location{ + Line: int(766), + Column: int(34), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8015, + FreeVars: nil, }, - Ctx: p7006, - FreeVars: nil, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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(762), + Column: int(17), + }, + End: ast.Location{ + Line: int(766), + Column: int(35), + }, + File: p1, + }, }, }, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(747), + Line: int(767), Column: int(11), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(60), }, File: p1, }, - Ctx: p6783, + Fodder: ast.Fodder{}, + Ctx: p7756, FreeVars: ast.Identifiers{ "codes", "format_codes_obj", @@ -81106,199 +104489,231 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(747), + Line: int(767), Column: int(11), }, - End: ast.Location{ - Line: int(747), - Column: int(27), - }, - File: p1, - }, - Ctx: p6783, - FreeVars: ast.Identifiers{ - "format_codes_obj", - }, - }, - Id: "format_codes_obj", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(747), - Column: int(28), - }, - End: ast.Location{ - Line: int(747), - Column: int(33), - }, - File: p1, - }, - Ctx: p7017, - FreeVars: ast.Identifiers{ - "codes", - }, - }, - Id: "codes", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(747), - Column: int(35), - }, - End: ast.Location{ - Line: int(747), - Column: int(38), - }, - File: p1, - }, - Ctx: p7017, - FreeVars: ast.Identifiers{ - "obj", - }, - }, - Id: "obj", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(747), - Column: int(40), - }, - End: ast.Location{ - Line: int(747), - Column: int(45), - }, - File: p1, - }, - Ctx: p7017, - FreeVars: ast.Identifiers{ - "i", - }, + End: ast.Location{ + Line: int(767), + Column: int(27), }, - Left: &ast.Var{ + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p7756, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(747), - Column: int(40), + Line: int(767), + Column: int(28), }, End: ast.Location{ - Line: int(747), - Column: int(41), + Line: int(767), + Column: int(33), }, File: p1, }, - Ctx: p7017, + Fodder: ast.Fodder{}, + Ctx: p8027, FreeVars: ast.Identifiers{ - "i", + "codes", }, }, - Id: "i", + Id: "codes", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(747), - Column: int(44), + Line: int(767), + Column: int(35), }, End: ast.Location{ - Line: int(747), - Column: int(45), + Line: int(767), + Column: int(38), }, File: p1, }, - Ctx: p7017, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(747), - Column: int(47), - }, - End: ast.Location{ - Line: int(747), - Column: int(59), + Fodder: ast.Fodder{}, + Ctx: p8027, + FreeVars: ast.Identifiers{ + "obj", }, - File: p1, - }, - Ctx: p7017, - FreeVars: ast.Identifiers{ - "s_padded", - "v", }, + Id: "obj", }, - Left: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(747), - Column: int(47), + Line: int(767), + Column: int(40), }, End: ast.Location{ - Line: int(747), - Column: int(48), + Line: int(767), + Column: int(45), }, File: p1, }, - Ctx: p7017, + Fodder: ast.Fodder{}, + Ctx: p8027, FreeVars: ast.Identifiers{ - "v", + "i", }, }, - Id: "v", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(767), + Column: int(40), + }, + End: ast.Location{ + Line: int(767), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8027, + 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(767), + Column: int(44), + }, + End: ast.Location{ + Line: int(767), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8027, + FreeVars: nil, + }, + OriginalString: "1", + }, }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(747), - Column: int(51), + Line: int(767), + Column: int(47), }, End: ast.Location{ - Line: int(747), + Line: int(767), Column: int(59), }, File: p1, }, - Ctx: p7017, + Fodder: ast.Fodder{}, + Ctx: p8027, FreeVars: ast.Identifiers{ "s_padded", + "v", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(767), + Column: int(47), + }, + End: ast.Location{ + Line: int(767), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8027, + 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(767), + Column: int(51), + }, + End: ast.Location{ + Line: int(767), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8027, + FreeVars: ast.Identifiers{ + "s_padded", + }, }, + Id: "s_padded", }, - Id: "s_padded", }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, }, @@ -81311,23 +104726,44 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(749), + Line: int(769), Column: int(5), }, End: ast.Location{ - Line: int(754), + Line: int(774), Column: int(48), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p3497, FreeVars: ast.Identifiers{ "codes", "format_codes_arr", @@ -81336,176 +104772,149 @@ var _StdAst = &ast.DesugaredObject{ "vals", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(749), + Line: int(769), Column: int(8), }, End: ast.Location{ - Line: int(749), - Column: int(33), + Line: int(769), + Column: int(25), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "std", "vals", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(749), + Line: int(769), Column: int(8), }, End: ast.Location{ - Line: int(749), - Column: int(22), + Line: int(769), + Column: int(19), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "std", - "vals", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(749), + Line: int(769), Column: int(8), }, End: ast.Location{ - Line: int(749), - Column: int(16), + Line: int(769), + Column: int(11), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(8), - }, - End: ast.Location{ - Line: int(749), - Column: int(11), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isArray", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(749), - Column: int(17), + Line: int(769), + Column: int(20), }, End: ast.Location{ - Line: int(749), - Column: int(21), + Line: int(769), + Column: int(24), }, File: p1, }, - Ctx: p7045, + Fodder: ast.Fodder{}, + Ctx: p8054, FreeVars: ast.Identifiers{ "vals", }, }, Id: "vals", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(26), - }, - End: ast.Location{ - Line: int(749), - Column: int(33), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: nil, }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(750), + Line: int(770), Column: int(7), }, End: ast.Location{ - Line: int(750), + Line: int(770), Column: int(46), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "codes", "format_codes_arr", @@ -81515,150 +104924,189 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(750), + Line: int(770), Column: int(7), }, End: ast.Location{ - Line: int(750), + Line: int(770), Column: int(23), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3497, FreeVars: ast.Identifiers{ "format_codes_arr", }, }, Id: "format_codes_arr", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(24), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(770), + Column: int(24), + }, + End: ast.Location{ + Line: int(770), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(750), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p8063, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p7054, - FreeVars: ast.Identifiers{ - "codes", }, + Id: "codes", }, - Id: "codes", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(31), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(770), + Column: int(31), + }, + End: ast.Location{ + Line: int(770), + Column: int(35), + }, + File: p1, }, - End: ast.Location{ - Line: int(750), - Column: int(35), + Fodder: ast.Fodder{}, + Ctx: p8063, + FreeVars: ast.Identifiers{ + "vals", }, - File: p1, - }, - Ctx: p7054, - FreeVars: ast.Identifiers{ - "vals", }, + Id: "vals", }, - Id: "vals", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(37), - }, - End: ast.Location{ - Line: int(750), - Column: int(38), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(770), + Column: int(37), + }, + End: ast.Location{ + Line: int(770), + Column: int(38), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8063, + FreeVars: nil, }, - Ctx: p7054, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(40), - }, - End: ast.Location{ - Line: int(750), - Column: int(41), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(770), + Column: int(40), + }, + End: ast.Location{ + Line: int(770), + Column: int(41), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8063, + FreeVars: nil, }, - Ctx: p7054, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(43), - }, - End: ast.Location{ - Line: int(750), - Column: int(45), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(770), + Column: int(43), + }, + End: ast.Location{ + Line: int(770), + Column: int(45), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8063, + FreeVars: nil, }, - Ctx: p7054, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(751), + Line: int(771), Column: int(10), }, End: ast.Location{ - Line: int(754), + Line: int(774), Column: int(48), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "codes", "format_codes_arr", @@ -81667,176 +105115,149 @@ var _StdAst = &ast.DesugaredObject{ "vals", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(751), + Line: int(771), Column: int(13), }, End: ast.Location{ - Line: int(751), - Column: int(39), + Line: int(771), + Column: int(31), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "std", "vals", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(751), + Line: int(771), Column: int(13), }, End: ast.Location{ - Line: int(751), - Column: int(27), + Line: int(771), + Column: int(25), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "std", - "vals", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(751), + Line: int(771), Column: int(13), }, End: ast.Location{ - Line: int(751), - Column: int(21), + Line: int(771), + Column: int(16), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(751), - Column: int(13), - }, - End: ast.Location{ - Line: int(751), - Column: int(16), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "isObject", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(751), - Column: int(22), + Line: int(771), + Column: int(26), }, End: ast.Location{ - Line: int(751), - Column: int(26), + Line: int(771), + Column: int(30), }, File: p1, }, - Ctx: p7074, + Fodder: ast.Fodder{}, + Ctx: p8082, FreeVars: ast.Identifiers{ "vals", }, }, Id: "vals", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(751), - Column: int(31), - }, - End: ast.Location{ - Line: int(751), - Column: int(39), - }, - File: p1, - }, - Ctx: p2910, - FreeVars: nil, }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(752), + Line: int(772), Column: int(7), }, End: ast.Location{ - Line: int(752), + Line: int(772), Column: int(43), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "codes", "format_codes_obj", @@ -81846,130 +105267,166 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(752), + Line: int(772), Column: int(7), }, End: ast.Location{ - Line: int(752), + Line: int(772), Column: int(23), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3497, FreeVars: ast.Identifiers{ "format_codes_obj", }, }, Id: "format_codes_obj", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(24), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(24), + }, + End: ast.Location{ + Line: int(772), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(752), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p8091, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p7083, - FreeVars: ast.Identifiers{ - "codes", }, + Id: "codes", }, - Id: "codes", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(31), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(31), + }, + End: ast.Location{ + Line: int(772), + Column: int(35), + }, + File: p1, }, - End: ast.Location{ - Line: int(752), - Column: int(35), + Fodder: ast.Fodder{}, + Ctx: p8091, + FreeVars: ast.Identifiers{ + "vals", }, - File: p1, - }, - Ctx: p7083, - FreeVars: ast.Identifiers{ - "vals", }, + Id: "vals", }, - Id: "vals", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(37), - }, - End: ast.Location{ - Line: int(752), - Column: int(38), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(37), + }, + End: ast.Location{ + Line: int(772), + Column: int(38), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8091, + FreeVars: nil, }, - Ctx: p7083, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(40), - }, - End: ast.Location{ - Line: int(752), - Column: int(42), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(772), + Column: int(40), + }, + End: ast.Location{ + Line: int(772), + Column: int(42), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8091, + FreeVars: nil, }, - Ctx: p7083, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(754), + Line: int(774), Column: int(7), }, End: ast.Location{ - Line: int(754), + Line: int(774), Column: int(48), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{}, + Ctx: p3497, FreeVars: ast.Identifiers{ "codes", "format_codes_arr", @@ -81979,157 +105436,192 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(754), + Line: int(774), Column: int(7), }, End: ast.Location{ - Line: int(754), + Line: int(774), Column: int(23), }, File: p1, }, - Ctx: p2910, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p3497, FreeVars: ast.Identifiers{ "format_codes_arr", }, }, Id: "format_codes_arr", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(24), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(774), + Column: int(24), + }, + End: ast.Location{ + Line: int(774), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(754), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p8105, + FreeVars: ast.Identifiers{ + "codes", }, - File: p1, - }, - Ctx: p7095, - FreeVars: ast.Identifiers{ - "codes", }, + Id: "codes", }, - Id: "codes", + CommaFodder: ast.Fodder{}, }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(31), + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(774), + Column: int(31), + }, + End: ast.Location{ + Line: int(774), + Column: int(37), + }, + File: p1, }, - End: ast.Location{ - Line: int(754), - Column: int(37), + Fodder: ast.Fodder{}, + Ctx: p8105, + FreeVars: ast.Identifiers{ + "vals", }, - File: p1, }, - Ctx: p7095, - FreeVars: ast.Identifiers{ - "vals", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(32), - }, - End: ast.Location{ - Line: int(754), - Column: int(36), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(774), + Column: int(32), + }, + End: ast.Location{ + Line: int(774), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8111, + FreeVars: ast.Identifiers{ + "vals", + }, }, - File: p1, - }, - Ctx: p7101, - FreeVars: ast.Identifiers{ - "vals", + Id: "vals", }, + CommaFodder: nil, }, - Id: "vals", }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - TrailingComma: false, + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(39), - }, - End: ast.Location{ - Line: int(754), - Column: int(40), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(774), + Column: int(39), + }, + End: ast.Location{ + Line: int(774), + Column: int(40), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8105, + FreeVars: nil, }, - Ctx: p7095, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(42), - }, - End: ast.Location{ - Line: int(754), - Column: int(43), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(774), + Column: int(42), + }, + End: ast.Location{ + Line: int(774), + Column: int(43), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8105, + FreeVars: nil, }, - Ctx: p7095, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(45), - }, - End: ast.Location{ - Line: int(754), - Column: int(47), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(774), + Column: int(45), + }, + End: ast.Location{ + Line: int(774), + Column: int(47), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8105, + FreeVars: nil, }, - Ctx: p7095, - FreeVars: nil, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, @@ -82155,6 +105647,2099 @@ var _StdAst = &ast.DesugaredObject{ }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(307), + Column: int(3), + }, + End: ast.Location{ + Line: int(774), + 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: nil, + }, + 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: p11, + 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(776), + Column: int(9), + }, + End: ast.Location{ + Line: int(776), + Column: int(13), + }, + 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(776), + Column: int(15), + }, + End: ast.Location{ + Line: int(776), + 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(776), + Column: int(20), + }, + End: ast.Location{ + Line: int(776), + 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(777), + Column: int(5), + }, + End: ast.Location{ + Line: int(782), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8122, + FreeVars: ast.Identifiers{ + "arr", + "func", + "init", + "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(777), + Column: int(11), + }, + End: ast.Location{ + Line: int(781), + Column: int(57), + }, + File: p1, + }, + Fodder: nil, + Ctx: p8126, + 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(777), + Column: int(15), + }, + End: ast.Location{ + Line: int(777), + 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(777), + Column: int(21), + }, + End: ast.Location{ + Line: int(777), + 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(777), + Column: int(26), + }, + End: ast.Location{ + Line: int(777), + 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(777), + Column: int(35), + }, + End: ast.Location{ + Line: int(777), + 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(778), + Column: int(7), + }, + End: ast.Location{ + Line: int(781), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8131, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "idx", + "running", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(778), + Column: int(10), + }, + End: ast.Location{ + Line: int(778), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8131, + FreeVars: ast.Identifiers{ + "idx", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(778), + Column: int(10), + }, + End: ast.Location{ + Line: int(778), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8131, + FreeVars: ast.Identifiers{ + "idx", + }, + }, + Id: "idx", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(778), + Column: int(16), + }, + End: ast.Location{ + Line: int(778), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8131, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(779), + Column: int(9), + }, + End: ast.Location{ + Line: int(779), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p8131, + 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(781), + Column: int(9), + }, + End: ast.Location{ + Line: int(781), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8131, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "idx", + "running", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(781), + Column: int(9), + }, + End: ast.Location{ + Line: int(781), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p8131, + 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(781), + Column: int(13), + }, + End: ast.Location{ + Line: int(781), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8149, + 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(781), + Column: int(19), + }, + End: ast.Location{ + Line: int(781), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8149, + 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(781), + Column: int(24), + }, + End: ast.Location{ + Line: int(781), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8149, + FreeVars: ast.Identifiers{ + "arr", + "func", + "idx", + "running", + }, + }, + Target: &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(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8149, + 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(781), + Column: int(29), + }, + End: ast.Location{ + Line: int(781), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8159, + FreeVars: ast.Identifiers{ + "arr", + "idx", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(781), + Column: int(29), + }, + End: ast.Location{ + Line: int(781), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8159, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(781), + Column: int(33), + }, + End: ast.Location{ + Line: int(781), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8159, + 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(781), + Column: int(39), + }, + End: ast.Location{ + Line: int(781), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8159, + 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(781), + Column: int(49), + }, + End: ast.Location{ + Line: int(781), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8149, + FreeVars: ast.Identifiers{ + "idx", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(781), + Column: int(49), + }, + End: ast.Location{ + Line: int(781), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8149, + 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(781), + Column: int(55), + }, + End: ast.Location{ + Line: int(781), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8149, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + 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(782), + Column: int(5), + }, + End: ast.Location{ + Line: int(782), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8122, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "init", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(5), + }, + End: ast.Location{ + Line: int(782), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8122, + 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(782), + Column: int(9), + }, + End: ast.Location{ + Line: int(782), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8179, + 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(782), + Column: int(15), + }, + End: ast.Location{ + Line: int(782), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8179, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(20), + }, + End: ast.Location{ + Line: int(782), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8179, + FreeVars: ast.Identifiers{ + "init", + }, + }, + Id: "init", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(26), + }, + End: ast.Location{ + Line: int(782), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8179, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(26), + }, + End: ast.Location{ + Line: int(782), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8179, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(26), + }, + End: ast.Location{ + Line: int(782), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8179, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(26), + }, + End: ast.Location{ + Line: int(782), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(782), + Column: int(37), + }, + End: ast.Location{ + Line: int(782), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8196, + 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(4), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(782), + Column: int(44), + }, + End: ast.Location{ + Line: int(782), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8179, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(776), + Column: int(3), + }, + End: ast.Location{ + Line: int(782), + 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: nil, + }, + 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: p11, + 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(784), + Column: int(9), + }, + End: ast.Location{ + Line: int(784), + Column: int(13), + }, + 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(15), + }, + End: ast.Location{ + Line: int(784), + 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(784), + Column: int(20), + }, + End: ast.Location{ + Line: int(784), + 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(785), + Column: int(5), + }, + End: ast.Location{ + Line: int(790), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8205, + FreeVars: ast.Identifiers{ + "arr", + "func", + "init", + "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(785), + Column: int(11), + }, + End: ast.Location{ + Line: int(789), + Column: int(57), + }, + File: p1, + }, + Fodder: nil, + Ctx: p8209, + 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(785), + Column: int(15), + }, + End: ast.Location{ + Line: int(785), + 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(785), + Column: int(21), + }, + End: ast.Location{ + Line: int(785), + 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(785), + Column: int(26), + }, + End: ast.Location{ + Line: int(785), + 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(785), + Column: int(35), + }, + End: ast.Location{ + Line: int(785), + 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(786), + Column: int(7), + }, + End: ast.Location{ + Line: int(789), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8214, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "idx", + "running", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(10), + }, + End: ast.Location{ + Line: int(786), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8214, + FreeVars: ast.Identifiers{ + "arr", + "idx", + "std", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(10), + }, + End: ast.Location{ + Line: int(786), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8214, + 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(786), + Column: int(17), + }, + End: ast.Location{ + Line: int(786), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8214, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(17), + }, + End: ast.Location{ + Line: int(786), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8214, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(786), + Column: int(17), + }, + End: ast.Location{ + Line: int(786), + 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: nil, + }, + 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(786), + Column: int(28), + }, + End: ast.Location{ + Line: int(786), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8229, + 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(787), + Column: int(9), + }, + End: ast.Location{ + Line: int(787), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p8214, + 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(789), + Column: int(9), + }, + End: ast.Location{ + Line: int(789), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8214, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "idx", + "running", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(9), + }, + End: ast.Location{ + Line: int(789), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p8214, + 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(789), + Column: int(13), + }, + End: ast.Location{ + Line: int(789), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8242, + 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(789), + Column: int(19), + }, + End: ast.Location{ + Line: int(789), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8242, + 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(789), + Column: int(24), + }, + End: ast.Location{ + Line: int(789), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8242, + FreeVars: ast.Identifiers{ + "arr", + "func", + "idx", + "running", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(24), + }, + End: ast.Location{ + Line: int(789), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8242, + 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(789), + Column: int(29), + }, + End: ast.Location{ + Line: int(789), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8252, + 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(789), + Column: int(38), + }, + End: ast.Location{ + Line: int(789), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8252, + FreeVars: ast.Identifiers{ + "arr", + "idx", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(38), + }, + End: ast.Location{ + Line: int(789), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8252, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(42), + }, + End: ast.Location{ + Line: int(789), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8252, + 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(789), + Column: int(49), + }, + End: ast.Location{ + Line: int(789), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8242, + FreeVars: ast.Identifiers{ + "idx", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(789), + Column: int(49), + }, + End: ast.Location{ + Line: int(789), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8242, + 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(789), + Column: int(55), + }, + End: ast.Location{ + Line: int(789), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8242, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + 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(790), + Column: int(5), + }, + End: ast.Location{ + Line: int(790), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8205, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "func", + "init", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(5), + }, + End: ast.Location{ + Line: int(790), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8205, + 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(790), + Column: int(9), + }, + End: ast.Location{ + Line: int(790), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8272, + 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(790), + Column: int(15), + }, + End: ast.Location{ + Line: int(790), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8272, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(20), + }, + End: ast.Location{ + Line: int(790), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8272, + FreeVars: ast.Identifiers{ + "init", + }, + }, + Id: "init", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(790), + Column: int(26), + }, + End: ast.Location{ + Line: int(790), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8272, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(784), + Column: int(3), + }, + End: ast.Location{ + Line: int(790), + Column: int(28), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -82172,12 +107757,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "foldr", + Value: "filterMap", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -82193,749 +107780,2594 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "func", - "arr", - "init", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "filter_func", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(13), + }, + End: ast.Location{ + Line: int(793), + 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(793), + Column: int(26), + }, + End: ast.Location{ + Line: int(793), + Column: int(34), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(36), + }, + End: ast.Location{ + Line: int(793), + Column: int(39), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(757), + Line: int(794), Column: int(5), }, End: ast.Location{ - Line: int(762), - Column: int(46), + Line: int(801), + Column: int(54), }, File: p1, }, - Ctx: p7111, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8285, FreeVars: ast.Identifiers{ "arr", - "func", - "init", + "filter_func", + "map_func", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(794), + Column: int(8), + }, + End: ast.Location{ + Line: int(794), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + 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(794), + Column: int(9), + }, + End: ast.Location{ + Line: int(794), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "filter_func", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(757), - Column: int(11), + Line: int(794), + Column: int(9), }, End: ast.Location{ - Line: int(761), - Column: int(57), + Line: int(794), + Column: int(23), }, File: p1, }, - Ctx: p7115, + Fodder: ast.Fodder{}, + Ctx: p8285, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "func", - "arr", - "running", - "idx", + Target: &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(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: nil, + }, + 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(794), + Column: int(24), + }, + End: ast.Location{ + Line: int(794), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8298, + FreeVars: ast.Identifiers{ + "filter_func", + }, + }, + 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(795), + Column: int(7), + }, + End: ast.Location{ + Line: int(795), + Column: int(89), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "filter_func", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(14), + }, + End: ast.Location{ + Line: int(795), + Column: int(88), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "filter_func", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(14), + }, + End: ast.Location{ + Line: int(795), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: nil, + }, + Value: "std.filterMap 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(795), + Column: int(67), + }, + End: ast.Location{ + Line: int(795), + Column: int(88), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "filter_func", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(67), + }, + End: ast.Location{ + Line: int(795), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(795), + Column: int(67), + }, + End: ast.Location{ + Line: int(795), + 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: nil, + }, + 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(795), + Column: int(76), + }, + End: ast.Location{ + Line: int(795), + Column: int(87), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8315, + FreeVars: ast.Identifiers{ + "filter_func", + }, + }, + Id: "filter_func", + }, + CommaFodder: nil, + }, }, - Optional: nil, + Named: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + 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(796), + Column: int(10), + }, + End: ast.Location{ + Line: int(801), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "map_func", + "std", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(13), + }, + End: ast.Location{ + Line: int(796), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + 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(796), + Column: int(14), + }, + End: ast.Location{ + Line: int(796), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "map_func", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(758), - Column: int(7), + Line: int(796), + Column: int(14), }, End: ast.Location{ - Line: int(761), - Column: int(57), + Line: int(796), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(796), + Column: int(14), + }, + End: ast.Location{ + Line: int(796), + 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: nil, + }, + 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(796), + Column: int(29), + }, + End: ast.Location{ + Line: int(796), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8331, + FreeVars: ast.Identifiers{ + "map_func", + }, + }, + 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(797), + Column: int(7), + }, + End: ast.Location{ + Line: int(797), + Column: int(87), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "map_func", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(797), + Column: int(14), + }, + End: ast.Location{ + Line: int(797), + Column: int(86), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "map_func", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(797), + Column: int(14), + }, + End: ast.Location{ + Line: int(797), + Column: int(65), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: nil, + }, + Value: "std.filterMap second 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(797), + Column: int(68), + }, + End: ast.Location{ + Line: int(797), + Column: int(86), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "map_func", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(797), + Column: int(68), + }, + End: ast.Location{ + Line: int(797), + Column: int(76), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(797), + Column: int(68), + }, + End: ast.Location{ + Line: int(797), + 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: nil, + }, + 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(797), + Column: int(77), + }, + End: ast.Location{ + Line: int(797), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8348, + FreeVars: ast.Identifiers{ + "map_func", + }, + }, + Id: "map_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(798), + Column: int(10), + }, + End: ast.Location{ + Line: int(801), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "map_func", + "std", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(798), + Column: int(13), + }, + End: ast.Location{ + Line: int(798), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(798), + Column: int(14), + }, + End: ast.Location{ + Line: int(798), + Column: int(30), }, File: p1, }, - Ctx: p7119, + Fodder: ast.Fodder{}, + Ctx: p8285, FreeVars: ast.Identifiers{ "arr", - "aux", - "func", - "idx", - "running", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(798), + Column: int(14), + }, + End: ast.Location{ + Line: int(798), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(798), + Column: int(14), + }, + End: ast.Location{ + Line: int(798), + 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: nil, + }, + 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(798), + Column: int(26), + }, + End: ast.Location{ + Line: int(798), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8364, + 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(799), + Column: int(7), + }, + End: ast.Location{ + Line: int(799), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(799), + Column: int(14), + }, + End: ast.Location{ + Line: int(799), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(799), + Column: int(14), + }, + End: ast.Location{ + Line: int(799), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: nil, }, + Value: "std.filterMap third param must be array, got ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Cond: &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(758), - Column: int(10), + Line: int(799), + Column: int(64), }, End: ast.Location{ - Line: int(758), - Column: int(17), + Line: int(799), + Column: int(77), }, File: p1, }, - Ctx: p7119, + Fodder: ast.Fodder{}, + Ctx: p8285, FreeVars: ast.Identifiers{ - "idx", + "arr", + "std", }, }, - Left: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(758), - Column: int(10), + Line: int(799), + Column: int(64), }, End: ast.Location{ - Line: int(758), - Column: int(13), + Line: int(799), + Column: int(72), }, File: p1, }, - Ctx: p7119, + Fodder: ast.Fodder{}, + Ctx: p8285, FreeVars: ast.Identifiers{ - "idx", + "std", }, }, - Id: "idx", - }, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(758), - Column: int(16), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(799), + Column: int(64), + }, + End: ast.Location{ + Line: int(799), + Column: int(67), + }, + File: p1, }, - End: ast.Location{ - Line: int(758), - Column: int(17), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p7119, - FreeVars: nil, + Id: "std", }, - Value: float64(0), - OriginalString: "0", + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(799), + Column: int(73), + }, + End: ast.Location{ + Line: int(799), + Column: int(76), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8381, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchTrue: &ast.Var{ + }, + }, + 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(801), + Column: int(7), + }, + End: ast.Location{ + Line: int(801), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "map_func", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(7), + }, + End: ast.Location{ + Line: int(801), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8285, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(759), - Column: int(9), + Line: int(801), + Column: int(7), }, End: ast.Location{ - Line: int(759), - Column: int(16), + Line: int(801), + Column: int(10), }, File: p1, }, - Ctx: p7119, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "running", + "std", }, }, - Id: "running", + Id: "std", }, - BranchFalse: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(761), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(761), - Column: int(57), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p7119, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(9), + 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(801), + Column: int(15), + }, + End: ast.Location{ + Line: int(801), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(761), - Column: int(12), + Fodder: ast.Fodder{}, + Ctx: p8394, + FreeVars: ast.Identifiers{ + "map_func", }, - File: p1, - }, - Ctx: p7119, - FreeVars: ast.Identifiers{ - "aux", }, + Id: "map_func", }, - Id: "aux", + CommaFodder: ast.Fodder{}, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(13), - }, - End: ast.Location{ - Line: int(761), - Column: int(17), - }, - File: p1, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(801), + Column: int(25), }, - Ctx: p7134, - FreeVars: ast.Identifiers{ - "func", + End: ast.Location{ + Line: int(801), + Column: int(53), }, + File: p1, }, - Id: "func", - }, - &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(22), - }, - File: p1, - }, - Ctx: p7134, - FreeVars: ast.Identifiers{ - "arr", - }, + Fodder: ast.Fodder{}, + Ctx: p8394, + FreeVars: ast.Identifiers{ + "arr", + "filter_func", + "std", }, - Id: "arr", }, - &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(761), - Column: int(24), + Line: int(801), + Column: int(25), }, End: ast.Location{ - Line: int(761), - Column: int(47), + Line: int(801), + Column: int(35), }, File: p1, }, - Ctx: p7134, + Fodder: ast.Fodder{}, + Ctx: p8394, FreeVars: ast.Identifiers{ - "arr", - "func", - "idx", - "running", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(761), - Column: int(24), + Line: int(801), + Column: int(25), }, End: ast.Location{ - Line: int(761), + Line: int(801), Column: int(28), }, File: p1, }, - Ctx: p7134, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "func", + "std", }, }, - Id: "func", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(761), - Column: int(29), + Line: int(801), + Column: int(36), }, End: ast.Location{ - Line: int(761), - Column: int(37), + Line: int(801), + Column: int(47), }, File: p1, }, - Ctx: p7144, + Fodder: ast.Fodder{}, + Ctx: p8405, FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(29), - }, - End: ast.Location{ - Line: int(761), - Column: int(32), - }, - File: p1, - }, - Ctx: p7144, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(33), - }, - End: ast.Location{ - Line: int(761), - Column: int(36), - }, - File: p1, - }, - Ctx: p7144, - FreeVars: ast.Identifiers{ - "idx", - }, + "filter_func", }, - Id: "idx", }, - Id: nil, + Id: "filter_func", }, - &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(761), - Column: int(39), + Line: int(801), + Column: int(49), }, End: ast.Location{ - Line: int(761), - Column: int(46), + Line: int(801), + Column: int(52), }, File: p1, }, - Ctx: p7144, + Fodder: ast.Fodder{}, + Ctx: p8405, FreeVars: ast.Identifiers{ - "running", + "arr", }, }, - Id: "running", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(49), - }, - End: ast.Location{ - Line: int(761), - Column: int(56), - }, - File: p1, - }, - Ctx: p7134, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(49), - }, - End: ast.Location{ - Line: int(761), - Column: int(52), - }, - File: p1, - }, - Ctx: p7134, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(55), - }, - End: ast.Location{ - Line: int(761), - Column: int(56), - }, - File: p1, + Id: "arr", }, - Ctx: p7134, - FreeVars: nil, + CommaFodder: nil, }, - Value: float64(1), - OriginalString: "1", }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: true, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, }, }, - Body: &ast.Apply{ + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(793), + Column: int(3), + }, + End: ast.Location{ + Line: int(801), + 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: nil, + }, + 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: p11, + FreeVars: nil, + }, + 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(803), + Column: int(15), + }, + End: ast.Location{ + Line: int(803), + 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(803), + Column: int(18), + }, + End: ast.Location{ + Line: int(803), + 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(804), + Column: int(5), + }, + End: ast.Location{ + Line: int(807), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8414, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(762), - Column: int(5), + Line: int(804), + Column: int(8), }, End: ast.Location{ - Line: int(762), - Column: int(46), + Line: int(804), + Column: int(14), }, File: p1, }, - Ctx: p7111, + Fodder: ast.Fodder{}, + Ctx: p8414, FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "init", - "std", + "a", + "b", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(762), - Column: int(5), + Line: int(804), + Column: int(8), }, End: ast.Location{ - Line: int(762), - Column: int(8), + Line: int(804), + Column: int(9), }, File: p1, }, - Ctx: p7111, + Fodder: ast.Fodder{}, + Ctx: p8414, FreeVars: ast.Identifiers{ - "aux", + "a", }, }, - Id: "aux", + Id: "a", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(804), + Column: int(13), + }, + End: ast.Location{ + Line: int(804), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8414, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(805), + Column: int(7), + }, + End: ast.Location{ + Line: int(805), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8414, + FreeVars: nil, + }, + 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(807), + Column: int(7), + }, + End: ast.Location{ + Line: int(807), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8414, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(807), + Column: int(13), + }, + End: ast.Location{ + Line: int(807), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8414, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(807), + Column: int(13), + }, + End: ast.Location{ + Line: int(807), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8414, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(762), - Column: int(9), + Line: int(807), + Column: int(13), }, End: ast.Location{ - Line: int(762), - Column: int(13), + Line: int(807), + Column: int(37), }, File: p1, }, - Ctx: p7163, + Fodder: ast.Fodder{}, + Ctx: p8414, FreeVars: ast.Identifiers{ - "func", + "a", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(807), + Column: int(13), + }, + End: ast.Location{ + Line: int(807), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8414, + FreeVars: nil, + }, + 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(807), + Column: int(36), + }, + End: ast.Location{ + Line: int(807), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8414, + FreeVars: ast.Identifiers{ + "a", + }, }, + Id: "a", }, - Id: "func", }, - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(762), - Column: int(15), + Line: int(807), + Column: int(40), }, End: ast.Location{ - Line: int(762), - Column: int(18), + Line: int(807), + Column: int(46), }, File: p1, }, - Ctx: p7163, - FreeVars: ast.Identifiers{ - "arr", + Fodder: ast.Fodder{}, + Ctx: p8414, + FreeVars: nil, + }, + 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(807), + Column: int(49), + }, + End: ast.Location{ + Line: int(807), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8414, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(803), + Column: int(3), + }, + End: ast.Location{ + Line: int(807), + 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: nil, + }, + 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: p11, + 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(809), + Column: int(7), + }, + End: ast.Location{ + Line: int(809), + 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(810), + Column: int(5), + }, + End: ast.Location{ + Line: int(813), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(810), + Column: int(8), + }, + End: ast.Location{ + Line: int(810), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(810), + Column: int(9), + }, + End: ast.Location{ + Line: int(810), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(810), + Column: int(9), + }, + End: ast.Location{ + Line: int(810), + Column: int(21), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "std", }, - Id: "arr", }, - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(762), - Column: int(20), + Line: int(810), + Column: int(9), }, End: ast.Location{ - Line: int(762), - Column: int(24), + Line: int(810), + Column: int(12), }, File: p1, }, - Ctx: p7163, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "init", + "std", }, }, - Id: "init", + Id: "std", }, - &ast.Binary{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(762), - Column: int(26), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(762), - Column: int(45), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(810), + Column: int(22), + }, + End: ast.Location{ + Line: int(810), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8459, + 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(811), + Column: int(7), + }, + End: ast.Location{ + Line: int(811), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(811), + Column: int(13), + }, + End: ast.Location{ + Line: int(811), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(811), + Column: int(13), + }, + End: ast.Location{ + Line: int(811), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: nil, + }, + 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(811), + Column: int(47), + }, + End: ast.Location{ + Line: int(811), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(811), + Column: int(47), + }, + End: ast.Location{ + Line: int(811), + Column: int(55), }, File: p1, }, - Ctx: p7163, + Fodder: ast.Fodder{}, + Ctx: p8446, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(762), - Column: int(26), + Line: int(811), + Column: int(47), }, End: ast.Location{ - Line: int(762), - Column: int(41), + Line: int(811), + Column: int(50), }, File: p1, }, - Ctx: p7163, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(26), - }, - End: ast.Location{ - Line: int(762), - Column: int(36), - }, - File: p1, - }, - Ctx: p7163, - 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), }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(26), - }, - End: ast.Location{ - Line: int(762), - Column: int(29), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "std", + File: nil, }, - Index: &ast.LiteralString{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(0), - Column: int(0), + Line: int(811), + Column: int(56), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(811), + Column: int(57), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(37), - }, - End: ast.Location{ - Line: int(762), - Column: int(40), - }, - File: p1, - }, - Ctx: p7180, - FreeVars: ast.Identifiers{ - "arr", - }, + Fodder: ast.Fodder{}, + Ctx: p8476, + FreeVars: ast.Identifiers{ + "n", }, - Id: "arr", }, + Id: "n", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(44), - }, - End: ast.Location{ - Line: int(762), - Column: int(45), - }, - File: p1, - }, - Ctx: p7163, - FreeVars: 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(813), + Column: int(7), + }, + End: ast.Location{ + Line: int(813), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(10), + }, + End: ast.Location{ + Line: int(813), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(10), }, - Value: float64(1), - OriginalString: "1", + End: ast.Location{ + Line: int(813), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + 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(813), + Column: int(14), + }, + End: ast.Location{ + Line: int(813), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(21), + }, + End: ast.Location{ + Line: int(813), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + }, + }, + Id: "n", + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(28), + }, + End: ast.Location{ + Line: int(813), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + }, + }, + Op: ast.UnaryOp(3), + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(813), + Column: int(29), + }, + End: ast.Location{ + Line: int(813), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8446, + FreeVars: ast.Identifiers{ + "n", + }, + }, + Id: "n", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(809), + Column: int(3), + }, + End: ast.Location{ + Line: int(813), + Column: int(30), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -82953,12 +110385,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "foldl", + Value: "sign", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -82974,710 +110408,730 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "func", - "arr", - "init", + 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(815), + Column: int(8), + }, + End: ast.Location{ + Line: int(815), + Column: int(9), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(765), + Line: int(816), Column: int(5), }, End: ast.Location{ - Line: int(770), - Column: int(28), + Line: int(823), + Column: int(13), }, File: p1, }, - Ctx: p7188, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8499, FreeVars: ast.Identifiers{ - "arr", - "func", - "init", + "n", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(8), + }, + End: ast.Location{ + Line: int(816), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(816), + Column: int(9), + }, + End: ast.Location{ + Line: int(816), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(765), - Column: int(11), + Line: int(816), + Column: int(9), }, End: ast.Location{ - Line: int(769), - Column: int(57), + Line: int(816), + Column: int(21), }, File: p1, }, - Ctx: p7192, + Fodder: ast.Fodder{}, + Ctx: p8499, FreeVars: ast.Identifiers{ - "aux", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "func", - "arr", - "running", - "idx", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(766), - Column: int(7), + Line: int(816), + Column: int(9), }, End: ast.Location{ - Line: int(769), - Column: int(57), + Line: int(816), + Column: int(12), }, File: p1, }, - Ctx: p7196, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", "std", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(10), - }, - End: ast.Location{ - Line: int(766), - Column: int(32), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p7196, - FreeVars: ast.Identifiers{ - "arr", - "idx", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(766), - Column: int(10), + Line: int(816), + Column: int(22), }, End: ast.Location{ - Line: int(766), - Column: int(13), + Line: int(816), + Column: int(23), }, File: p1, }, - Ctx: p7196, + Fodder: ast.Fodder{}, + Ctx: p8512, FreeVars: ast.Identifiers{ - "idx", + "n", }, }, - Id: "idx", + Id: "n", }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(17), - }, - End: ast.Location{ - Line: int(766), - Column: int(32), - }, - File: p1, - }, - Ctx: p7196, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(17), - }, - End: ast.Location{ - Line: int(766), - Column: int(27), - }, - File: p1, - }, - Ctx: p7196, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(17), - }, - End: ast.Location{ - Line: int(766), - Column: int(20), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, + 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(817), + Column: int(7), + }, + End: ast.Location{ + Line: int(817), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(13), + }, + End: ast.Location{ + Line: int(817), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(13), + }, + End: ast.Location{ + Line: int(817), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: nil, + }, + Value: "std.sign 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(817), + Column: int(48), + }, + End: ast.Location{ + Line: int(817), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "n", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(817), + Column: int(48), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(28), - }, - End: ast.Location{ - Line: int(766), - Column: int(31), - }, - File: p1, - }, - Ctx: p7211, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, + End: ast.Location{ + Line: int(817), + Column: int(56), }, - TrailingComma: false, - TailStrict: false, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "std", }, }, - BranchTrue: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(767), - Column: int(9), + Line: int(817), + Column: int(48), }, End: ast.Location{ - Line: int(767), - Column: int(16), + Line: int(817), + Column: int(51), }, File: p1, }, - Ctx: p7196, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "running", + "std", }, }, - Id: "running", + Id: "std", }, - BranchFalse: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(769), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(769), - Column: int(57), - }, - File: p1, - }, - Ctx: p7196, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(9), - }, - End: ast.Location{ - Line: int(769), - Column: int(12), - }, - File: p1, - }, - Ctx: p7196, - FreeVars: ast.Identifiers{ - "aux", + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "aux", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(13), - }, - End: ast.Location{ - Line: int(769), - Column: int(17), - }, - File: p1, - }, - Ctx: p7221, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(19), - }, - End: ast.Location{ - Line: int(769), - Column: int(22), - }, - File: p1, - }, - Ctx: p7221, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(24), - }, - End: ast.Location{ - Line: int(769), - Column: int(47), - }, - File: p1, - }, - Ctx: p7221, - FreeVars: ast.Identifiers{ - "arr", - "func", - "idx", - "running", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(24), - }, - End: ast.Location{ - Line: int(769), - Column: int(28), - }, - File: p1, - }, - Ctx: p7221, - FreeVars: ast.Identifiers{ - "func", - }, - }, - Id: "func", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(29), - }, - End: ast.Location{ - Line: int(769), - Column: int(36), - }, - File: p1, - }, - Ctx: p7231, - FreeVars: ast.Identifiers{ - "running", - }, - }, - Id: "running", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(38), - }, - End: ast.Location{ - Line: int(769), - Column: int(46), - }, - File: p1, - }, - Ctx: p7231, - FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(38), - }, - End: ast.Location{ - Line: int(769), - Column: int(41), - }, - File: p1, - }, - Ctx: p7231, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(42), - }, - End: ast.Location{ - Line: int(769), - Column: int(45), - }, - File: p1, - }, - Ctx: p7231, - FreeVars: ast.Identifiers{ - "idx", - }, - }, - Id: "idx", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(49), - }, - End: ast.Location{ - Line: int(769), - Column: int(56), - }, - File: p1, - }, - Ctx: p7221, - FreeVars: ast.Identifiers{ - "idx", + 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(817), + Column: int(57), }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(49), - }, - End: ast.Location{ - Line: int(769), - Column: int(52), - }, - File: p1, - }, - Ctx: p7221, - FreeVars: ast.Identifiers{ - "idx", - }, + End: ast.Location{ + Line: int(817), + Column: int(58), }, - Id: "idx", + File: p1, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(769), - Column: int(55), - }, - End: ast.Location{ - Line: int(769), - Column: int(56), - }, - File: p1, - }, - Ctx: p7221, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + Fodder: ast.Fodder{}, + Ctx: p8529, + FreeVars: ast.Identifiers{ + "n", }, }, + Id: "n", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: true, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, }, }, - Body: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(770), - Column: int(5), + Line: int(819), + Column: int(7), }, End: ast.Location{ - Line: int(770), - Column: int(28), + Line: int(823), + Column: int(13), }, File: p1, }, - Ctx: p7188, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8499, FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "init", + "n", }, }, - Target: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(770), - Column: int(5), + Line: int(819), + Column: int(10), }, End: ast.Location{ - Line: int(770), - Column: int(8), + Line: int(819), + Column: int(15), }, File: p1, }, - Ctx: p7188, + Fodder: ast.Fodder{}, + Ctx: p8499, FreeVars: ast.Identifiers{ - "aux", + "n", }, }, - Id: "aux", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(819), + Column: int(10), + }, + End: ast.Location{ + Line: int(819), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + 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(819), + Column: int(14), + }, + End: ast.Location{ + Line: int(819), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: nil, + }, + OriginalString: "0", + }, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(770), - Column: int(9), - }, - End: ast.Location{ - Line: int(770), - Column: int(13), - }, - File: p1, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(820), + Column: int(9), + }, + End: ast.Location{ + Line: int(820), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p8499, + FreeVars: nil, + }, + 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(821), + Column: int(12), + }, + End: ast.Location{ + Line: int(823), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "n", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(821), + Column: int(15), }, - Ctx: p7250, - FreeVars: ast.Identifiers{ - "func", + End: ast.Location{ + Line: int(821), + Column: int(20), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: ast.Identifiers{ + "n", }, - Id: "func", }, - &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(770), + Line: int(821), Column: int(15), }, End: ast.Location{ - Line: int(770), - Column: int(18), + Line: int(821), + Column: int(16), }, File: p1, }, - Ctx: p7250, + Fodder: ast.Fodder{}, + Ctx: p8499, FreeVars: ast.Identifiers{ - "arr", + "n", }, }, - Id: "arr", + Id: "n", }, - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(770), - Column: int(20), + Line: int(821), + Column: int(19), }, End: ast.Location{ - Line: int(770), - Column: int(24), + Line: int(821), + Column: int(20), }, File: p1, }, - Ctx: p7250, - FreeVars: ast.Identifiers{ - "init", + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(822), + Column: int(9), + }, + End: ast.Location{ + Line: int(822), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, }, - Id: "init", + Ctx: p8499, + FreeVars: nil, }, - &ast.LiteralNumber{ + Op: ast.UnaryOp(3), + Expr: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(770), - Column: int(26), + Line: int(822), + Column: int(10), }, End: ast.Location{ - Line: int(770), - Column: int(27), + Line: int(822), + Column: int(11), }, File: p1, }, - Ctx: p7250, + Fodder: ast.Fodder{}, + Ctx: p8499, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + OriginalString: "1", }, }, - Named: nil, + 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(823), + Column: int(12), + }, + End: ast.Location{ + Line: int(823), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8499, + FreeVars: nil, + }, + OriginalString: "0", + }, }, - TrailingComma: false, - TailStrict: false, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(815), + Column: int(3), + }, + End: ast.Location{ + Line: int(823), + Column: int(13), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -83695,12 +111149,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "filterMap", + Value: "max", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -83716,97 +111172,143 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "filter_func", - "map_func", - "arr", + 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(825), + Column: int(7), + }, + End: ast.Location{ + Line: int(825), + 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(825), + Column: int(10), + }, + End: ast.Location{ + Line: int(825), + Column: int(11), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(774), + Line: int(826), Column: int(5), }, End: ast.Location{ - Line: int(781), - Column: int(54), + Line: int(831), + Column: int(29), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8561, FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", + "a", + "b", "std", }, }, - Cond: &ast.Binary{ + Cond: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(774), + Line: int(826), Column: int(8), }, End: ast.Location{ - Line: int(774), - Column: int(43), + Line: int(826), + Column: int(24), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "filter_func", + "a", "std", }, }, - Left: &ast.Apply{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(774), - Column: int(8), + Line: int(826), + Column: int(9), }, End: ast.Location{ - Line: int(774), - Column: int(29), + Line: int(826), + Column: int(24), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "filter_func", + "a", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(774), - Column: int(8), + Line: int(826), + Column: int(9), }, End: ast.Location{ - Line: int(774), - Column: int(16), + Line: int(826), + Column: int(21), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ "std", }, @@ -83814,17 +111316,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(774), - Column: int(8), + Line: int(826), + Column: int(9), }, End: ast.Location{ - Line: int(774), - Column: int(11), + Line: int(826), + Column: int(12), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -83832,6 +111335,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -83846,164 +111350,167 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isNumber", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(17), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(826), + Column: int(22), + }, + End: ast.Location{ + Line: int(826), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(774), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p8574, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p7275, - FreeVars: ast.Identifiers{ - "filter_func", }, + Id: "a", }, - Id: "filter_func", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(774), - Column: int(33), - }, - End: ast.Location{ - Line: int(774), - Column: int(43), - }, - File: p1, - }, - Ctx: p7262, - FreeVars: nil, - }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(775), + Line: int(827), Column: int(7), }, End: ast.Location{ - Line: int(775), - Column: int(89), + Line: int(827), + Column: int(70), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8561, FreeVars: ast.Identifiers{ - "filter_func", + "a", "std", }, }, Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(775), - Column: int(14), + Line: int(827), + Column: int(13), }, End: ast.Location{ - Line: int(775), - Column: int(88), + Line: int(827), + Column: int(70), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "filter_func", + "a", "std", }, }, Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(775), - Column: int(14), + Line: int(827), + Column: int(13), }, End: ast.Location{ - Line: int(775), - Column: int(64), + Line: int(827), + Column: int(56), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: nil, }, - Value: "std.filterMap first param must be function, got ", + Value: "std.max first 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: "", + FileName: "", Begin: ast.Location{ - Line: int(775), - Column: int(67), + Line: int(827), + Column: int(59), }, End: ast.Location{ - Line: int(775), - Column: int(88), + Line: int(827), + Column: int(70), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "filter_func", + "a", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(775), - Column: int(67), + Line: int(827), + Column: int(59), }, End: ast.Location{ - Line: int(775), - Column: int(75), + Line: int(827), + Column: int(67), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ "std", }, @@ -84011,17 +111518,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(775), - Column: int(67), + Line: int(827), + Column: int(59), }, End: ast.Location{ - Line: int(775), - Column: int(70), + Line: int(827), + Column: int(62), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -84029,6 +111537,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -84043,123 +111552,145 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(775), - Column: int(76), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(827), + Column: int(68), + }, + End: ast.Location{ + Line: int(827), + Column: int(69), + }, + File: p1, }, - End: ast.Location{ - Line: int(775), - Column: int(87), + Fodder: ast.Fodder{}, + Ctx: p8591, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p7292, - FreeVars: ast.Identifiers{ - "filter_func", }, + Id: "a", }, - Id: "filter_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: "", + FileName: "", Begin: ast.Location{ - Line: int(776), + Line: int(828), Column: int(10), }, End: ast.Location{ - Line: int(781), - Column: int(54), + Line: int(831), + Column: int(29), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", + "a", + "b", "std", }, }, - Cond: &ast.Binary{ + Cond: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(776), + Line: int(828), Column: int(13), }, End: ast.Location{ - Line: int(776), - Column: int(45), + Line: int(828), + Column: int(29), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "map_func", + "b", "std", }, }, - Left: &ast.Apply{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(776), - Column: int(13), + Line: int(828), + Column: int(14), }, End: ast.Location{ - Line: int(776), - Column: int(31), + Line: int(828), + Column: int(29), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "map_func", + "b", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(776), - Column: int(13), + Line: int(828), + Column: int(14), }, End: ast.Location{ - Line: int(776), - Column: int(21), + Line: int(828), + Column: int(26), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ "std", }, @@ -84167,17 +111698,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(776), - Column: int(13), + Line: int(828), + Column: int(14), }, End: ast.Location{ - Line: int(776), - Column: int(16), + Line: int(828), + Column: int(17), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -84185,6 +111717,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -84199,164 +111732,167 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isNumber", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(22), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(828), + Column: int(27), + }, + End: ast.Location{ + Line: int(828), + Column: int(28), + }, + File: p1, }, - End: ast.Location{ - Line: int(776), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p8607, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p7307, - FreeVars: ast.Identifiers{ - "map_func", }, + Id: "b", }, - Id: "map_func", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(35), - }, - End: ast.Location{ - Line: int(776), - Column: int(45), - }, - File: p1, - }, - Ctx: p7262, - FreeVars: nil, - }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(777), + Line: int(829), Column: int(7), }, End: ast.Location{ - Line: int(777), - Column: int(87), + Line: int(829), + Column: int(71), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8561, FreeVars: ast.Identifiers{ - "map_func", + "b", "std", }, }, Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(777), - Column: int(14), + Line: int(829), + Column: int(13), }, End: ast.Location{ - Line: int(777), - Column: int(86), + Line: int(829), + Column: int(71), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "map_func", + "b", "std", }, }, Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(777), - Column: int(14), + Line: int(829), + Column: int(13), }, End: ast.Location{ - Line: int(777), - Column: int(65), + Line: int(829), + Column: int(57), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: nil, }, - Value: "std.filterMap second param must be function, got ", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(777), - Column: int(68), + Line: int(829), + Column: int(60), }, End: ast.Location{ - Line: int(777), - Column: int(86), + Line: int(829), + Column: int(71), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ - "map_func", + "b", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(777), - Column: int(68), + Line: int(829), + Column: int(60), }, End: ast.Location{ - Line: int(777), - Column: int(76), + Line: int(829), + Column: int(68), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, FreeVars: ast.Identifiers{ "std", }, @@ -84364,17 +111900,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(777), - Column: int(68), + Line: int(829), + Column: int(60), }, End: ast.Location{ - Line: int(777), - Column: int(71), + Line: int(829), + Column: int(63), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -84382,6 +111919,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -84396,436 +111934,782 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(77), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(829), + Column: int(69), + }, + End: ast.Location{ + Line: int(829), + Column: int(70), + }, + File: p1, }, - End: ast.Location{ - Line: int(777), - Column: int(85), + Fodder: ast.Fodder{}, + Ctx: p8624, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p7324, - FreeVars: ast.Identifiers{ - "map_func", }, + Id: "b", }, - Id: "map_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: "", + FileName: "", Begin: ast.Location{ - Line: int(778), - Column: int(10), + Line: int(831), + Column: int(7), }, End: ast.Location{ - Line: int(781), - Column: int(54), + Line: int(831), + Column: int(29), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8561, FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", + "a", + "b", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(778), - Column: int(13), + Line: int(831), + Column: int(10), }, End: ast.Location{ - Line: int(778), - Column: int(37), + Line: int(831), + Column: int(15), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8561, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(831), + Column: int(10), + }, + End: ast.Location{ + Line: int(831), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8561, + 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(831), + Column: int(14), + }, + End: ast.Location{ + Line: int(831), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8561, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(831), + Column: int(21), + }, + End: ast.Location{ + Line: int(831), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8561, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(831), + Column: int(28), + }, + End: ast.Location{ + Line: int(831), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8561, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(825), + Column: int(3), + }, + End: ast.Location{ + Line: int(831), + 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: nil, + }, + 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: p11, + 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(833), + Column: int(7), + }, + End: ast.Location{ + Line: int(833), + 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(833), + Column: int(10), + }, + End: ast.Location{ + Line: int(833), + 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(834), + Column: int(5), + }, + End: ast.Location{ + Line: int(839), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(834), + Column: int(8), + }, + End: ast.Location{ + Line: int(834), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(834), + Column: int(9), + }, + End: ast.Location{ + Line: int(834), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(834), + Column: int(9), + }, + End: ast.Location{ + Line: int(834), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(778), - Column: int(13), + Line: int(834), + Column: int(9), }, End: ast.Location{ - Line: int(778), - Column: int(26), + Line: int(834), + Column: int(12), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - 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(21), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p7262, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(778), - Column: int(13), + Line: int(834), + Column: int(22), }, End: ast.Location{ - Line: int(778), - Column: int(16), + Line: int(834), + Column: int(23), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p8659, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "a", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "a", }, - Id: nil, + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(778), - Column: int(22), - }, - End: ast.Location{ - Line: int(778), - Column: int(25), - }, - File: p1, - }, - Ctx: p7339, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: 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(835), + Column: int(7), + }, + End: ast.Location{ + Line: int(835), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(835), + Column: int(13), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(835), + Column: int(70), + }, + File: p1, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(778), - Column: int(30), - }, - End: ast.Location{ - Line: int(778), - Column: int(37), - }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(835), + Column: int(13), }, - Ctx: p7262, - FreeVars: nil, + End: ast.Location{ + Line: int(835), + Column: int(56), + }, + File: p1, }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: nil, }, + Value: "std.max first param expected number, got ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - BranchTrue: &ast.Error{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(779), - Column: int(7), + Line: int(835), + Column: int(59), }, End: ast.Location{ - Line: int(779), - Column: int(78), + Line: int(835), + Column: int(70), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8646, FreeVars: ast.Identifiers{ - "arr", + "a", "std", }, }, - Expr: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(779), - Column: int(14), + Line: int(835), + Column: int(59), }, End: ast.Location{ - Line: int(779), - Column: int(77), + Line: int(835), + Column: int(67), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8646, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(779), - Column: int(14), + Line: int(835), + Column: int(59), }, End: ast.Location{ - Line: int(779), - Column: int(61), + Line: int(835), + Column: int(62), }, File: p1, }, - Ctx: p7262, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "std.filterMap third param must be array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(779), - Column: int(64), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(779), - Column: int(77), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p7262, - FreeVars: ast.Identifiers{ - "arr", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(64), - }, - End: ast.Location{ - Line: int(779), - Column: int(72), - }, - File: p1, - }, - Ctx: p7262, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(779), - Column: int(64), + Line: int(835), + Column: int(68), }, End: ast.Location{ - Line: int(779), - Column: int(67), + Line: int(835), + Column: int(69), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p8676, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(779), - Column: int(73), - }, - End: ast.Location{ - Line: int(779), - Column: int(76), - }, - File: p1, - }, - Ctx: p7356, - FreeVars: ast.Identifiers{ - "arr", - }, + "a", }, - Id: "arr", }, + Id: "a", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Apply{ + }, + }, + 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(836), + Column: int(10), + }, + End: ast.Location{ + Line: int(839), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(836), + Column: int(13), + }, + End: ast.Location{ + Line: int(836), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(781), - Column: int(7), + Line: int(836), + Column: int(14), }, End: ast.Location{ - Line: int(781), - Column: int(54), + Line: int(836), + Column: int(29), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8646, FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", + "b", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(781), - Column: int(7), + Line: int(836), + Column: int(14), }, End: ast.Location{ - Line: int(781), - Column: int(14), + Line: int(836), + Column: int(26), }, File: p1, }, - Ctx: p7262, + Fodder: ast.Fodder{}, + Ctx: p8646, FreeVars: ast.Identifiers{ "std", }, @@ -84833,17 +112717,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(781), - Column: int(7), + Line: int(836), + Column: int(14), }, End: ast.Location{ - Line: int(781), - Column: int(10), + Line: int(836), + Column: int(17), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -84851,197 +112736,440 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(836), + Column: int(27), + }, + End: ast.Location{ + Line: int(836), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8692, + 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(837), + Column: int(7), + }, + End: ast.Location{ + Line: int(837), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(837), + Column: int(13), + }, + End: ast.Location{ + Line: int(837), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(837), + Column: int(13), + }, + End: ast.Location{ + Line: int(837), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: nil, + }, + 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(837), + Column: int(60), + }, + End: ast.Location{ + Line: int(837), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(837), + Column: int(60), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(837), + Column: int(68), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(781), - Column: int(15), + Line: int(837), + Column: int(60), }, End: ast.Location{ - Line: int(781), - Column: int(23), + Line: int(837), + Column: int(63), }, File: p1, }, - Ctx: p7367, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "map_func", + "std", }, }, - Id: "map_func", + Id: "std", }, - &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(781), - Column: int(25), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(781), - Column: int(53), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p7367, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(25), - }, - End: ast.Location{ - Line: int(781), - Column: int(35), - }, - File: p1, - }, - Ctx: p7367, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(781), - Column: int(25), + Line: int(837), + Column: int(69), }, End: ast.Location{ - Line: int(781), - Column: int(28), + Line: int(837), + Column: int(70), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p8709, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "b", }, - Ctx: nil, - FreeVars: nil, }, - Value: "filter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "b", }, - Id: nil, + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(36), - }, - End: ast.Location{ - Line: int(781), - Column: int(47), - }, - File: p1, - }, - Ctx: p7378, - FreeVars: ast.Identifiers{ - "filter_func", - }, - }, - Id: "filter_func", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(49), - }, - End: ast.Location{ - Line: int(781), - Column: int(52), - }, - File: p1, - }, - Ctx: p7378, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: 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(839), + Column: int(7), + }, + End: ast.Location{ + Line: int(839), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(839), + Column: int(10), + }, + End: ast.Location{ + Line: int(839), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(839), + Column: int(10), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(839), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", }, }, - Named: nil, + Id: "a", }, - TrailingComma: false, - TailStrict: false, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(839), + Column: int(14), + }, + End: ast.Location{ + Line: int(839), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(839), + Column: int(21), + }, + End: ast.Location{ + Line: int(839), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(839), + Column: int(28), + }, + End: ast.Location{ + Line: int(839), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8646, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", }, }, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(833), + Column: int(3), + }, + End: ast.Location{ + Line: int(839), + Column: int(29), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -85059,12 +113187,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "assertEqual", + Value: "clamp", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -85080,292 +113210,358 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: nil, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", + 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(841), + Column: int(9), + }, + End: ast.Location{ + Line: int(841), + Column: int(10), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "minVal", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(841), + Column: int(12), + }, + End: ast.Location{ + Line: int(841), + Column: int(18), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "maxVal", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(841), + Column: int(20), + }, + End: ast.Location{ + Line: int(841), + Column: int(26), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(784), + Line: int(842), Column: int(5), }, End: ast.Location{ - Line: int(787), - Column: int(50), + Line: int(844), + Column: int(11), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8730, FreeVars: ast.Identifiers{ - "a", - "b", + "maxVal", + "minVal", + "x", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(784), + Line: int(842), Column: int(8), }, End: ast.Location{ - Line: int(784), - Column: int(14), + Line: int(842), + Column: int(18), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{}, + Ctx: p8730, FreeVars: ast.Identifiers{ - "a", - "b", + "minVal", + "x", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(784), + Line: int(842), Column: int(8), }, End: ast.Location{ - Line: int(784), + Line: int(842), Column: int(9), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{}, + Ctx: p8730, FreeVars: ast.Identifiers{ - "a", + "x", }, }, - Id: "a", + Id: "x", }, - Op: ast.BinaryOp(12), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(784), - Column: int(13), + Line: int(842), + Column: int(12), }, End: ast.Location{ - Line: int(784), - Column: int(14), + Line: int(842), + Column: int(18), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{}, + Ctx: p8730, FreeVars: ast.Identifiers{ - "b", + "minVal", }, }, - Id: "b", + Id: "minVal", }, }, - BranchTrue: &ast.LiteralBoolean{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(785), - Column: int(7), + Line: int(842), + Column: int(24), }, End: ast.Location{ - Line: int(785), - Column: int(11), + Line: int(842), + Column: int(30), }, File: p1, }, - Ctx: p7386, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p8730, + FreeVars: ast.Identifiers{ + "minVal", + }, }, - Value: true, + Id: "minVal", }, - BranchFalse: &ast.Error{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(787), - Column: int(7), + Line: int(843), + Column: int(10), }, End: ast.Location{ - Line: int(787), - Column: int(50), + Line: int(844), + Column: int(11), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{}, + Ctx: p8730, FreeVars: ast.Identifiers{ - "a", - "b", + "maxVal", + "x", }, }, - Expr: &ast.Binary{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(787), + Line: int(843), Column: int(13), }, End: ast.Location{ - Line: int(787), - Column: int(50), + Line: int(843), + Column: int(23), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{}, + Ctx: p8730, FreeVars: ast.Identifiers{ - "a", - "b", + "maxVal", + "x", }, }, - Left: &ast.Binary{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(787), + Line: int(843), Column: int(13), }, End: ast.Location{ - Line: int(787), - Column: int(46), + Line: int(843), + Column: int(14), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{}, + Ctx: p8730, FreeVars: ast.Identifiers{ - "a", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(787), - Column: int(13), - }, - End: ast.Location{ - Line: int(787), - Column: int(37), - }, - File: p1, - }, - Ctx: p7386, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(787), - Column: int(13), - }, - End: ast.Location{ - Line: int(787), - Column: int(33), - }, - File: p1, - }, - Ctx: p7386, - FreeVars: nil, - }, - Value: "Assertion failed. ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(787), - Column: int(36), - }, - End: ast.Location{ - Line: int(787), - Column: int(37), - }, - File: p1, - }, - Ctx: p7386, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(787), - Column: int(40), - }, - End: ast.Location{ - Line: int(787), - Column: int(46), - }, - File: p1, - }, - Ctx: p7386, - FreeVars: nil, + "x", }, - Value: " != ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "x", }, - Op: ast.BinaryOp(3), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(787), - Column: int(49), + Line: int(843), + Column: int(17), }, End: ast.Location{ - Line: int(787), - Column: int(50), + Line: int(843), + Column: int(23), }, File: p1, }, - Ctx: p7386, + Fodder: ast.Fodder{}, + Ctx: p8730, FreeVars: ast.Identifiers{ - "b", + "maxVal", }, }, - Id: "b", + Id: "maxVal", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(843), + Column: int(29), + }, + End: ast.Location{ + Line: int(843), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8730, + 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(844), + Column: int(10), + }, + End: ast.Location{ + Line: int(844), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8730, + FreeVars: ast.Identifiers{ + "x", + }, }, + Id: "x", }, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(841), + Column: int(3), + }, + End: ast.Location{ + Line: int(844), + Column: int(11), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -85383,12 +113579,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "abs", + Value: "flattenArrays", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -85404,517 +113602,341 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arrs", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(846), + Column: int(17), + }, + End: ast.Location{ + Line: int(846), + Column: int(21), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(790), + Line: int(847), Column: int(5), }, End: ast.Location{ - Line: int(793), - Column: int(30), + Line: int(847), + Column: int(46), }, File: p1, }, - Ctx: p7414, + Fodder: ast.Fodder{}, + Ctx: p8759, FreeVars: ast.Identifiers{ - "n", + "arrs", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(790), - Column: int(8), + Line: int(847), + Column: int(5), }, End: ast.Location{ - Line: int(790), - Column: int(31), + Line: int(847), + Column: int(14), }, File: p1, }, - Ctx: p7414, + Fodder: ast.Fodder{}, + Ctx: p8759, FreeVars: ast.Identifiers{ - "n", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(790), - Column: int(8), + Line: int(847), + Column: int(5), }, End: ast.Location{ - Line: int(790), - Column: int(19), + Line: int(847), + Column: int(8), }, File: p1, }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(8), - }, - End: ast.Location{ - Line: int(790), - Column: int(16), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(8), - }, - End: ast.Location{ - Line: int(790), - Column: int(11), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(17), - }, - End: ast.Location{ - Line: int(790), - Column: int(18), - }, - File: p1, - }, - Ctx: p7427, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "std", }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(790), - Column: int(23), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(790), - Column: int(31), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p7414, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "number", + Value: "foldl", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(7), - }, - End: ast.Location{ - Line: int(791), - Column: int(58), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(13), - }, - End: ast.Location{ - Line: int(791), - Column: int(58), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(13), - }, - End: ast.Location{ - Line: int(791), - Column: int(44), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: nil, - }, - Value: "std.abs expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(47), - }, - End: ast.Location{ - Line: int(791), - Column: int(58), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(791), - Column: int(47), + Line: int(847), + Column: int(15), }, End: ast.Location{ - Line: int(791), - Column: int(55), + Line: int(847), + Column: int(35), }, File: p1, }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p8769, + FreeVars: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(791), - Column: int(47), + Line: int(847), + Column: int(24), }, End: ast.Location{ - Line: int(791), - Column: int(50), + Line: int(847), + Column: int(25), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(27), + }, + End: ast.Location{ + Line: int(847), + Column: int(28), + }, + File: p1, }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(847), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(847), + Column: int(35), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8772, + FreeVars: ast.Identifiers{ + "a", + "b", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(791), - Column: int(56), + Line: int(847), + Column: int(30), }, End: ast.Location{ - Line: int(791), - Column: int(57), + Line: int(847), + Column: int(31), }, File: p1, }, - Ctx: p7444, + Fodder: ast.Fodder{}, + Ctx: p8772, FreeVars: ast.Identifiers{ - "n", + "a", }, }, - Id: "n", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(7), - }, - End: ast.Location{ - Line: int(793), - Column: int(30), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", - }, - }, - 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(15), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(10), + Id: "a", }, - End: ast.Location{ - Line: int(793), - Column: int(11), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(34), + }, + End: ast.Location{ + Line: int(847), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8772, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", }, }, - Id: "n", + CommaFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(14), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(37), + }, + End: ast.Location{ + Line: int(847), + Column: int(41), + }, + File: p1, }, - End: ast.Location{ - Line: int(793), - Column: int(15), + Fodder: ast.Fodder{}, + Ctx: p8769, + FreeVars: ast.Identifiers{ + "arrs", }, - File: p1, - }, - Ctx: p7414, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(21), - }, - End: ast.Location{ - Line: int(793), - Column: int(22), - }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - BranchFalse: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(28), - }, - End: ast.Location{ - Line: int(793), - Column: int(30), }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", + Id: "arrs", }, + CommaFodder: ast.Fodder{}, }, - Op: ast.UnaryOp(3), - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(29), - }, - End: ast.Location{ - Line: int(793), - Column: int(30), + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(847), + Column: int(43), + }, + End: ast.Location{ + Line: int(847), + Column: int(45), + }, + File: p1, }, - File: p1, - }, - Ctx: p7414, - FreeVars: ast.Identifiers{ - "n", + Fodder: ast.Fodder{}, + Ctx: p8769, + FreeVars: nil, }, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Id: "n", + CommaFodder: nil, }, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(846), + Column: int(3), + }, + End: ast.Location{ + Line: int(847), + Column: int(46), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -85932,12 +113954,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "sign", + Value: "manifestIni", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -85953,2387 +113977,3287 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "n", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "ini", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(849), + Column: int(15), + }, + End: ast.Location{ + Line: int(849), + Column: int(18), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(796), + Line: int(850), Column: int(5), }, End: ast.Location{ - Line: int(803), - Column: int(13), + Line: int(867), + Column: int(71), }, File: p1, }, - Ctx: p7464, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p8787, FreeVars: ast.Identifiers{ - "n", + "ini", "std", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(8), - }, - End: ast.Location{ - Line: int(796), - Column: int(31), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(8), - }, - End: ast.Location{ - Line: int(796), - Column: int(19), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Variable: "body_lines", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(796), - Column: int(8), + Line: int(850), + Column: int(11), }, End: ast.Location{ - Line: int(796), - Column: int(16), + Line: int(859), + Column: int(9), }, File: p1, }, - Ctx: p7464, + Fodder: nil, + Ctx: p8791, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "body", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(796), - Column: int(8), + Line: int(850), + Column: int(22), }, End: ast.Location{ - Line: int(796), - Column: int(11), + Line: int(850), + Column: int(26), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(851), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(859), + Column: int(9), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8795, + FreeVars: ast.Identifiers{ + "body", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(796), - Column: int(17), + Line: int(851), + Column: int(7), }, End: ast.Location{ - Line: int(796), - Column: int(18), + Line: int(851), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8795, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(851), + Column: int(7), + }, + End: ast.Location{ + Line: int(851), + 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: nil, + }, + 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(851), + Column: int(16), + }, + End: ast.Location{ + Line: int(851), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8805, + FreeVars: nil, + }, + 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(851), + Column: int(20), + }, + End: ast.Location{ + Line: int(859), + Column: int(8), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "body", + "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: nil, + }, + 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{ + "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{ + "body", + "k", + "std", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(852), + Column: int(9), + }, + End: ast.Location{ + Line: int(856), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p8822, + FreeVars: ast.Identifiers{ + "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(852), + Column: int(33), + }, + End: ast.Location{ + Line: int(852), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8826, + FreeVars: ast.Identifiers{ + "body", + "k", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(852), + Column: int(33), + }, + End: ast.Location{ + Line: int(852), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8826, + FreeVars: ast.Identifiers{ + "body", + }, + }, + Id: "body", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(852), + Column: int(38), + }, + End: ast.Location{ + Line: int(852), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8826, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Id: "k", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(852), + Column: int(15), + }, + End: ast.Location{ + Line: int(852), + Column: int(40), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(9), + }, + End: ast.Location{ + Line: int(856), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p8822, + FreeVars: ast.Identifiers{ + "k", + "std", + "value_or_values", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(12), + }, + End: ast.Location{ + Line: int(853), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8822, + FreeVars: ast.Identifiers{ + "std", + "value_or_values", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(12), + }, + End: ast.Location{ + Line: int(853), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8822, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(853), + Column: int(12), + }, + End: ast.Location{ + Line: int(853), + 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: nil, + }, + 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(853), + Column: int(24), + }, + End: ast.Location{ + Line: int(853), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8844, + FreeVars: ast.Identifiers{ + "value_or_values", + }, + }, + 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(854), + Column: int(11), + }, + End: ast.Location{ + Line: int(854), + Column: int(64), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + "std", + "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, + }, + 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: nil, + }, + 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{ + "k", + "std", + }, + }, + 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{ + "k", + "std", + "value", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(12), + }, + End: ast.Location{ + Line: int(854), + Column: int(34), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + "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, + }, + 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: nil, + }, + 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(854), + Column: int(12), + }, + End: ast.Location{ + Line: int(854), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8869, + FreeVars: nil, + }, + 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(854), + Column: int(24), + }, + End: ast.Location{ + Line: int(854), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8869, + FreeVars: ast.Identifiers{ + "k", + "value", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(25), + }, + End: ast.Location{ + Line: int(854), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8874, + 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(854), + Column: int(28), + }, + End: ast.Location{ + Line: int(854), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8874, + FreeVars: ast.Identifiers{ + "value", + }, + }, + Id: "value", + }, + 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.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(854), + Column: int(48), + }, + End: ast.Location{ + Line: int(854), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8822, + FreeVars: ast.Identifiers{ + "value_or_values", + }, + }, + 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(856), + Column: int(11), + }, + End: ast.Location{ + Line: int(856), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p8822, + FreeVars: ast.Identifiers{ + "k", + "std", + "value_or_values", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(856), + Column: int(12), + }, + End: ast.Location{ + Line: int(856), + Column: int(44), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "k", + "std", + "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, + }, + 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: nil, + }, + 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(856), + Column: int(12), + }, + End: ast.Location{ + Line: int(856), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8894, + FreeVars: nil, + }, + 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(856), + Column: int(24), + }, + End: ast.Location{ + Line: int(856), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8894, + 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(856), + Column: int(25), + }, + End: ast.Location{ + Line: int(856), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8899, + 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(856), + Column: int(28), + }, + End: ast.Location{ + Line: int(856), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8899, + 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{}, + }, + }, + }, + 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(858), + Column: int(18), + }, + End: ast.Location{ + Line: int(858), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8805, + FreeVars: ast.Identifiers{ + "body", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(18), + }, + End: ast.Location{ + Line: int(858), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8805, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(858), + Column: int(18), + }, + End: ast.Location{ + Line: int(858), + 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: nil, + }, + 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(858), + Column: int(35), + }, + End: ast.Location{ + Line: int(858), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8912, + FreeVars: ast.Identifiers{ + "body", + }, + }, + Id: "body", + }, + 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, }, - File: p1, - }, - Ctx: p7477, - FreeVars: ast.Identifiers{ - "n", + CommaFodder: nil, }, }, - Id: "n", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(23), - }, - End: ast.Location{ - Line: int(796), - Column: int(31), + Named: nil, }, - File: p1, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Ctx: p7464, - FreeVars: nil, }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(797), - Column: int(7), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(797), - Column: int(59), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(13), - }, - End: ast.Location{ - Line: int(797), - Column: int(59), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(13), - }, - End: ast.Location{ - Line: int(797), - Column: int(45), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: nil, - }, - Value: "std.sign expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(48), - }, - End: ast.Location{ - Line: int(797), - Column: int(59), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(48), - }, - End: ast.Location{ - Line: int(797), - Column: int(56), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(48), - }, - End: ast.Location{ - Line: int(797), - Column: int(51), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(57), - }, - End: ast.Location{ - Line: int(797), - Column: int(58), - }, - File: p1, - }, - Ctx: p7494, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - }, - Named: nil, + Line: int(0), + Column: int(0), }, - TrailingComma: false, - TailStrict: false, + File: nil, }, }, }, - BranchFalse: &ast.Conditional{ + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(799), - Column: int(7), + Line: int(861), + Column: int(5), }, End: ast.Location{ - Line: int(803), - Column: int(13), + Line: int(867), + Column: int(71), }, File: p1, }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(799), - Column: int(10), - }, - End: ast.Location{ - Line: int(799), - Column: int(15), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(799), - Column: int(10), - }, - End: ast.Location{ - Line: int(799), - Column: int(11), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(799), - Column: int(14), - }, - End: ast.Location{ - Line: int(799), - Column: int(15), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(9), - }, - End: ast.Location{ - Line: int(800), - Column: int(10), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(12), - }, - End: ast.Location{ - Line: int(803), - Column: int(13), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(15), - }, - End: ast.Location{ - Line: int(801), - Column: int(20), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(15), - }, - End: ast.Location{ - Line: int(801), - Column: int(16), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: ast.Identifiers{ - "n", - }, - }, - Id: "n", - }, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(19), - }, - End: ast.Location{ - Line: int(801), - Column: int(20), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(9), - }, - End: ast.Location{ - Line: int(802), - Column: int(11), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: nil, - }, - Op: ast.UnaryOp(3), - Expr: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(802), - Column: int(10), - }, - End: ast.Location{ - Line: int(802), - Column: int(11), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - BranchFalse: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(12), - }, - End: ast.Location{ - Line: int(803), - Column: int(13), - }, - File: p1, - }, - Ctx: p7464, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "max", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(5), - }, - End: ast.Location{ - Line: int(811), - Column: int(29), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(8), - }, - End: ast.Location{ - Line: int(806), - Column: int(31), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, }, - File: p1, }, - Ctx: p7519, + Ctx: p8787, FreeVars: ast.Identifiers{ - "a", + "body_lines", + "ini", "std", }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(8), - }, - End: ast.Location{ - Line: int(806), - Column: int(19), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(8), - }, - End: ast.Location{ - Line: int(806), - Column: int(16), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Variable: "section_lines", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(806), - Column: int(8), + Line: int(861), + Column: int(11), }, End: ast.Location{ - Line: int(806), - Column: int(11), + Line: int(861), + Column: int(79), }, File: p1, }, - Ctx: nil, + Fodder: nil, + Ctx: p8919, FreeVars: ast.Identifiers{ + "body_lines", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "sname", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(806), - Column: int(17), + Line: int(861), + Column: int(25), }, End: ast.Location{ - Line: int(806), - Column: int(18), + Line: int(861), + Column: int(30), }, File: p1, }, - Ctx: p7532, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(23), - }, - End: ast.Location{ - Line: int(806), - Column: int(31), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(807), - Column: int(7), - }, - End: ast.Location{ - Line: int(807), - Column: int(70), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(807), - Column: int(13), - }, - End: ast.Location{ - Line: int(807), - Column: int(70), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(807), - Column: int(13), - }, - End: ast.Location{ - Line: int(807), - Column: int(56), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: nil, - }, - Value: "std.max first param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(807), - Column: int(59), - }, - End: ast.Location{ - Line: int(807), - Column: int(70), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(807), - Column: int(59), - }, - End: ast.Location{ - Line: int(807), - Column: int(67), - }, - File: p1, }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "sbody", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(807), - Column: int(59), + Line: int(861), + Column: int(32), }, End: ast.Location{ - Line: int(807), - Column: int(62), + Line: int(861), + Column: int(37), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(861), + Column: int(41), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(861), + Column: int(79), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8923, + FreeVars: ast.Identifiers{ + "body_lines", + "sbody", + "sname", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(807), - Column: int(68), + Line: int(861), + Column: int(41), }, End: ast.Location{ - Line: int(807), - Column: int(69), + Line: int(861), + Column: int(59), }, File: p1, }, - Ctx: p7549, + Fodder: ast.Fodder{}, + Ctx: p8923, FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(10), - }, - End: ast.Location{ - Line: int(811), - Column: int(29), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(13), - }, - End: ast.Location{ - Line: int(808), - Column: int(36), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(13), - }, - End: ast.Location{ - Line: int(808), - Column: int(24), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(13), - }, - End: ast.Location{ - Line: int(808), - Column: int(21), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(13), - }, - End: ast.Location{ - Line: int(808), - Column: int(16), + "sname", + "std", }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(42), + }, + End: ast.Location{ + Line: int(861), + Column: int(58), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "sname", + "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: nil, + }, + 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(861), + Column: int(42), + }, + End: ast.Location{ + Line: int(861), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8937, + FreeVars: nil, + }, + 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(861), + Column: int(51), + }, + End: ast.Location{ + Line: int(861), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8937, + FreeVars: ast.Identifiers{ + "sname", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(52), + }, + End: ast.Location{ + Line: int(861), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8942, + 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, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(808), - Column: int(22), + Line: int(861), + Column: int(62), }, End: ast.Location{ - Line: int(808), - Column: int(23), + Line: int(861), + Column: int(79), }, File: p1, }, - Ctx: p7564, + Fodder: ast.Fodder{}, + Ctx: p8923, FreeVars: ast.Identifiers{ - "b", + "body_lines", + "sbody", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(861), + Column: int(62), + }, + End: ast.Location{ + Line: int(861), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8923, + FreeVars: ast.Identifiers{ + "body_lines", + }, + }, + Id: "body_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(861), + Column: int(73), + }, + End: ast.Location{ + Line: int(861), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8950, + FreeVars: ast.Identifiers{ + "sbody", + }, + }, + Id: "sbody", + }, + CommaFodder: nil, + }, }, + Named: nil, }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(28), - }, - End: ast.Location{ - Line: int(808), - Column: int(36), + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - File: p1, }, - Ctx: p7519, - FreeVars: nil, }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(809), - Column: int(7), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(809), - Column: int(71), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "b", - "std", + File: nil, }, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(13), - }, - End: ast.Location{ - Line: int(809), - Column: int(71), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(13), - }, - End: ast.Location{ - Line: int(809), - Column: int(57), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: nil, + ast.LocalBind{ + VarFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - Value: "std.max second param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Variable: "main_body", + EqFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(809), - Column: int(60), + Line: int(862), + Column: int(23), }, End: ast.Location{ - Line: int(809), - Column: int(71), + Line: int(862), + Column: int(86), }, File: p1, }, - Ctx: p7519, + Fodder: ast.Fodder{}, + Ctx: p8954, FreeVars: ast.Identifiers{ - "b", + "body_lines", + "ini", "std", }, }, - Target: &ast.Index{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(809), - Column: int(60), + Line: int(862), + Column: int(26), }, End: ast.Location{ - Line: int(809), - Column: int(68), + Line: int(862), + Column: int(52), }, File: p1, }, - Ctx: p7519, + Fodder: ast.Fodder{}, + Ctx: p8954, FreeVars: ast.Identifiers{ + "ini", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(809), - Column: int(60), + Line: int(862), + Column: int(26), }, End: ast.Location{ - Line: int(809), - Column: int(63), + Line: int(862), + Column: int(39), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p8954, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(26), + }, + End: ast.Location{ + Line: int(862), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(809), - Column: int(69), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(809), - Column: int(70), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p7581, - FreeVars: ast.Identifiers{ - "b", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "b", + Value: "objectHas", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(7), - }, - End: ast.Location{ - Line: int(811), - Column: int(29), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(10), - }, - End: ast.Location{ - Line: int(811), - Column: int(15), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(10), - }, - End: ast.Location{ - Line: int(811), - Column: int(11), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(40), + }, + End: ast.Location{ + Line: int(862), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8965, + FreeVars: ast.Identifiers{ + "ini", + }, + }, + Id: "ini", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(45), + }, + End: ast.Location{ + Line: int(862), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8965, + FreeVars: nil, + }, + Value: "main", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + CommaFodder: nil, + }, }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: "a", - }, - Op: ast.BinaryOp(7), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(14), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(58), + }, + End: ast.Location{ + Line: int(862), + Column: int(78), + }, + File: p1, }, - End: ast.Location{ - Line: int(811), - Column: int(15), + Fodder: ast.Fodder{}, + Ctx: p8954, + FreeVars: ast.Identifiers{ + "body_lines", + "ini", }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(21), - }, - End: ast.Location{ - Line: int(811), - Column: int(22), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(811), - Column: int(28), - }, - End: ast.Location{ - Line: int(811), - Column: int(29), - }, - File: p1, - }, - Ctx: p7519, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "min", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(5), - }, - End: ast.Location{ - Line: int(819), - Column: int(29), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(8), - }, - End: ast.Location{ - Line: int(814), - Column: int(31), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(8), - }, - End: ast.Location{ - Line: int(814), - Column: int(19), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(8), - }, - End: ast.Location{ - Line: int(814), - Column: int(16), }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(8), - }, - End: ast.Location{ - Line: int(814), - Column: int(11), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(58), + }, + End: ast.Location{ + Line: int(862), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8954, + FreeVars: ast.Identifiers{ + "body_lines", + }, }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Id: "body_lines", }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + 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(862), + Column: int(69), + }, + End: ast.Location{ + Line: int(862), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8974, + FreeVars: ast.Identifiers{ + "ini", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(862), + Column: int(69), + }, + End: ast.Location{ + Line: int(862), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "main", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, }, - File: nil, + Named: nil, }, - Ctx: nil, - FreeVars: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(814), - Column: int(17), + Line: int(862), + Column: int(84), }, End: ast.Location{ - Line: int(814), - Column: int(18), + Line: int(862), + Column: int(86), }, File: p1, }, - Ctx: p7613, - FreeVars: ast.Identifiers{ - "a", - }, + Fodder: ast.Fodder{}, + Ctx: p8954, + FreeVars: nil, }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(23), - }, - End: ast.Location{ - Line: int(814), - Column: int(31), + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - File: p1, - }, - Ctx: p7600, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(7), - }, - End: ast.Location{ - Line: int(815), - Column: int(70), }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(815), - Column: int(13), + Line: int(862), + Column: int(11), }, End: ast.Location{ - Line: int(815), - Column: int(70), + Line: int(862), + Column: int(86), }, File: p1, }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(13), - }, - End: ast.Location{ - Line: int(815), - Column: int(56), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: nil, - }, - Value: "std.max first param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(59), - }, - End: ast.Location{ - Line: int(815), - Column: int(70), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "std", + ast.LocalBind{ + VarFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, }, - Target: &ast.Index{ + Variable: "all_sections", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(815), - Column: int(59), + Line: int(863), + Column: int(26), }, End: ast.Location{ - Line: int(815), - Column: int(67), + Line: int(866), + Column: int(6), }, File: p1, }, - Ctx: p7600, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "ini", + "section_lines", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(815), - Column: int(59), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(815), - Column: int(62), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(815), - Column: int(68), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(815), - Column: int(69), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(864), + Column: int(7), + }, + End: ast.Location{ + Line: int(864), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p8996, + FreeVars: ast.Identifiers{ + "ini", + "k", + "section_lines", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(864), + Column: int(7), + }, + End: ast.Location{ + Line: int(864), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p8996, + 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(864), + Column: int(21), + }, + End: ast.Location{ + Line: int(864), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9003, + 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(864), + Column: int(24), + }, + End: ast.Location{ + Line: int(864), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9003, + FreeVars: ast.Identifiers{ + "ini", + "k", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(864), + Column: int(24), + }, + End: ast.Location{ + Line: int(864), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9003, + FreeVars: ast.Identifiers{ + "ini", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(864), + Column: int(24), + }, + End: ast.Location{ + Line: int(864), + 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: nil, + }, + 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(864), + Column: int(37), + }, + End: ast.Location{ + Line: int(864), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9003, + 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(865), + Column: int(16), + }, + End: ast.Location{ + Line: int(865), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9015, + FreeVars: ast.Identifiers{ + "ini", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(865), + Column: int(16), + }, + End: ast.Location{ + Line: int(865), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9015, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(865), + Column: int(16), + }, + End: ast.Location{ + Line: int(865), + 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: nil, + }, + 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(865), + Column: int(33), + }, + End: ast.Location{ + Line: int(865), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9024, + FreeVars: ast.Identifiers{ + "ini", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(865), + Column: int(33), + }, + End: ast.Location{ + Line: int(865), + 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: nil, + }, + Value: "sections", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p7630, - FreeVars: ast.Identifiers{ - "a", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Id: "a", }, + Named: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(10), - }, - End: ast.Location{ - Line: int(819), - Column: int(29), + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(816), - Column: int(13), + Line: int(863), + Column: int(11), }, End: ast.Location{ - Line: int(816), - Column: int(36), + Line: int(866), + Column: int(6), }, File: p1, }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(13), - }, - End: ast.Location{ - Line: int(816), - Column: int(24), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(13), - }, - End: ast.Location{ - Line: int(816), - Column: int(21), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(13), - }, - End: ast.Location{ - Line: int(816), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(22), - }, - End: ast.Location{ - Line: int(816), - Column: int(23), - }, - File: p1, - }, - Ctx: p7645, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(28), - }, - End: ast.Location{ - Line: int(816), - Column: int(36), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - BranchTrue: &ast.Error{ + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(817), - Column: int(7), + Line: int(867), + Column: int(5), }, End: ast.Location{ - Line: int(817), + Line: int(867), Column: int(71), }, File: p1, }, - Ctx: p7600, + Fodder: ast.Fodder{}, + Ctx: p8787, FreeVars: ast.Identifiers{ - "b", + "all_sections", + "main_body", "std", }, }, - Expr: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(817), - Column: int(13), + Line: int(867), + Column: int(5), }, End: ast.Location{ - Line: int(817), - Column: int(71), + Line: int(867), + Column: int(13), }, File: p1, }, - Ctx: p7600, + Fodder: ast.Fodder{}, + Ctx: p8787, FreeVars: ast.Identifiers{ - "b", "std", }, }, - Left: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(817), - Column: int(13), + Line: int(867), + Column: int(5), }, End: ast.Location{ - Line: int(817), - Column: int(57), + Line: int(867), + Column: int(8), }, File: p1, }, - Ctx: p7600, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "std.max second param expected number, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(817), - Column: int(60), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(817), - Column: int(71), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "b", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(60), - }, - End: ast.Location{ - Line: int(817), - Column: int(68), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(817), - Column: int(60), + Line: int(867), + Column: int(14), }, End: ast.Location{ - Line: int(817), - Column: int(63), + Line: int(867), + Column: int(18), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p9039, + FreeVars: nil, }, - Id: "std", + Value: "\n", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(867), + Column: int(20), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(867), + Column: int(70), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9039, + FreeVars: ast.Identifiers{ + "all_sections", + "main_body", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(817), - Column: int(69), + Line: int(867), + Column: int(20), }, End: ast.Location{ - Line: int(817), - Column: int(70), + Line: int(867), + Column: int(63), }, File: p1, }, - Ctx: p7662, + Fodder: ast.Fodder{}, + Ctx: p9039, FreeVars: ast.Identifiers{ - "b", + "all_sections", + "main_body", + "std", }, }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(819), - Column: int(7), - }, - End: ast.Location{ - Line: int(819), - Column: int(29), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(819), - Column: int(10), - }, - End: ast.Location{ - Line: int(819), - Column: int(15), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(819), - Column: int(10), - }, - End: ast.Location{ - Line: int(819), - Column: int(11), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(819), - Column: int(14), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(867), + Column: int(20), + }, + End: ast.Location{ + Line: int(867), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9039, + 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(867), + Column: int(32), + }, + End: ast.Location{ + Line: int(867), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9039, + FreeVars: ast.Identifiers{ + "all_sections", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(867), + Column: int(32), + }, + End: ast.Location{ + Line: int(867), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9039, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(867), + Column: int(32), + }, + End: ast.Location{ + Line: int(867), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "flattenArrays", + 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(867), + Column: int(50), + }, + End: ast.Location{ + Line: int(867), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9055, + FreeVars: ast.Identifiers{ + "all_sections", + }, + }, + Id: "all_sections", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, }, - End: ast.Location{ - Line: int(819), - Column: int(15), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(867), + Column: int(66), + }, + End: ast.Location{ + Line: int(867), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9039, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(867), + Column: int(67), + }, + End: ast.Location{ + Line: int(867), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9060, + FreeVars: nil, + }, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(819), - Column: int(21), - }, - End: ast.Location{ - Line: int(819), - Column: int(22), - }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(819), - Column: int(28), - }, - End: ast.Location{ - Line: int(819), - Column: int(29), }, - File: p1, - }, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "b", + CommaFodder: nil, }, }, - Id: "b", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(849), + Column: int(3), + }, + End: ast.Location{ + Line: int(867), + Column: int(71), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -88351,12 +117275,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "flattenArrays", + Value: "escapeStringJson", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -88372,2153 +117298,1930 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arrs", + 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(869), + Column: int(20), + }, + End: ast.Location{ + Line: int(869), + Column: int(24), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Apply{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(822), + Line: int(870), Column: int(5), }, End: ast.Location{ - Line: int(822), - Column: int(46), + Line: int(892), + Column: int(70), }, File: p1, }, - Ctx: p7681, - FreeVars: ast.Identifiers{ - "arrs", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(822), - Column: int(5), - }, - End: ast.Location{ - Line: int(822), - Column: int(14), - }, - File: p1, - }, - Ctx: p7681, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(822), - Column: int(5), - }, - End: ast.Location{ - Line: int(822), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, - Id: "std", }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "foldl", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Ctx: p9067, + FreeVars: ast.Identifiers{ + "std", + "str_", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "str", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(822), - Column: int(15), + Line: int(870), + Column: int(17), }, End: ast.Location{ - Line: int(822), + Line: int(870), Column: int(35), }, File: p1, }, - Ctx: p7690, - FreeVars: nil, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", + Fodder: ast.Fodder{}, + Ctx: p9071, + FreeVars: ast.Identifiers{ + "std", + "str_", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(822), - Column: int(30), + Line: int(870), + Column: int(17), }, End: ast.Location{ - Line: int(822), - Column: int(35), + Line: int(870), + Column: int(29), }, File: p1, }, - Ctx: p7693, + Fodder: ast.Fodder{}, + Ctx: p9071, FreeVars: ast.Identifiers{ - "a", - "b", + "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(822), - Column: int(30), + Line: int(870), + Column: int(17), }, End: ast.Location{ - Line: int(822), - Column: int(31), + Line: int(870), + Column: int(20), }, File: p1, }, - Ctx: p7693, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", + "std", }, }, - Id: "a", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(822), - Column: int(34), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(822), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p7693, - FreeVars: ast.Identifiers{ - "b", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "b", + Value: "toString", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(822), - Column: int(37), - }, - End: ast.Location{ - Line: int(822), - Column: int(41), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(870), + Column: int(30), + }, + End: ast.Location{ + Line: int(870), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9080, + FreeVars: ast.Identifiers{ + "str_", + }, + }, + Id: "str_", + }, + CommaFodder: nil, }, - File: p1, - }, - Ctx: p7690, - FreeVars: ast.Identifiers{ - "arrs", }, + Named: nil, }, - Id: "arrs", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(822), - Column: int(43), - }, - End: ast.Location{ - Line: int(822), - Column: int(45), - }, - File: p1, - }, - Ctx: p7690, - FreeVars: nil, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(870), + Column: int(11), }, - Elements: nil, - TrailingComma: false, + End: ast.Location{ + Line: int(870), + Column: int(35), + }, + File: p1, }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "manifestIni", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "ini", }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(825), - Column: int(5), + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(871), + Column: int(5), + }, + End: ast.Location{ + Line: int(892), + Column: int(70), + }, + File: p1, }, - End: ast.Location{ - Line: int(842), - Column: int(71), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9067, + FreeVars: ast.Identifiers{ + "std", + "str", }, - File: p1, - }, - Ctx: p7707, - FreeVars: ast.Identifiers{ - "ini", - "std", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "body_lines", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(825), - Column: int(11), - }, - End: ast.Location{ - Line: int(834), - Column: int(9), - }, - File: p1, - }, - Ctx: p7711, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "body", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Variable: "trans", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(826), - Column: int(7), + Line: int(871), + Column: int(11), }, End: ast.Location{ - Line: int(834), - Column: int(9), + Line: int(891), + Column: int(13), }, File: p1, }, - Ctx: p7715, + Fodder: nil, + Ctx: p9087, FreeVars: ast.Identifiers{ - "body", "std", }, }, - Target: &ast.Index{ + 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(871), + Column: int(17), + }, + End: ast.Location{ + Line: int(871), + Column: int(19), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(826), + Line: int(872), Column: int(7), }, End: ast.Location{ - Line: int(826), - Column: int(15), + Line: int(891), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(872), + Column: int(10), + }, + End: ast.Location{ + Line: int(872), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(872), + Column: int(10), + }, + End: ast.Location{ + Line: int(872), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + 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(872), + Column: int(16), + }, + End: ast.Location{ + Line: int(872), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, }, - File: p1, - }, - Ctx: p7715, - FreeVars: ast.Identifiers{ - "std", + Value: "\"", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - Target: &ast.Var{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(826), - Column: int(7), + Line: int(873), + Column: int(9), }, End: ast.Location{ - Line: int(826), - Column: int(10), + Line: int(873), + Column: int(14), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, + Ctx: p9092, + FreeVars: nil, }, - Id: "std", + Value: "\\\"", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Index: &ast.LiteralString{ + 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(0), - Column: int(0), + Line: int(874), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(891), + Column: int(13), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Array{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(826), - Column: int(16), + Line: int(874), + Column: int(15), }, End: ast.Location{ - Line: int(826), - Column: int(18), + Line: int(874), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(874), + Column: int(15), + }, + End: ast.Location{ + Line: int(874), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + 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(874), + Column: int(21), + }, + End: ast.Location{ + Line: int(874), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, + }, + 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(875), + Column: int(9), + }, + End: ast.Location{ + Line: int(875), + Column: int(15), }, File: p1, }, - Ctx: p7724, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9092, FreeVars: nil, }, - Elements: nil, - TrailingComma: false, + Value: "\\\\", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - &ast.Apply{ + 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(0), - Column: int(0), + Line: int(876), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(891), + Column: int(13), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "body", + "ch", "std", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(876), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(876), + Column: int(25), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "std", + "ch", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(876), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(876), + Column: int(17), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "std", + "ch", }, }, - Id: "std", + Id: "ch", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(876), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(876), + Column: int(25), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: nil, }, - Value: "flatMap", + Value: "\b", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(877), + Column: int(9), + }, + End: ast.Location{ + Line: int(877), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: nil, + }, + 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(878), + Column: int(12), + }, + End: ast.Location{ + Line: int(891), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(878), + Column: int(15), + }, + End: ast.Location{ + Line: int(878), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(878), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(878), + Column: int(17), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "body", - "std", + "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(878), + Column: int(21), + }, + End: ast.Location{ + Line: int(878), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, + }, + 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(879), + Column: int(9), + }, + End: ast.Location{ + Line: int(879), + Column: int(14), }, + File: p1, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Array{ + Ctx: p9092, + FreeVars: nil, + }, + 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(880), + Column: int(12), + }, + End: ast.Location{ + Line: int(891), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(15), + }, + End: ast.Location{ + Line: int(880), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Left: &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "body", - "k", - "std", - }, - }, - Elements: ast.Nodes{ - &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(827), - Column: int(9), - }, - End: ast.Location{ - Line: int(831), - Column: int(45), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: ast.Identifiers{ - "body", - "k", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "value_or_values", - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(827), - Column: int(33), - }, - End: ast.Location{ - Line: int(827), - Column: int(40), - }, - File: p1, - }, - Ctx: p7744, - FreeVars: ast.Identifiers{ - "body", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(827), - Column: int(33), - }, - End: ast.Location{ - Line: int(827), - Column: int(37), - }, - File: p1, - }, - Ctx: p7744, - FreeVars: ast.Identifiers{ - "body", - }, - }, - Id: "body", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(827), - Column: int(38), - }, - End: ast.Location{ - Line: int(827), - Column: int(39), - }, - File: p1, - }, - Ctx: p7744, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - Fun: nil, - }, + Line: int(880), + Column: int(15), }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(9), - }, - End: ast.Location{ - Line: int(831), - Column: int(45), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: ast.Identifiers{ - "k", - "std", - "value_or_values", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(12), - }, - End: ast.Location{ - Line: int(828), - Column: int(48), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: ast.Identifiers{ - "std", - "value_or_values", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(12), - }, - End: ast.Location{ - Line: int(828), - Column: int(37), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: ast.Identifiers{ - "std", - "value_or_values", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(12), - }, - End: ast.Location{ - Line: int(828), - Column: int(20), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(12), - }, - End: ast.Location{ - Line: int(828), - Column: int(15), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(21), - }, - End: ast.Location{ - Line: int(828), - Column: int(36), - }, - File: p1, - }, - Ctx: p7763, - FreeVars: ast.Identifiers{ - "value_or_values", - }, - }, - Id: "value_or_values", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(41), - }, - End: ast.Location{ - Line: int(828), - Column: int(48), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: nil, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "std", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "std", - "value", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(12), - }, - End: ast.Location{ - Line: int(829), - Column: int(21), - }, - File: p1, - }, - Ctx: p7789, - FreeVars: nil, - }, - Value: "%s = %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(24), - }, - End: ast.Location{ - Line: int(829), - Column: int(34), - }, - File: p1, - }, - Ctx: p7789, - FreeVars: ast.Identifiers{ - "k", - "value", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(25), - }, - End: ast.Location{ - Line: int(829), - Column: int(26), - }, - File: p1, - }, - Ctx: p7794, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(28), - }, - End: ast.Location{ - Line: int(829), - Column: int(33), - }, - File: p1, - }, - Ctx: p7794, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(48), - }, - End: ast.Location{ - Line: int(829), - Column: int(63), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: ast.Identifiers{ - "value_or_values", - }, - }, - Id: "value_or_values", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(831), - Column: int(11), - }, - End: ast.Location{ - Line: int(831), - Column: int(45), - }, - File: p1, - }, - Ctx: p7740, - FreeVars: ast.Identifiers{ - "k", - "std", - "value_or_values", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "std", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(831), - Column: int(12), - }, - End: ast.Location{ - Line: int(831), - Column: int(21), - }, - File: p1, - }, - Ctx: p7812, - FreeVars: nil, - }, - Value: "%s = %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(831), - Column: int(24), - }, - End: ast.Location{ - Line: int(831), - Column: int(44), - }, - File: p1, - }, - Ctx: p7812, - FreeVars: ast.Identifiers{ - "k", - "value_or_values", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(831), - Column: int(25), - }, - End: ast.Location{ - Line: int(831), - Column: int(26), - }, - File: p1, - }, - Ctx: p7817, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(831), - Column: int(28), - }, - End: ast.Location{ - Line: int(831), - Column: int(43), - }, - File: p1, - }, - Ctx: p7817, - FreeVars: ast.Identifiers{ - "value_or_values", - }, - }, - Id: "value_or_values", - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, + End: ast.Location{ + Line: int(880), + Column: int(17), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", }, }, - TrailingComma: false, + Id: "ch", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(880), + Column: int(21), + }, + End: ast.Location{ + Line: int(880), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, + }, + Value: "\n", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - &ast.Apply{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(833), - Column: int(18), + Line: int(881), + Column: int(9), }, End: ast.Location{ - Line: int(833), - Column: int(40), + Line: int(881), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: nil, + }, + 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(882), + Column: int(12), + }, + End: ast.Location{ + Line: int(891), + Column: int(13), }, File: p1, }, - Ctx: p7724, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "body", + "ch", "std", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(833), - Column: int(18), + Line: int(882), + Column: int(15), }, End: ast.Location{ - Line: int(833), - Column: int(34), + Line: int(882), + Column: int(25), }, File: p1, }, - Ctx: p7724, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "std", + "ch", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(833), - Column: int(18), + Line: int(882), + Column: int(15), }, End: ast.Location{ - Line: int(833), - Column: int(21), + Line: int(882), + Column: int(17), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "std", + "ch", }, }, - Id: "std", + Id: "ch", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(882), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(882), + Column: int(25), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: nil, }, - Value: "objectFields", + Value: "\r", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(833), - Column: int(35), - }, - End: ast.Location{ - Line: int(833), - Column: int(39), - }, - File: p1, - }, - Ctx: p7830, - FreeVars: ast.Identifiers{ - "body", - }, - }, - Id: "body", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(5), - }, - End: ast.Location{ - Line: int(842), - Column: int(71), - }, - File: p1, - }, - Ctx: p7707, - FreeVars: ast.Identifiers{ - "body_lines", - "ini", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "section_lines", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(11), - }, - End: ast.Location{ - Line: int(836), - Column: int(79), - }, - File: p1, - }, - Ctx: p7836, - FreeVars: ast.Identifiers{ - "body_lines", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "sname", - "sbody", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(41), - }, - End: ast.Location{ - Line: int(836), - Column: int(79), - }, - File: p1, - }, - Ctx: p7840, - FreeVars: ast.Identifiers{ - "body_lines", - "sbody", - "sname", - "std", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(41), - }, - End: ast.Location{ - Line: int(836), - Column: int(59), - }, - File: p1, - }, - Ctx: p7840, - FreeVars: ast.Identifiers{ - "sname", - "std", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "sname", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(836), - Column: int(42), + Line: int(883), + Column: int(9), }, End: ast.Location{ - Line: int(836), - Column: int(48), + Line: int(883), + Column: int(14), }, File: p1, }, - Ctx: p7854, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9092, FreeVars: nil, }, - Value: "[%s]", + Value: "\\r", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - &ast.Array{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(836), - Column: int(51), + Line: int(884), + Column: int(12), }, End: ast.Location{ - Line: int(836), - Column: int(58), + Line: int(891), + Column: int(13), }, File: p1, }, - Ctx: p7854, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "sname", + "ch", + "std", }, }, - Elements: ast.Nodes{ - &ast.Var{ + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(884), + Column: int(15), + }, + End: ast.Location{ + Line: int(884), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(836), - Column: int(52), + Line: int(884), + Column: int(15), }, End: ast.Location{ - Line: int(836), - Column: int(57), + Line: int(884), + Column: int(17), }, File: p1, }, - Ctx: p7859, + Fodder: ast.Fodder{}, + Ctx: p9092, FreeVars: ast.Identifiers{ - "sname", + "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(884), + Column: int(21), + }, + End: ast.Location{ + Line: int(884), + Column: int(25), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, }, - Id: "sname", + Value: "\t", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(62), - }, - End: ast.Location{ - Line: int(836), - Column: int(79), - }, - File: p1, - }, - Ctx: p7840, - FreeVars: ast.Identifiers{ - "body_lines", - "sbody", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(62), - }, - End: ast.Location{ - Line: int(836), - Column: int(72), - }, - File: p1, - }, - Ctx: p7840, - FreeVars: ast.Identifiers{ - "body_lines", - }, - }, - Id: "body_lines", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(73), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(885), + Column: int(9), + }, + End: ast.Location{ + Line: int(885), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: nil, + }, + Value: "\\t", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - End: ast.Location{ - Line: int(836), - Column: int(78), + 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(887), + Column: int(9), + }, + End: ast.Location{ + Line: int(891), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + "std", + }, + }, + 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(887), + Column: int(20), + }, + End: ast.Location{ + Line: int(887), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9167, + FreeVars: ast.Identifiers{ + "ch", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(887), + Column: int(20), + }, + End: ast.Location{ + Line: int(887), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9167, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(887), + Column: int(20), + }, + End: ast.Location{ + Line: int(887), + 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: nil, + }, + 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(887), + Column: int(34), + }, + End: ast.Location{ + Line: int(887), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9176, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Id: "ch", + }, + 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(887), + Column: int(15), + }, + End: ast.Location{ + Line: int(887), + Column: int(37), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(9), + }, + End: ast.Location{ + Line: int(891), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + "cp", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(12), + }, + End: ast.Location{ + Line: int(888), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(12), + }, + End: ast.Location{ + Line: int(888), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(12), + }, + End: ast.Location{ + Line: int(888), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + 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(888), + Column: int(17), + }, + End: ast.Location{ + Line: int(888), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, + }, + OriginalString: "32", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(18), + Right: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(24), + }, + End: ast.Location{ + Line: int(888), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(24), + }, + End: ast.Location{ + Line: int(888), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(24), + }, + End: ast.Location{ + Line: int(888), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + 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(888), + Column: int(30), + }, + End: ast.Location{ + Line: int(888), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, + }, + OriginalString: "127", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(37), + }, + End: ast.Location{ + Line: int(888), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(37), + }, + End: ast.Location{ + Line: int(888), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Id: "cp", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(10), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(888), + Column: int(43), + }, + End: ast.Location{ + Line: int(888), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: nil, + }, + OriginalString: "159", + }, + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(889), + Column: int(11), + }, + End: ast.Location{ + Line: int(889), + Column: int(27), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "cp", + "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: nil, + }, + 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(889), + Column: int(11), + }, + End: ast.Location{ + Line: int(889), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: nil, + }, + 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(889), + Column: int(23), + }, + End: ast.Location{ + Line: int(889), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(889), + Column: int(24), + }, + End: ast.Location{ + Line: int(889), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9214, + FreeVars: ast.Identifiers{ + "cp", + }, + }, + Id: "cp", + }, + 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(8), + Comment: []string{}, + }, + }, + BranchFalse: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(891), + Column: int(11), + }, + End: ast.Location{ + Line: int(891), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9092, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Id: "ch", + }, + }, }, - File: p1, - }, - Ctx: p7867, - FreeVars: ast.Identifiers{ - "sbody", - }, - }, - Id: "sbody", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - Fun: nil, - }, - ast.LocalBind{ - Variable: "main_body", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(23), - }, - End: ast.Location{ - Line: int(837), - Column: int(86), - }, - File: p1, - }, - Ctx: p7870, - FreeVars: ast.Identifiers{ - "body_lines", - "ini", - "std", - }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(26), - }, - End: ast.Location{ - Line: int(837), - Column: int(52), - }, - File: p1, - }, - Ctx: p7870, - FreeVars: ast.Identifiers{ - "ini", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(26), - }, - End: ast.Location{ - Line: int(837), - Column: int(39), - }, - File: p1, - }, - Ctx: p7870, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(26), - }, - End: ast.Location{ - Line: int(837), - Column: int(29), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectHas", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(40), - }, - End: ast.Location{ - Line: int(837), - Column: int(43), - }, - File: p1, - }, - Ctx: p7881, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Id: "ini", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(45), - }, - End: ast.Location{ - Line: int(837), - Column: int(51), }, - File: p1, }, - Ctx: p7881, - FreeVars: nil, }, - Value: "main", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(58), - }, - End: ast.Location{ - Line: int(837), - Column: int(78), - }, - File: p1, - }, - Ctx: p7870, - FreeVars: ast.Identifiers{ - "body_lines", - "ini", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(58), - }, - End: ast.Location{ - Line: int(837), - Column: int(68), - }, - File: p1, - }, - Ctx: p7870, - FreeVars: ast.Identifiers{ - "body_lines", - }, - }, - Id: "body_lines", + }, + 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(892), + Column: int(5), + }, + End: ast.Location{ + Line: int(892), + Column: int(70), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "str", + "trans", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(69), - }, - End: ast.Location{ - Line: int(837), - Column: int(77), - }, - File: p1, - }, - Ctx: p7890, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(69), - }, - End: ast.Location{ - Line: int(837), - Column: int(72), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Id: "ini", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "main", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Named: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - TrailingComma: false, - TailStrict: false, + File: nil, }, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(837), - Column: int(84), - }, - End: ast.Location{ - Line: int(837), - Column: int(86), - }, - File: p1, - }, - Ctx: p7870, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, }, - Fun: nil, - }, - ast.LocalBind{ - Variable: "all_sections", - Body: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -90532,106 +119235,144 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "ini", - "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, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(0), - Column: int(0), + Line: int(892), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(892), + Column: int(11), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, }, + Ctx: p9067, + FreeVars: nil, }, - Id: "std", + Value: "\"%s\"", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Index: &ast.LiteralString{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(892), + Column: int(14), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(892), + Column: int(70), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9067, + FreeVars: ast.Identifiers{ + "std", + "str", + "trans", }, - Ctx: nil, - FreeVars: nil, }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(892), + Column: int(14), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(892), + Column: int(22), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9067, FreeVars: ast.Identifiers{ - "ini", - "section_lines", + "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(892), + Column: int(14), + }, + End: ast.Location{ + Line: int(892), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Optional: nil, + Id: "std", }, - TrailingComma: false, - Body: &ast.Array{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -90645,140 +119386,188 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - "k", - "section_lines", + FreeVars: nil, + }, + 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(892), + Column: int(23), + }, + End: ast.Location{ + Line: int(892), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9239, + FreeVars: nil, + }, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + CommaFodder: ast.Fodder{}, }, - Elements: ast.Nodes{ - &ast.Apply{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(839), - Column: int(7), + Line: int(892), + Column: int(27), }, End: ast.Location{ - Line: int(839), - Column: int(40), + Line: int(892), + Column: int(69), }, File: p1, }, - Ctx: p7911, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "ini", - "k", - "section_lines", + "std", + "str", + "trans", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(839), - Column: int(7), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(839), - Column: int(20), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p7911, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "section_lines", + "std", }, }, - Id: "section_lines", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(839), - Column: int(21), - }, - End: ast.Location{ - Line: int(839), - Column: int(22), - }, - File: p1, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p7917, - FreeVars: ast.Identifiers{ - "k", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - Id: "k", }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(839), - Column: int(24), - }, - End: ast.Location{ - Line: int(839), - Column: int(39), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p7917, - FreeVars: ast.Identifiers{ - "ini", - "k", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Index{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(839), - Column: int(24), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(839), - Column: int(36), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p7917, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "ini", + "trans", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: nil, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "ch", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(839), - Column: int(24), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(839), - Column: int(27), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", + File: nil, }, }, - Id: "ini", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -90792,549 +119581,493 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: nil, + FreeVars: ast.Identifiers{ + "ch", + "trans", + }, }, - Value: "sections", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(892), + Column: int(28), + }, + End: ast.Location{ + Line: int(892), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9255, + FreeVars: ast.Identifiers{ + "ch", + "trans", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(892), + Column: int(28), + }, + End: ast.Location{ + Line: int(892), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9255, + 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(892), + Column: int(34), + }, + End: ast.Location{ + Line: int(892), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9261, + 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, }, - Id: nil, }, - Index: &ast.Var{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(839), - Column: int(37), + Line: int(892), + Column: int(48), }, End: ast.Location{ - Line: int(839), - Column: int(38), + Line: int(892), + Column: int(68), }, File: p1, }, - Ctx: p7917, + Fodder: ast.Fodder{}, + Ctx: p9239, FreeVars: ast.Identifiers{ - "k", + "std", + "str", }, }, - Id: "k", + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(892), + Column: int(48), + }, + End: ast.Location{ + Line: int(892), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9239, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(892), + Column: int(48), + }, + End: ast.Location{ + Line: int(892), + 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: nil, + }, + 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(892), + Column: int(64), + }, + End: ast.Location{ + Line: int(892), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9272, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: nil, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - TrailingComma: false, - }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(16), - }, - End: ast.Location{ - Line: int(840), - Column: int(46), - }, - File: p1, - }, - Ctx: p7929, - FreeVars: ast.Identifiers{ - "ini", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(16), - }, - End: ast.Location{ - Line: int(840), - Column: int(32), - }, - File: p1, - }, - Ctx: p7929, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(16), - }, - End: ast.Location{ - Line: int(840), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(33), - }, - End: ast.Location{ - Line: int(840), - Column: int(45), - }, - File: p1, - }, - Ctx: p7938, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(33), - }, - End: ast.Location{ - Line: int(840), - Column: int(36), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - }, - }, - Id: "ini", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sections", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Fun: nil, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Body: &ast.Apply{ + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(869), + Column: int(3), + }, + End: ast.Location{ + Line: int(892), + 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: nil, + }, + 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: p11, + 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(894), + Column: int(22), + }, + End: ast.Location{ + Line: int(894), + 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(895), + Column: int(5), + }, + End: ast.Location{ + Line: int(895), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9279, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(895), + Column: int(5), + }, + End: ast.Location{ + Line: int(895), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9279, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(842), + Line: int(895), Column: int(5), }, End: ast.Location{ - Line: int(842), - Column: int(71), + Line: int(895), + Column: int(8), }, File: p1, }, - Ctx: p7707, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "all_sections", - "main_body", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(5), - }, - End: ast.Location{ - Line: int(842), - Column: int(13), - }, - File: p1, - }, - Ctx: p7707, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(5), - }, - End: ast.Location{ - Line: int(842), - Column: int(8), - }, - File: p1, - }, - 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), }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: nil, }, - Id: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(14), - }, - End: ast.Location{ - Line: int(842), - Column: int(18), - }, - File: p1, - }, - Ctx: p7952, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(20), - }, - End: ast.Location{ - Line: int(842), - Column: int(70), - }, - File: p1, - }, - Ctx: p7952, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(20), - }, - End: ast.Location{ - Line: int(842), - Column: int(63), - }, - File: p1, - }, - Ctx: p7952, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(20), - }, - End: ast.Location{ - Line: int(842), - Column: int(29), - }, - File: p1, - }, - Ctx: p7952, - FreeVars: ast.Identifiers{ - "main_body", - }, - }, - Id: "main_body", + 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(895), + Column: int(26), }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(32), - }, - End: ast.Location{ - Line: int(842), - Column: int(63), - }, - File: p1, - }, - Ctx: p7952, - FreeVars: ast.Identifiers{ - "all_sections", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(32), - }, - End: ast.Location{ - Line: int(842), - Column: int(49), - }, - File: p1, - }, - Ctx: p7952, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(32), - }, - End: ast.Location{ - Line: int(842), - Column: int(35), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flattenArrays", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(50), - }, - End: ast.Location{ - Line: int(842), - Column: int(62), - }, - File: p1, - }, - Ctx: p7968, - FreeVars: ast.Identifiers{ - "all_sections", - }, - }, - Id: "all_sections", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(895), + Column: int(29), }, + File: p1, }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(66), - }, - End: ast.Location{ - Line: int(842), - Column: int(70), - }, - File: p1, - }, - Ctx: p7952, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(67), - }, - End: ast.Location{ - Line: int(842), - Column: int(69), - }, - File: p1, - }, - Ctx: p7973, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - TrailingComma: false, + Fodder: ast.Fodder{}, + Ctx: p9289, + FreeVars: ast.Identifiers{ + "str", }, }, + Id: "str", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(894), + Column: int(3), + }, + End: ast.Location{ + Line: int(895), + Column: int(30), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -91352,12 +120085,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "escapeStringJson", + Value: "escapeStringBash", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -91373,33 +120108,59 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str_", + 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(897), + Column: int(20), + }, + End: ast.Location{ + Line: int(897), + Column: int(24), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(845), + Line: int(898), Column: int(5), }, End: ast.Location{ - Line: int(867), + Line: int(904), Column: int(70), }, File: p1, }, - Ctx: p7979, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9297, FreeVars: ast.Identifiers{ "std", "str_", @@ -91407,22 +120168,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "str", + EqFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(845), + Line: int(898), Column: int(17), }, End: ast.Location{ - Line: int(845), + Line: int(898), Column: int(35), }, File: p1, }, - Ctx: p7983, + Fodder: ast.Fodder{}, + Ctx: p9301, FreeVars: ast.Identifiers{ "std", "str_", @@ -91431,18 +120195,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(845), + Line: int(898), Column: int(17), }, End: ast.Location{ - Line: int(845), + Line: int(898), Column: int(29), }, File: p1, }, - Ctx: p7983, + Fodder: ast.Fodder{}, + Ctx: p9301, FreeVars: ast.Identifiers{ "std", }, @@ -91450,17 +120215,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(845), + Line: int(898), Column: int(17), }, End: ast.Location{ - Line: int(845), + Line: int(898), Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -91468,6 +120234,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -91482,62 +120249,93 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "toString", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(845), - Column: int(30), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(898), + Column: int(30), + }, + End: ast.Location{ + Line: int(898), + Column: int(34), + }, + File: p1, }, - End: ast.Location{ - Line: int(845), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p9310, + FreeVars: ast.Identifiers{ + "str_", }, - File: p1, - }, - Ctx: p7992, - FreeVars: ast.Identifiers{ - "str_", }, + Id: "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(898), + Column: int(11), + }, + End: ast.Location{ + Line: int(898), + Column: int(35), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(846), + Line: int(899), Column: int(5), }, End: ast.Location{ - Line: int(867), + Line: int(904), Column: int(70), }, File: p1, }, - Ctx: p7979, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9297, FreeVars: ast.Identifiers{ "std", "str", @@ -91545,68 +120343,94 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "trans", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(846), + Line: int(899), Column: int(11), }, End: ast.Location{ - Line: int(866), - Column: int(13), + Line: int(903), + Column: int(11), }, File: p1, }, - Ctx: p7998, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: nil, + Ctx: p9317, + FreeVars: nil, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "ch", + 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(899), + Column: int(17), + }, + End: ast.Location{ + Line: int(899), + Column: int(19), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(847), + Line: int(900), Column: int(7), }, End: ast.Location{ - Line: int(866), - Column: int(13), + Line: int(903), + Column: int(11), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p9321, FreeVars: ast.Identifiers{ "ch", - "std", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(847), + Line: int(900), Column: int(10), }, End: ast.Location{ - Line: int(847), + Line: int(900), Column: int(19), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{}, + Ctx: p9321, FreeVars: ast.Identifiers{ "ch", }, @@ -91614,1097 +120438,656 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(847), + Line: int(900), Column: int(10), }, End: ast.Location{ - Line: int(847), + Line: int(900), Column: int(12), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{}, + Ctx: p9321, FreeVars: ast.Identifiers{ "ch", }, }, Id: "ch", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(847), + Line: int(900), Column: int(16), }, End: ast.Location{ - Line: int(847), + Line: int(900), Column: int(19), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{}, + Ctx: p9321, FreeVars: nil, }, - Value: "\"", + Value: "'", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(848), + Line: int(901), Column: int(9), }, End: ast.Location{ - Line: int(848), - Column: int(14), + Line: int(901), + Column: int(18), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9321, FreeVars: nil, }, - Value: "\\\"", + Value: "'\"'\"'", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Conditional{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(849), - Column: int(12), + Line: int(903), + Column: int(9), }, End: ast.Location{ - Line: int(866), - Column: int(13), + Line: int(903), + Column: int(11), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9321, FreeVars: ast.Identifiers{ "ch", - "std", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(15), - }, - End: ast.Location{ - Line: int(849), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", + Id: "ch", + }, + }, + }, + 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(904), + Column: int(5), + }, + End: ast.Location{ + Line: int(904), + Column: int(70), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + "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, + }, + 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: nil, + }, + 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(904), + Column: int(5), }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(15), - }, - End: ast.Location{ - Line: int(849), - Column: int(17), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, + End: ast.Location{ + Line: int(904), + Column: int(11), }, - Id: "ch", + File: p1, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(849), - Column: int(21), - }, - End: ast.Location{ - Line: int(849), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, - Value: "\\", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Ctx: p9297, + FreeVars: nil, }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(9), - }, - End: ast.Location{ - Line: int(850), - Column: int(15), - }, - File: p1, + 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(904), + Column: int(14), }, - Ctx: p8002, - FreeVars: nil, + End: ast.Location{ + Line: int(904), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9297, + FreeVars: ast.Identifiers{ + "std", + "str", + "trans", }, - Value: "\\\\", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - BranchFalse: &ast.Conditional{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(851), - Column: int(12), + Line: int(904), + Column: int(14), }, End: ast.Location{ - Line: int(866), - Column: int(13), + Line: int(904), + Column: int(22), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{}, + Ctx: p9297, FreeVars: ast.Identifiers{ - "ch", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(851), - Column: int(15), + Line: int(904), + Column: int(14), }, End: ast.Location{ - Line: int(851), - Column: int(25), + Line: int(904), + Column: int(17), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(851), - Column: int(15), - }, - End: ast.Location{ - Line: int(851), - Column: int(17), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(851), - Column: int(21), - }, - End: ast.Location{ - Line: int(851), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, + "std", }, - Value: "\b", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "std", }, - BranchTrue: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(852), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(852), - Column: int(14), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8002, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "\\b", + Value: "join", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(12), - }, - End: ast.Location{ - Line: int(866), - Column: int(13), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(15), - }, - End: ast.Location{ - Line: int(853), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(15), - }, - End: ast.Location{ - Line: int(853), - Column: int(17), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(853), - Column: int(21), + Line: int(904), + Column: int(23), }, End: ast.Location{ - Line: int(853), + Line: int(904), Column: int(25), }, File: p1, }, - Ctx: p8002, + Fodder: ast.Fodder{}, + Ctx: p9353, FreeVars: nil, }, - Value: "\f", + Value: "", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + CommaFodder: ast.Fodder{}, }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(9), - }, - End: ast.Location{ - Line: int(854), - Column: int(14), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, - }, - Value: "\\f", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(12), - }, - End: ast.Location{ - Line: int(866), - Column: int(13), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(15), - }, - End: ast.Location{ - Line: int(855), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(15), - }, - End: ast.Location{ - Line: int(855), - Column: int(17), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(21), - }, - End: ast.Location{ - Line: int(855), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(9), - }, - End: ast.Location{ - Line: int(856), - Column: int(14), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, - }, - Value: "\\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(857), - Column: int(12), + Line: int(904), + Column: int(27), }, End: ast.Location{ - Line: int(866), - Column: int(13), + Line: int(904), + Column: int(69), }, File: p1, }, - Ctx: p8002, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "ch", "std", + "str", + "trans", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(857), - Column: int(15), - }, - End: ast.Location{ - Line: int(857), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(857), - Column: int(15), - }, - End: ast.Location{ - Line: int(857), - Column: int(17), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(857), - Column: int(21), - }, - End: ast.Location{ - Line: int(857), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, - }, - Value: "\r", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(9), - }, - End: ast.Location{ - Line: int(858), - Column: int(14), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, - }, - Value: "\\r", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(859), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(866), - Column: int(13), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8002, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "ch", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(859), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(859), - Column: int(25), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8002, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(859), - Column: int(15), - }, - End: ast.Location{ - Line: int(859), - Column: int(17), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(859), - Column: int(21), - }, - End: ast.Location{ - Line: int(859), - Column: int(25), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, + "std", }, - Value: "\t", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "std", }, - BranchTrue: &ast.LiteralString{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(860), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(860), - Column: int(14), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8002, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "\\t", + Value: "flatMap", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(9), - }, - End: ast.Location{ - Line: int(866), - Column: int(13), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "cp", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(20), - }, - End: ast.Location{ - Line: int(862), - Column: int(37), - }, - File: p1, - }, - Ctx: p8062, - FreeVars: ast.Identifiers{ - "ch", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(20), - }, - End: ast.Location{ - Line: int(862), - Column: int(33), - }, - File: p1, - }, - Ctx: p8062, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(20), - }, - End: ast.Location{ - Line: int(862), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "codepoint", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(34), - }, - End: ast.Location{ - Line: int(862), - Column: int(36), - }, - File: p1, - }, - Ctx: p8071, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(9), - }, - End: ast.Location{ - Line: int(866), - Column: int(13), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - "cp", - "std", - }, - }, - Cond: &ast.Binary{ + RightBracketFodder: nil, + Id: nil, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(863), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(863), - Column: int(47), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8002, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "cp", + "trans", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: nil, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "ch", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(863), - Column: int(12), - }, - End: ast.Location{ - Line: int(863), - Column: int(19), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(12), - }, - End: ast.Location{ - Line: int(863), - Column: int(14), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(17), - }, - End: ast.Location{ - Line: int(863), - Column: int(19), - }, - File: p1, + Line: int(0), + Column: int(0), }, - Ctx: p8002, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - Value: float64(32), - OriginalString: "32", }, }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(863), - Column: int(24), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(863), - Column: int(46), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8002, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "cp", + "ch", + "trans", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(24), - }, - End: ast.Location{ - Line: int(863), - Column: int(33), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(24), - }, - End: ast.Location{ - Line: int(863), - Column: int(26), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - Op: ast.BinaryOp(8), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(30), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(904), + Column: int(28), + }, + End: ast.Location{ + Line: int(904), + Column: int(37), + }, + File: p1, }, - End: ast.Location{ - Line: int(863), - Column: int(33), + Fodder: ast.Fodder{}, + Ctx: p9369, + FreeVars: ast.Identifiers{ + "ch", + "trans", }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, - }, - Value: float64(127), - OriginalString: "127", - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(37), }, - End: ast.Location{ - Line: int(863), - Column: int(46), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(37), - }, - End: ast.Location{ - Line: int(863), - Column: int(39), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(904), + Column: int(28), + }, + End: ast.Location{ + Line: int(904), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9369, + FreeVars: ast.Identifiers{ + "trans", + }, }, - File: p1, + Id: "trans", }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Id: "cp", - }, - Op: ast.BinaryOp(10), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(43), - }, - End: ast.Location{ - Line: int(863), - Column: int(46), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(904), + Column: int(34), + }, + End: ast.Location{ + Line: int(904), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9375, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Id: "ch", + }, + CommaFodder: nil, + }, }, - File: p1, + Named: nil, }, - Ctx: p8002, - FreeVars: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Value: float64(159), - OriginalString: "159", + CommaFodder: nil, }, }, + TrailingComma: false, + CloseFodder: nil, }, }, - BranchTrue: &ast.Apply{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(904), + Column: int(48), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(904), + Column: int(68), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9353, FreeVars: ast.Identifiers{ - "cp", "std", + "str", }, }, Target: &ast.Index{ @@ -92712,16 +121095,17 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(904), + Column: int(48), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(904), + Column: int(63), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9353, FreeVars: ast.Identifiers{ "std", }, @@ -92731,15 +121115,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(904), + Column: int(48), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(904), + Column: int(51), }, - File: nil, + File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -92747,6 +121132,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -92761,124 +121147,587 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "mod", + Value: "stringChars", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(864), - Column: int(11), - }, - End: ast.Location{ - Line: int(864), - Column: int(20), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: nil, - }, - Value: "\\u%04x", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(864), - Column: int(23), - }, - End: ast.Location{ - Line: int(864), - Column: int(27), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "cp", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(864), - Column: int(24), - }, - End: ast.Location{ - Line: int(864), - Column: int(26), - }, - File: p1, + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(904), + Column: int(64), }, - Ctx: p8107, - FreeVars: ast.Identifiers{ - "cp", + End: ast.Location{ + Line: int(904), + Column: int(67), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9386, + FreeVars: ast.Identifiers{ + "str", }, - Id: "cp", }, + Id: "str", }, - TrailingComma: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(11), - }, - End: ast.Location{ - Line: int(866), - Column: int(13), - }, - File: p1, - }, - Ctx: p8002, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, + 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, }, + CommaFodder: nil, }, }, - Fun: nil, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(897), + Column: int(3), + }, + End: ast.Location{ + Line: int(904), + 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: nil, + }, + 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: p11, + 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(906), + Column: int(23), + }, + End: ast.Location{ + Line: int(906), + Column: int(27), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(907), + Column: int(5), + }, + End: ast.Location{ + Line: int(913), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9394, + FreeVars: ast.Identifiers{ + "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(907), + Column: int(17), + }, + End: ast.Location{ + Line: int(907), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9398, + FreeVars: ast.Identifiers{ + "std", + "str_", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(907), + Column: int(17), + }, + End: ast.Location{ + Line: int(907), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9398, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(907), + Column: int(17), + }, + End: ast.Location{ + Line: int(907), + 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: nil, + }, + 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(907), + Column: int(30), + }, + End: ast.Location{ + Line: int(907), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9407, + 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(907), + Column: int(11), + }, + End: ast.Location{ + Line: int(907), + Column: int(35), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(908), + Column: int(5), + }, + End: ast.Location{ + Line: int(913), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9394, + 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(908), + Column: int(11), + }, + End: ast.Location{ + Line: int(912), + Column: int(11), + }, + File: p1, + }, + Fodder: nil, + Ctx: p9414, + FreeVars: nil, + }, + 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(908), + Column: int(17), + }, + End: ast.Location{ + Line: int(908), + 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(909), + Column: int(7), + }, + End: ast.Location{ + Line: int(912), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p9418, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(909), + Column: int(10), + }, + End: ast.Location{ + Line: int(909), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9418, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(909), + Column: int(10), + }, + End: ast.Location{ + Line: int(909), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9418, + 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(909), + Column: int(16), + }, + End: ast.Location{ + Line: int(909), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9418, + FreeVars: nil, + }, + 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(910), + Column: int(9), + }, + End: ast.Location{ + Line: int(910), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9418, + FreeVars: nil, + }, + 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(912), + Column: int(9), + }, + End: ast.Location{ + Line: int(912), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9418, + FreeVars: ast.Identifiers{ + "ch", + }, + }, + Id: "ch", + }, + }, + }, + Fun: nil, + CloseFodder: nil, LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ @@ -92891,7 +121740,24 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: nil, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(913), + Column: int(5), + }, + End: ast.Location{ + Line: int(913), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9394, FreeVars: ast.Identifiers{ "std", "str", @@ -92903,16 +121769,17 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(14), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9394, FreeVars: ast.Identifiers{ "std", }, @@ -92922,14 +121789,22 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, - File: nil, }, Ctx: nil, FreeVars: ast.Identifiers{ @@ -92938,6 +121813,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -92952,486 +121828,393 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "mod", + Value: "foldl", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(5), - }, - End: ast.Location{ - Line: int(867), - Column: int(11), - }, - File: p1, - }, - Ctx: p7979, - FreeVars: nil, - }, - Value: "\"%s\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(14), - }, - End: ast.Location{ - Line: int(867), - Column: int(70), - }, - File: p1, - }, - Ctx: p7979, - FreeVars: ast.Identifiers{ - "std", - "str", - "trans", - }, - }, - Target: &ast.Index{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(867), - Column: int(14), + Line: int(913), + Column: int(15), }, End: ast.Location{ - Line: int(867), - Column: int(22), + Line: int(913), + Column: int(42), }, File: p1, }, - Ctx: p7979, + Fodder: ast.Fodder{}, + Ctx: p9441, FreeVars: ast.Identifiers{ - "std", + "trans", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(867), - Column: int(14), + Line: int(913), + Column: int(24), }, End: ast.Location{ - Line: int(867), - Column: int(17), + Line: int(913), + Column: int(25), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(913), + Column: int(27), + }, + End: ast.Location{ + Line: int(913), + Column: int(28), + }, + File: p1, }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(42), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9445, + FreeVars: ast.Identifiers{ + "a", + "b", + "trans", }, - Ctx: nil, - FreeVars: nil, }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(867), - Column: int(23), + Line: int(913), + Column: int(30), }, End: ast.Location{ - Line: int(867), - Column: int(25), + Line: int(913), + Column: int(31), }, File: p1, }, - Ctx: p8129, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p9445, + FreeVars: ast.Identifiers{ + "a", + }, }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "a", }, - &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(34), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(42), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9445, FreeVars: ast.Identifiers{ - "std", - "str", + "b", "trans", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(34), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(913), + Column: int(39), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9445, 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + "trans", }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "trans", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "trans", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "ch", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(28), - }, - End: ast.Location{ - Line: int(867), - Column: int(37), - }, - File: p1, - }, - Ctx: p8145, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(28), - }, - End: ast.Location{ - Line: int(867), - Column: int(33), - }, - File: p1, - }, - Ctx: p8145, - FreeVars: ast.Identifiers{ - "trans", - }, - }, - Id: "trans", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(34), - }, - End: ast.Location{ - Line: int(867), - Column: int(36), - }, - File: p1, - }, - Ctx: p8151, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(48), - }, - End: ast.Location{ - Line: int(867), - Column: int(68), - }, - File: p1, - }, - Ctx: p8129, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(48), - }, - End: ast.Location{ - Line: int(867), - Column: int(63), - }, - File: p1, - }, - Ctx: p8129, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(48), - }, - End: ast.Location{ - Line: int(867), - Column: int(51), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(867), - Column: int(64), - }, - End: ast.Location{ - Line: int(867), - Column: int(67), - }, - File: p1, - }, - Ctx: p8162, - FreeVars: ast.Identifiers{ - "str", - }, + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(913), + Column: int(40), }, - Id: "str", + End: ast.Location{ + Line: int(913), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9455, + FreeVars: ast.Identifiers{ + "b", }, }, - Named: nil, + Id: "b", }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(913), + Column: int(44), + }, + End: ast.Location{ + Line: int(913), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9441, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(913), + Column: int(44), + }, + End: ast.Location{ + Line: int(913), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9441, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(913), + Column: int(44), + }, + End: ast.Location{ + Line: int(913), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(913), + Column: int(60), + }, + End: ast.Location{ + Line: int(913), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9466, + 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.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(913), + Column: int(66), + }, + End: ast.Location{ + Line: int(913), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9441, + FreeVars: nil, + }, + 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(906), + Column: int(3), + }, + End: ast.Location{ + Line: int(913), + Column: int(69), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -93449,12 +122232,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "escapeStringPython", + Value: "manifestJson", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -93470,53 +122255,73 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", + 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(915), + Column: int(16), + }, + End: ast.Location{ + Line: int(915), + Column: int(21), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(870), - Column: int(5), + Line: int(915), + Column: int(25), }, End: ast.Location{ - Line: int(870), - Column: int(30), + Line: int(915), + Column: int(58), }, File: p1, }, - Ctx: p8169, + Fodder: ast.Fodder{}, + Ctx: p9474, FreeVars: ast.Identifiers{ "std", - "str", + "value", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(870), - Column: int(5), + Line: int(915), + Column: int(25), }, End: ast.Location{ - Line: int(870), - Column: int(25), + Line: int(915), + Column: int(43), }, File: p1, }, - Ctx: p8169, + Fodder: ast.Fodder{}, + Ctx: p9474, FreeVars: ast.Identifiers{ "std", }, @@ -93524,17 +122329,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(870), - Column: int(5), + Line: int(915), + Column: int(25), }, End: ast.Location{ - Line: int(870), - Column: int(8), + Line: int(915), + Column: int(28), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -93542,6 +122348,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -93556,46 +122363,94 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "escapeStringJson", + Value: "manifestJsonEx", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(870), - Column: int(26), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(44), + }, + End: ast.Location{ + Line: int(915), + Column: int(49), + }, + File: p1, }, - End: ast.Location{ - Line: int(870), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p9483, + FreeVars: ast.Identifiers{ + "value", }, - File: p1, }, - Ctx: p8178, - FreeVars: ast.Identifiers{ - "str", + Id: "value", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(915), + Column: int(51), + }, + End: ast.Location{ + Line: int(915), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9483, + FreeVars: nil, }, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - 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(915), + Column: int(3), + }, + End: ast.Location{ + Line: int(915), + Column: int(58), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -93613,12 +122468,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "escapeStringBash", + Value: "manifestJsonEx", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -93634,1622 +122491,5124 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str_", + 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(917), + Column: int(18), + }, + End: ast.Location{ + Line: int(917), + Column: int(23), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "indent", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(917), + Column: int(25), + }, + End: ast.Location{ + Line: int(917), + Column: int(31), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(873), + Line: int(918), Column: int(5), }, End: ast.Location{ - Line: int(879), - Column: int(70), + Line: int(952), + Column: int(23), }, File: p1, }, - Ctx: p8185, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9492, FreeVars: ast.Identifiers{ + "indent", "std", - "str_", + "value", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "str", - Body: &ast.Apply{ + VarFodder: nil, + Variable: "aux", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(873), - Column: int(17), + Line: int(918), + Column: int(11), }, End: ast.Location{ - Line: int(873), - Column: int(35), + Line: int(951), + Column: int(28), }, File: p1, }, - Ctx: p8189, + Fodder: nil, + Ctx: p9496, FreeVars: ast.Identifiers{ + "aux", + "indent", "std", - "str_", }, }, - Target: &ast.Index{ + 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(918), + Column: int(15), + }, + End: ast.Location{ + Line: int(918), + 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(918), + Column: int(18), + }, + End: ast.Location{ + Line: int(918), + 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(918), + Column: int(24), + }, + End: ast.Location{ + Line: int(918), + Column: int(31), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(873), - Column: int(17), + Line: int(919), + Column: int(7), }, End: ast.Location{ - Line: int(873), - Column: int(29), + Line: int(951), + Column: int(28), }, File: p1, }, - Ctx: p8189, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p9501, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", "std", + "v", }, }, - Target: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(873), - Column: int(17), + Line: int(919), + Column: int(10), }, End: ast.Location{ - Line: int(873), - Column: int(20), + Line: int(919), + Column: int(19), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ - "std", + "v", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(919), + Column: int(10), + }, + End: ast.Location{ + Line: int(919), + Column: int(11), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "v", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "v", }, - Value: "toString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(873), - Column: int(30), + Line: int(919), + Column: int(15), }, End: ast.Location{ - Line: int(873), - Column: int(34), + Line: int(919), + Column: int(19), }, File: p1, }, - Ctx: p8198, - FreeVars: ast.Identifiers{ - "str_", - }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: nil, }, - Id: "str_", + Value: true, }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(5), - }, - End: ast.Location{ - Line: int(879), - Column: int(70), - }, - File: p1, - }, - Ctx: p8185, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "trans", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(874), - Column: int(11), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(920), + Column: int(9), + }, + End: ast.Location{ + Line: int(920), + Column: int(15), + }, + File: p1, }, - End: ast.Location{ - Line: int(878), - Column: int(11), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, - File: p1, + Ctx: p9501, + FreeVars: nil, }, - Ctx: p8204, - FreeVars: nil, + Value: "true", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "ch", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(875), - Column: int(7), + Line: int(921), + Column: int(12), }, End: ast.Location{ - Line: int(878), - Column: int(11), + Line: int(951), + Column: int(28), }, File: p1, }, - Ctx: p8207, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ - "ch", + "aux", + "cindent", + "indent", + "path", + "std", + "v", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(875), - Column: int(10), + Line: int(921), + Column: int(15), }, End: ast.Location{ - Line: int(875), - Column: int(19), + Line: int(921), + Column: int(25), }, File: p1, }, - Ctx: p8207, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ - "ch", + "v", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(875), - Column: int(10), + Line: int(921), + Column: int(15), }, End: ast.Location{ - Line: int(875), - Column: int(12), + Line: int(921), + Column: int(16), }, File: p1, }, - Ctx: p8207, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ - "ch", + "v", }, }, - Id: "ch", + Id: "v", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(875), - Column: int(16), + Line: int(921), + Column: int(20), }, End: ast.Location{ - Line: int(875), - Column: int(19), + Line: int(921), + Column: int(25), }, File: p1, }, - Ctx: p8207, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: nil, }, - Value: "'", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Value: false, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(876), + Line: int(922), Column: int(9), }, End: ast.Location{ - Line: int(876), - Column: int(18), + Line: int(922), + Column: int(16), }, File: p1, }, - Ctx: p8207, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, FreeVars: nil, }, - Value: "'\"'\"'", + Value: "false", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(878), - Column: int(9), - }, - End: ast.Location{ - Line: int(878), - Column: int(11), - }, - File: p1, - }, - Ctx: p8207, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(5), - }, - End: ast.Location{ - Line: int(879), - Column: int(11), - }, - File: p1, - }, - Ctx: p8185, - FreeVars: nil, - }, - Value: "'%s'", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(14), - }, - End: ast.Location{ - Line: int(879), - Column: int(70), - }, - File: p1, - }, - Ctx: p8185, - FreeVars: ast.Identifiers{ - "std", - "str", - "trans", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Target: &ast.Index{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(879), - Column: int(14), + Line: int(923), + Column: int(12), }, End: ast.Location{ - Line: int(879), - Column: int(22), + Line: int(951), + Column: int(28), }, File: p1, }, - Ctx: p8185, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", "std", + "v", }, }, - Target: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(879), - Column: int(14), + Line: int(923), + Column: int(15), }, End: ast.Location{ - Line: int(879), - Column: int(17), + Line: int(923), + Column: int(24), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ - "std", + "v", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(923), + Column: int(15), + }, + End: ast.Location{ + Line: int(923), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + 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(923), + Column: int(20), + }, + End: ast.Location{ + Line: int(923), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: nil, }, }, - Id: "std", }, - Index: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(924), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(924), + Column: int(15), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, FreeVars: nil, }, - Value: "join", + Value: "null", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + 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(925), + Column: int(12), + }, + End: ast.Location{ + Line: int(951), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "std", + "v", + }, + }, + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(879), - Column: int(23), + Line: int(925), + Column: int(15), + }, + End: ast.Location{ + Line: int(925), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(925), + Column: int(15), + }, + End: ast.Location{ + Line: int(925), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(925), + Column: int(15), + }, + End: ast.Location{ + Line: int(925), + 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: nil, + }, + 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(925), + Column: int(28), + }, + End: ast.Location{ + Line: int(925), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9542, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(926), + Column: int(9), + }, + End: ast.Location{ + Line: int(926), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(926), + Column: int(9), + }, + End: ast.Location{ + Line: int(926), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, + FreeVars: nil, + }, + 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(926), + Column: int(14), + }, + End: ast.Location{ + Line: int(926), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + 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(927), + Column: int(12), + }, + End: ast.Location{ + Line: int(951), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "std", + "v", + }, + }, + Cond: &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: p9501, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(927), + Column: int(15), + }, + End: ast.Location{ + Line: int(927), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + 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(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: nil, + }, + 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(927), + Column: int(28), + }, + End: ast.Location{ + Line: int(927), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9562, + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(9), + }, + End: ast.Location{ + Line: int(928), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(9), + }, + End: ast.Location{ + Line: int(928), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(9), + }, + End: ast.Location{ + Line: int(928), + 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", }, - End: ast.Location{ - Line: int(879), - Column: int(25), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "escapeStringJson", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - File: p1, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: p8235, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(928), + Column: int(30), + }, + End: ast.Location{ + Line: int(928), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9574, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + CommaFodder: nil, + }, }, - File: nil, + Named: nil, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - "trans", + 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{}, }, }, - Target: &ast.Index{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(929), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(951), + Column: int(28), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", "std", + "v", }, }, - Target: &ast.Var{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(929), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(929), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(929), + Column: int(15), + }, + End: ast.Location{ + Line: int(929), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(929), + Column: int(15), + }, + End: ast.Location{ + Line: int(929), + 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: nil, + }, + 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(929), + Column: int(30), + }, + End: ast.Location{ + Line: int(929), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9588, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(930), + Column: int(9), + }, + End: ast.Location{ + Line: int(930), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "path", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(15), + }, + End: ast.Location{ + Line: int(930), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "path", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(930), + Column: int(15), + }, + End: ast.Location{ + Line: int(930), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: nil, + }, + 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(930), + Column: int(50), + }, + End: ast.Location{ + Line: int(930), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + 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(931), + Column: int(12), + }, + End: ast.Location{ + Line: int(951), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "std", + "v", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(931), + Column: int(15), + }, + End: ast.Location{ + Line: int(931), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(931), + Column: int(15), + }, + End: ast.Location{ + Line: int(931), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(931), + Column: int(15), + }, + End: ast.Location{ + Line: int(931), + 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: nil, + }, + 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(931), + Column: int(27), + }, + End: ast.Location{ + Line: int(931), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9610, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(932), + Column: int(9), + }, + End: ast.Location{ + Line: int(941), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "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(932), + Column: int(23), + }, + End: ast.Location{ + Line: int(932), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9617, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(932), + Column: int(23), + }, + End: ast.Location{ + Line: int(932), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9617, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(932), + Column: int(23), + }, + End: ast.Location{ + Line: int(932), + 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: nil, + }, + 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(932), + Column: int(33), + }, + End: ast.Location{ + Line: int(932), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9626, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(932), + Column: int(36), + }, + End: ast.Location{ + Line: int(932), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9626, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(932), + Column: int(36), + }, + End: ast.Location{ + Line: int(932), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9626, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(932), + Column: int(36), + }, + End: ast.Location{ + Line: int(932), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9626, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(932), + Column: int(36), + }, + End: ast.Location{ + Line: int(932), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(932), + Column: int(47), + }, + End: ast.Location{ + Line: int(932), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9638, + 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(4), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(932), + Column: int(52), + }, + End: ast.Location{ + Line: int(932), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9626, + FreeVars: nil, + }, + 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(932), + Column: int(15), + }, + End: ast.Location{ + Line: int(932), + Column: int(54), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(933), + Column: int(9), + }, + End: ast.Location{ + Line: int(941), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "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(933), + Column: int(28), + }, + End: ast.Location{ + Line: int(933), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9646, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(933), + Column: int(28), + }, + End: ast.Location{ + Line: int(933), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9646, + 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(933), + Column: int(38), + }, + End: ast.Location{ + Line: int(933), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9646, + FreeVars: ast.Identifiers{ + "indent", + }, + }, + Id: "indent", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(933), + Column: int(15), + }, + End: ast.Location{ + Line: int(933), + Column: int(44), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(9), + }, + End: ast.Location{ + Line: int(941), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "new_indent", + "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(934), + Column: int(23), + }, + End: ast.Location{ + Line: int(940), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9657, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "new_indent", + "path", + "range", + "std", + "v", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(23), + }, + End: ast.Location{ + Line: int(939), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9657, + FreeVars: ast.Identifiers{ + "aux", + "new_indent", + "path", + "range", + "std", + "v", + }, + }, + Left: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(23), + }, + End: ast.Location{ + Line: int(934), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9657, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(934), + Column: int(24), + }, + End: ast.Location{ + Line: int(934), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9664, + FreeVars: nil, + }, + Value: "[\n", + 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(22), + Comment: []string{}, + }, + }, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(25), + }, + End: ast.Location{ + Line: int(939), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9657, + FreeVars: ast.Identifiers{ + "aux", + "new_indent", + "path", + "range", + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(25), + }, + End: ast.Location{ + Line: int(935), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9657, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(25), + }, + End: ast.Location{ + Line: int(935), + 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: nil, + }, + 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(935), + Column: int(34), + }, + End: ast.Location{ + Line: int(935), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9675, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(935), + Column: int(35), + }, + End: ast.Location{ + Line: int(935), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9678, + FreeVars: nil, + }, + Value: ",\n", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + 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(936), + Column: int(34), + }, + End: ast.Location{ + Line: int(939), + Column: int(35), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "new_indent", + "path", + "range", + "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: nil, + }, + 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(937), + Column: int(36), + }, + End: ast.Location{ + Line: int(937), + Column: int(84), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(35), + Comment: []string{}, + }, + }, + Ctx: p9695, + 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(937), + Column: int(37), + }, + End: ast.Location{ + Line: int(937), + Column: int(83), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9699, + FreeVars: ast.Identifiers{ + "aux", + "i", + "new_indent", + "path", + "v", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(37), + }, + End: ast.Location{ + Line: int(937), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9699, + 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(937), + Column: int(50), + }, + End: ast.Location{ + Line: int(937), + Column: int(83), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9699, + FreeVars: ast.Identifiers{ + "aux", + "i", + "new_indent", + "path", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(50), + }, + End: ast.Location{ + Line: int(937), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9699, + 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(937), + Column: int(54), + }, + End: ast.Location{ + Line: int(937), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(54), + }, + End: ast.Location{ + Line: int(937), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(56), + }, + End: ast.Location{ + Line: int(937), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9709, + 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(937), + Column: int(60), + }, + End: ast.Location{ + Line: int(937), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{ + "i", + "path", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(60), + }, + End: ast.Location{ + Line: int(937), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9709, + 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(937), + Column: int(67), + }, + End: ast.Location{ + Line: int(937), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9709, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(937), + Column: int(68), + }, + End: ast.Location{ + Line: int(937), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9723, + 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(937), + Column: int(72), + }, + End: ast.Location{ + Line: int(937), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9709, + 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(938), + Column: int(45), + }, + End: ast.Location{ + Line: int(938), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9675, + 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(940), + Column: int(25), + }, + End: ast.Location{ + Line: int(940), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9657, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(940), + Column: int(26), + }, + End: ast.Location{ + Line: int(940), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9734, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(940), + Column: int(26), + }, + End: ast.Location{ + Line: int(940), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9734, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(940), + Column: int(26), + }, + End: ast.Location{ + Line: int(940), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9734, + FreeVars: nil, + }, + 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(940), + Column: int(33), + }, + End: ast.Location{ + Line: int(940), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9734, + 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(43), + }, + End: ast.Location{ + Line: int(940), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9734, + FreeVars: nil, + }, + Value: "]", + 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(934), + Column: int(15), + }, + End: ast.Location{ + Line: int(940), + Column: int(47), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(9), + }, + End: ast.Location{ + Line: int(941), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "lines", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(9), + }, + End: ast.Location{ + Line: int(941), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(941), + Column: int(9), + }, + End: ast.Location{ + Line: int(941), + 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: nil, + }, + 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(941), + Column: int(18), + }, + End: ast.Location{ + Line: int(941), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9752, + FreeVars: nil, + }, + 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(941), + Column: int(22), + }, + End: ast.Location{ + Line: int(941), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9752, + FreeVars: ast.Identifiers{ + "lines", + }, + }, + Id: "lines", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Ctx: nil, - FreeVars: nil, }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(942), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(951), + Column: int(28), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ - "trans", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "ch", + "aux", + "cindent", + "indent", + "path", + "std", + "v", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Array{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(942), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(942), + Column: int(30), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9501, FreeVars: ast.Identifiers{ - "ch", - "trans", + "std", + "v", }, }, - Elements: ast.Nodes{ - &ast.Apply{ + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(942), + Column: int(15), + }, + End: ast.Location{ + Line: int(942), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(879), - Column: int(28), + Line: int(942), + Column: int(15), }, End: ast.Location{ - Line: int(879), - Column: int(37), + Line: int(942), + 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: nil, + }, + 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(942), + Column: int(28), + }, + End: ast.Location{ + Line: int(942), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9767, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(943), + Column: int(9), + }, + End: ast.Location{ + Line: int(951), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "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(943), + Column: int(23), + }, + End: ast.Location{ + Line: int(950), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9774, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "std", + "v", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(23), + }, + End: ast.Location{ + Line: int(949), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9774, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "std", + "v", + }, + }, + Left: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(23), + }, + End: ast.Location{ + Line: int(943), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9774, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(943), + Column: int(24), + }, + End: ast.Location{ + Line: int(943), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9781, + FreeVars: nil, + }, + Value: "{\n", + 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(22), + Comment: []string{}, + }, + }, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(944), + Column: int(25), + }, + End: ast.Location{ + Line: int(949), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9774, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(944), + Column: int(25), + }, + End: ast.Location{ + Line: int(944), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9774, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(944), + Column: int(25), + }, + End: ast.Location{ + Line: int(944), + 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: nil, + }, + 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(944), + Column: int(34), + }, + End: ast.Location{ + Line: int(944), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9792, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(944), + Column: int(35), + }, + End: ast.Location{ + Line: int(944), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9795, + FreeVars: nil, + }, + Value: ",\n", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + 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(945), + Column: int(34), + }, + End: ast.Location{ + Line: int(949), + Column: int(35), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "path", + "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: nil, + }, + 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", + "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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "k", + "path", + "std", + "v", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(946), + Column: int(36), + }, + End: ast.Location{ + Line: int(947), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(35), + Comment: []string{}, + }, + }, + Ctx: p9812, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "k", + "path", + "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(37), + }, + End: ast.Location{ + Line: int(947), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "k", + "path", + "std", + "v", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(946), + Column: int(37), + }, + End: ast.Location{ + Line: int(946), + Column: int(86), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + "k", + "std", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(946), + Column: int(37), + }, + End: ast.Location{ + Line: int(946), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + "k", + "std", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(946), + Column: int(37), + }, + End: ast.Location{ + Line: int(946), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(946), + Column: int(37), + }, + End: ast.Location{ + Line: int(946), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + 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(946), + Column: int(47), + }, + End: ast.Location{ + Line: int(946), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + 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(946), + Column: int(56), + }, + End: ast.Location{ + Line: int(946), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: ast.Identifiers{ + "k", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(946), + Column: int(56), + }, + End: ast.Location{ + Line: int(946), + Column: int(76), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(946), + Column: int(56), + }, + End: ast.Location{ + Line: int(946), + 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: nil, + }, + 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(946), + Column: int(77), + }, + End: ast.Location{ + Line: int(946), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9837, + 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(946), + Column: int(82), + }, + End: ast.Location{ + Line: int(946), + Column: int(86), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: nil, + }, + Value: ": ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + 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(947), + Column: int(39), + }, + End: ast.Location{ + Line: int(947), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent", + "k", + "path", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(39), + }, + End: ast.Location{ + Line: int(947), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9816, + 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(947), + Column: int(43), + }, + End: ast.Location{ + Line: int(947), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + FreeVars: ast.Identifiers{ + "k", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(43), + }, + End: ast.Location{ + Line: int(947), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + 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(45), + }, + End: ast.Location{ + Line: int(947), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + 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(947), + Column: int(49), + }, + End: ast.Location{ + Line: int(947), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + FreeVars: ast.Identifiers{ + "k", + "path", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(49), + }, + End: ast.Location{ + Line: int(947), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + 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(947), + Column: int(56), + }, + End: ast.Location{ + Line: int(947), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(57), + }, + End: ast.Location{ + Line: int(947), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9861, + 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(947), + Column: int(61), + }, + End: ast.Location{ + Line: int(947), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + FreeVars: ast.Identifiers{ + "cindent", + "indent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(947), + Column: int(61), + }, + End: ast.Location{ + Line: int(947), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + 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(947), + Column: int(71), + }, + End: ast.Location{ + Line: int(947), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9847, + 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{}, + }, + 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(948), + Column: int(45), + }, + End: ast.Location{ + Line: int(948), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9792, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(948), + Column: int(45), + }, + End: ast.Location{ + Line: int(948), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9792, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &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(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: nil, + }, + 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(948), + Column: int(62), + }, + End: ast.Location{ + Line: int(948), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9878, + 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, }, - File: p1, }, - Ctx: p8251, - FreeVars: ast.Identifiers{ - "ch", - "trans", + OpFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(22), + Comment: []string{}, + }, }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(28), + Op: ast.BinaryOp(3), + Right: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(25), + }, + End: ast.Location{ + Line: int(950), + Column: int(47), + }, + File: p1, }, - End: ast.Location{ - Line: int(879), - Column: int(33), + Fodder: ast.Fodder{}, + Ctx: p9774, + FreeVars: ast.Identifiers{ + "cindent", }, - File: p1, - }, - Ctx: p8251, - FreeVars: ast.Identifiers{ - "trans", }, - }, - Id: "trans", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(34), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(26), + }, + End: ast.Location{ + Line: int(950), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9885, + FreeVars: ast.Identifiers{ + "cindent", + }, }, - End: ast.Location{ - Line: int(879), - Column: int(36), + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(26), + }, + End: ast.Location{ + Line: int(950), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9885, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(950), + Column: int(26), + }, + End: ast.Location{ + Line: int(950), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9885, + FreeVars: nil, + }, + 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(950), + Column: int(33), + }, + End: ast.Location{ + Line: int(950), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9885, + 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(950), + Column: int(43), + }, + End: ast.Location{ + Line: int(950), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9885, + FreeVars: nil, + }, + Value: "}", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - File: p1, - }, - Ctx: p8257, - FreeVars: ast.Identifiers{ - "ch", }, + CommaFodder: nil, }, - Id: "ch", }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(48), - }, - End: ast.Location{ - Line: int(879), - Column: int(68), - }, - File: p1, - }, - Ctx: p8235, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(48), - }, - End: ast.Location{ - Line: int(879), - Column: int(63), - }, - File: p1, - }, - Ctx: p8235, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(48), - }, - End: ast.Location{ - Line: int(879), - Column: int(51), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(943), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(879), - Column: int(64), - }, - End: ast.Location{ - Line: int(879), - Column: int(67), - }, - File: p1, - }, - Ctx: p8268, - FreeVars: ast.Identifiers{ - "str", + Line: int(950), + Column: int(47), }, + File: p1, }, - Id: "str", }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "escapeStringDollars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str_", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(5), - }, - End: ast.Location{ - Line: int(888), - Column: int(69), - }, - File: p1, - }, - Ctx: p8275, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "str", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(17), - }, - End: ast.Location{ - Line: int(882), - Column: int(35), - }, - File: p1, - }, - Ctx: p8279, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(17), - }, - End: ast.Location{ - Line: int(882), - Column: int(29), - }, - File: p1, - }, - Ctx: p8279, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(17), - }, - End: ast.Location{ - Line: int(882), - Column: int(20), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "toString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(30), - }, - End: ast.Location{ - Line: int(882), - Column: int(34), + 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(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9501, + FreeVars: ast.Identifiers{ + "lines", + "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: p9501, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + 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{ + 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: nil, + }, + 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(951), + Column: int(18), + }, + End: ast.Location{ + Line: int(951), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9903, + FreeVars: nil, + }, + 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(951), + Column: int(22), + }, + End: ast.Location{ + Line: int(951), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9903, + FreeVars: ast.Identifiers{ + "lines", + }, + }, + Id: "lines", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + 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, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + }, + }, + }, }, - File: p1, - }, - Ctx: p8288, - FreeVars: ast.Identifiers{ - "str_", }, }, - Id: "str_", }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, 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{ + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(883), + Line: int(952), Column: int(5), }, End: ast.Location{ - Line: int(888), - Column: int(69), + Line: int(952), + Column: int(23), }, File: p1, }, - Ctx: p8275, + Fodder: ast.Fodder{}, + Ctx: p9492, FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "trans", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(11), - }, - End: ast.Location{ - Line: int(887), - Column: int(11), - }, - File: p1, - }, - Ctx: p8294, - FreeVars: nil, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "ch", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(7), - }, - End: ast.Location{ - Line: int(887), - Column: int(11), - }, - File: p1, - }, - Ctx: p8297, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(10), - }, - End: ast.Location{ - Line: int(884), - Column: int(19), - }, - File: p1, - }, - Ctx: p8297, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(10), - }, - End: ast.Location{ - Line: int(884), - Column: int(12), - }, - File: p1, - }, - Ctx: p8297, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(16), - }, - End: ast.Location{ - Line: int(884), - Column: int(19), - }, - File: p1, - }, - Ctx: p8297, - FreeVars: nil, - }, - Value: "$", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(885), - Column: int(9), - }, - End: ast.Location{ - Line: int(885), - Column: int(13), - }, - File: p1, - }, - Ctx: p8297, - FreeVars: nil, - }, - Value: "$$", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(887), - Column: int(9), - }, - End: ast.Location{ - Line: int(887), - Column: int(11), - }, - File: p1, - }, - Ctx: p8297, - FreeVars: ast.Identifiers{ - "ch", - }, - }, - Id: "ch", - }, - }, - }, - Fun: nil, + "aux", + "value", }, }, - Body: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(888), + Line: int(952), Column: int(5), }, End: ast.Location{ - Line: int(888), - Column: int(69), + Line: int(952), + Column: int(8), }, File: p1, }, - Ctx: p8275, - FreeVars: ast.Identifiers{ - "std", - "str", - "trans", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(5), - }, - End: ast.Location{ - Line: int(888), - Column: int(14), - }, - File: p1, - }, - Ctx: p8275, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(5), - }, - End: ast.Location{ - Line: int(888), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, - Id: "std", }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "foldl", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Ctx: p9492, + FreeVars: ast.Identifiers{ + "aux", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Id: "aux", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(888), - Column: int(15), + Line: int(952), + Column: int(9), }, End: ast.Location{ - Line: int(888), - Column: int(42), + Line: int(952), + Column: int(14), }, File: p1, }, - Ctx: p8316, + Fodder: ast.Fodder{}, + Ctx: p9914, FreeVars: ast.Identifiers{ - "trans", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(30), - }, - End: ast.Location{ - Line: int(888), - Column: int(42), - }, - File: p1, - }, - Ctx: p8320, - FreeVars: ast.Identifiers{ - "a", - "b", - "trans", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(30), - }, - End: ast.Location{ - Line: int(888), - Column: int(31), - }, - File: p1, - }, - Ctx: p8320, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(34), - }, - End: ast.Location{ - Line: int(888), - Column: int(42), - }, - File: p1, - }, - Ctx: p8320, - FreeVars: ast.Identifiers{ - "b", - "trans", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(34), - }, - End: ast.Location{ - Line: int(888), - Column: int(39), - }, - File: p1, - }, - Ctx: p8320, - FreeVars: ast.Identifiers{ - "trans", - }, - }, - Id: "trans", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(40), - }, - End: ast.Location{ - Line: int(888), - Column: int(41), - }, - File: p1, - }, - Ctx: p8330, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + "value", }, }, + Id: "value", }, - &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(888), - Column: int(44), + Line: int(952), + Column: int(16), }, End: ast.Location{ - Line: int(888), - Column: int(64), + Line: int(952), + Column: int(18), }, File: p1, }, - Ctx: p8316, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(44), - }, - End: ast.Location{ - Line: int(888), - Column: int(59), - }, - File: p1, - }, - Ctx: p8316, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(44), - }, - End: ast.Location{ - Line: int(888), - Column: int(47), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(60), - }, - End: ast.Location{ - Line: int(888), - Column: int(63), - }, - File: p1, - }, - Ctx: p8341, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p9914, + FreeVars: nil, }, + Elements: nil, TrailingComma: false, - TailStrict: false, + CloseFodder: ast.Fodder{}, }, - &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(888), - Column: int(66), + Line: int(952), + Column: int(20), }, End: ast.Location{ - Line: int(888), - Column: int(68), + Line: int(952), + Column: int(22), }, File: p1, }, - Ctx: p8316, + Fodder: ast.Fodder{}, + Ctx: p9914, FreeVars: nil, }, Value: "", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(917), + Column: int(3), + }, + End: ast.Location{ + Line: int(952), + Column: int(23), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -95267,12 +127626,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "manifestJson", + Value: "manifestYamlDoc", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -95288,277 +127649,219 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "value", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(890), - Column: int(25), + Line: int(954), + Column: int(19), }, End: ast.Location{ - Line: int(890), - Column: int(58), + Line: int(954), + Column: int(24), }, File: p1, }, - Ctx: p8349, - FreeVars: ast.Identifiers{ - "std", - "value", - }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(25), - }, - End: ast.Location{ - Line: int(890), - Column: int(43), - }, - File: p1, - }, - Ctx: p8349, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(25), - }, - End: ast.Location{ - Line: int(890), - Column: int(28), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ + 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(0), - Column: int(0), + Line: int(954), + Column: int(49), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(954), + Column: int(54), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9923, FreeVars: nil, }, - Value: "manifestJsonEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Value: false, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(44), - }, - End: ast.Location{ - Line: int(890), - Column: int(49), - }, - File: p1, - }, - Ctx: p8358, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(954), + Column: int(26), }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(51), - }, - End: ast.Location{ - Line: int(890), - Column: int(57), - }, - File: p1, - }, - Ctx: p8358, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(954), + Column: int(54), }, + File: p1, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "manifestJsonEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - "indent", }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(893), + Line: int(955), Column: int(5), }, End: ast.Location{ - Line: int(927), + Line: int(1035), Column: int(23), }, File: p1, }, - Ctx: p8366, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9923, FreeVars: ast.Identifiers{ - "indent", + "indent_array_in_object", "std", "value", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "aux", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(893), + Line: int(955), Column: int(11), }, End: ast.Location{ - Line: int(926), - Column: int(28), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8370, + Fodder: nil, + Ctx: p9929, FreeVars: ast.Identifiers{ "aux", - "indent", + "indent_array_in_object", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", - "path", - "cindent", + 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(955), + Column: int(15), + }, + End: ast.Location{ + Line: int(955), + 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(955), + Column: int(18), + }, + End: ast.Location{ + Line: int(955), + 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(955), + Column: int(24), + }, + End: ast.Location{ + Line: int(955), + Column: int(31), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(894), + Line: int(956), Column: int(7), }, End: ast.Location{ - Line: int(926), - Column: int(28), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p9934, FreeVars: ast.Identifiers{ "aux", "cindent", - "indent", + "indent_array_in_object", "path", "std", "v", @@ -95567,18 +127870,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(894), + Line: int(956), Column: int(10), }, End: ast.Location{ - Line: int(894), + Line: int(956), Column: int(19), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "v", }, @@ -95586,85 +127890,107 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(894), + Line: int(956), Column: int(10), }, End: ast.Location{ - Line: int(894), + Line: int(956), Column: int(11), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "v", }, }, Id: "v", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(894), + Line: int(956), Column: int(15), }, End: ast.Location{ - Line: int(894), + Line: int(956), Column: int(19), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: nil, }, Value: true, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(895), + Line: int(957), Column: int(9), }, End: ast.Location{ - Line: int(895), + Line: int(957), Column: int(15), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9934, FreeVars: nil, }, 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{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(896), + Line: int(958), Column: int(12), }, End: ast.Location{ - Line: int(926), - Column: int(28), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "aux", "cindent", - "indent", + "indent_array_in_object", "path", "std", "v", @@ -95673,18 +127999,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(896), + Line: int(958), Column: int(15), }, End: ast.Location{ - Line: int(896), + Line: int(958), Column: int(25), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "v", }, @@ -95692,1025 +128019,5801 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(896), + Line: int(958), Column: int(15), }, End: ast.Location{ - Line: int(896), + Line: int(958), Column: int(16), }, - File: p1, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + 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(958), + Column: int(20), + }, + End: ast.Location{ + Line: int(958), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + Value: false, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(959), + Column: int(9), + }, + End: ast.Location{ + Line: int(959), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: nil, + }, + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(12), + }, + End: ast.Location{ + Line: int(1034), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", + "path", + "std", + "v", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(15), + }, + End: ast.Location{ + Line: int(960), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(960), + Column: int(15), + }, + End: ast.Location{ + Line: int(960), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + 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(960), + Column: int(20), + }, + End: ast.Location{ + Line: int(960), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(961), + Column: int(9), + }, + End: ast.Location{ + Line: int(961), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: nil, + }, + 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(962), + Column: int(12), + }, + End: ast.Location{ + Line: int(1034), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", + "path", + "std", + "v", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(962), + Column: int(15), + }, + End: ast.Location{ + Line: int(962), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(962), + Column: int(15), + }, + End: ast.Location{ + Line: int(962), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &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(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: nil, + }, + Value: "isNumber", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "v", + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(962), + Column: int(28), + }, + End: ast.Location{ + Line: int(962), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9975, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: "v", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(20), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ + 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, }, - End: ast.Location{ - Line: int(896), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: false, - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(9), - }, - End: ast.Location{ - Line: int(897), - Column: int(16), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "false", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(12), - }, - End: ast.Location{ - Line: int(926), - Column: int(28), }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(15), + Left: &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(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: nil, }, - End: ast.Location{ - Line: int(898), - Column: int(24), + 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(963), + Column: int(14), + }, + End: ast.Location{ + Line: int(963), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "v", + }, }, - File: p1, + Id: "v", }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "v", + }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Left: &ast.Var{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(898), - Column: int(15), + Line: int(964), + Column: int(12), }, End: ast.Location{ - Line: int(898), - Column: int(16), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", + "path", + "std", "v", }, }, - Id: "v", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(20), + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(964), + Column: int(15), + }, + End: ast.Location{ + Line: int(964), + Column: int(30), + }, + File: p1, }, - End: ast.Location{ - Line: int(898), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(964), + Column: int(15), + }, + End: ast.Location{ + Line: int(964), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &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(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: nil, + }, + 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(964), + Column: int(28), + }, + End: ast.Location{ + Line: int(964), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9995, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(965), + Column: int(9), + }, + End: ast.Location{ + Line: int(972), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "cindent", + "std", + "v", + }, + }, + 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(965), + Column: int(21), + }, + End: ast.Location{ + Line: int(965), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10002, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(965), + Column: int(21), + }, + End: ast.Location{ + Line: int(965), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10002, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(965), + Column: int(21), + }, + End: ast.Location{ + Line: int(965), + 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: nil, + }, + 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(965), + Column: int(32), + }, + End: ast.Location{ + Line: int(965), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10011, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + 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(965), + Column: int(15), + }, + End: ast.Location{ + Line: int(965), + Column: int(34), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(966), + Column: int(9), + }, + End: ast.Location{ + Line: int(972), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "cindent", + "len", + "std", + "v", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(966), + Column: int(12), + }, + End: ast.Location{ + Line: int(966), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "len", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(966), + Column: int(12), + }, + End: ast.Location{ + Line: int(966), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "len", + }, + }, + Id: "len", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(966), + Column: int(19), + }, + End: ast.Location{ + Line: int(966), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(967), + Column: int(11), + }, + End: ast.Location{ + Line: int(967), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: nil, + }, + 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(968), + Column: int(14), + }, + End: ast.Location{ + Line: int(972), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "cindent", + "len", + "std", + "v", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(968), + Column: int(17), + }, + End: ast.Location{ + Line: int(968), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "len", + "v", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(968), + Column: int(17), + }, + End: ast.Location{ + Line: int(968), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "len", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(968), + Column: int(17), + }, + End: ast.Location{ + Line: int(968), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(968), + Column: int(19), + }, + End: ast.Location{ + Line: int(968), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "len", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(968), + Column: int(19), + }, + End: ast.Location{ + Line: int(968), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + 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(968), + Column: int(25), + }, + End: ast.Location{ + Line: int(968), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + 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(968), + Column: int(31), + }, + End: ast.Location{ + Line: int(968), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + Value: "\n", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(969), + Column: int(11), + }, + End: ast.Location{ + Line: int(970), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "cindent", + "std", + "v", + }, + }, + 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(969), + Column: int(25), + }, + End: ast.Location{ + Line: int(969), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10043, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(969), + Column: int(25), + }, + End: ast.Location{ + Line: int(969), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10043, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(969), + Column: int(25), + }, + End: ast.Location{ + Line: int(969), + 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: nil, + }, + 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(969), + Column: int(35), + }, + End: ast.Location{ + Line: int(969), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10052, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(969), + Column: int(38), + }, + End: ast.Location{ + Line: int(969), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10052, + FreeVars: nil, + }, + Value: "\n", + 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(969), + Column: int(17), + }, + End: ast.Location{ + Line: int(969), + Column: int(43), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(11), + }, + End: ast.Location{ + Line: int(970), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "cindent", + "split", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(11), + }, + End: ast.Location{ + Line: int(970), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(11), + }, + End: ast.Location{ + Line: int(970), + 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: nil, + }, + 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.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(20), + }, + End: ast.Location{ + Line: int(970), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(20), + }, + End: ast.Location{ + Line: int(970), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(20), + }, + End: ast.Location{ + Line: int(970), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: nil, + }, + 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(970), + Column: int(27), + }, + End: ast.Location{ + Line: int(970), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + 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(970), + Column: int(37), + }, + End: ast.Location{ + Line: int(970), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: nil, + }, + 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(970), + Column: int(43), + }, + End: ast.Location{ + Line: int(970), + Column: int(81), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: ast.Identifiers{ + "split", + "std", + }, + }, + Left: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(43), + }, + End: ast.Location{ + Line: int(970), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(44), + }, + End: ast.Location{ + Line: int(970), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10078, + FreeVars: nil, + }, + 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(970), + Column: int(51), + }, + End: ast.Location{ + Line: int(970), + Column: int(81), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "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, + }, + 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: nil, + }, + 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(970), + Column: int(51), + }, + End: ast.Location{ + Line: int(970), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + 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(970), + Column: int(57), + }, + End: ast.Location{ + Line: int(970), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(59), + }, + End: ast.Location{ + Line: int(970), + Column: int(80), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: ast.Identifiers{ + "split", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(59), + }, + End: ast.Location{ + Line: int(970), + Column: int(76), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: ast.Identifiers{ + "split", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(59), + }, + End: ast.Location{ + Line: int(970), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(970), + Column: int(59), + }, + End: ast.Location{ + Line: int(970), + 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: nil, + }, + 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(970), + Column: int(70), + }, + End: ast.Location{ + Line: int(970), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10101, + 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(970), + Column: int(79), + }, + End: ast.Location{ + Line: int(970), + Column: int(80), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10065, + FreeVars: nil, + }, + 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: 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, + }, + }, + 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(972), + Column: int(11), + }, + End: ast.Location{ + Line: int(972), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(972), + Column: int(11), + }, + End: ast.Location{ + Line: int(972), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(972), + Column: int(11), + }, + End: ast.Location{ + Line: int(972), + 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: nil, + }, + 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(972), + Column: int(32), + }, + End: ast.Location{ + Line: int(972), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10116, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(9), - }, - End: ast.Location{ - Line: int(899), - Column: int(15), }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "null", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(12), - }, - End: ast.Location{ - Line: int(926), - Column: int(28), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(15), - }, - End: ast.Location{ - Line: int(900), - Column: int(38), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "std", - "v", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Left: &ast.Apply{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(900), - Column: int(15), + Line: int(973), + Column: int(12), }, End: ast.Location{ - Line: int(900), - Column: int(26), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", + "path", "std", "v", }, }, - Target: &ast.Index{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(900), + Line: int(973), Column: int(15), }, End: ast.Location{ - Line: int(900), - Column: int(23), + Line: int(973), + Column: int(32), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", + "v", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(900), + Line: int(973), Column: int(15), }, End: ast.Location{ - Line: int(900), - Column: int(18), + Line: int(973), + Column: int(29), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(973), + Column: int(15), + }, + End: ast.Location{ + Line: int(973), + Column: int(18), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(900), - Column: int(24), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(900), - Column: int(25), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p8411, - FreeVars: ast.Identifiers{ - "v", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "v", + Value: "isFunction", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(30), - }, - End: ast.Location{ - Line: int(900), - Column: int(38), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(973), + Column: int(30), + }, + End: ast.Location{ + Line: int(973), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10130, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + CommaFodder: nil, + }, }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(901), - Column: int(9), - }, - End: ast.Location{ - Line: int(901), - Column: int(15), + Named: nil, }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "v", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(901), - Column: int(9), - }, - End: ast.Location{ - Line: int(901), - Column: int(11), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(974), + Column: int(9), + }, + End: ast.Location{ + Line: int(974), + Column: int(54), + }, + File: p1, }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(901), - Column: int(14), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(901), - Column: int(15), + Ctx: p9934, + FreeVars: ast.Identifiers{ + "path", }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(902), - Column: int(12), - }, - End: ast.Location{ - Line: int(926), - Column: int(28), }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(902), - Column: int(15), + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(974), + Column: int(15), + }, + End: ast.Location{ + Line: int(974), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "path", + }, }, - End: ast.Location{ - Line: int(902), - Column: int(38), + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(974), + Column: int(15), + }, + End: ast.Location{ + Line: int(974), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + 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(974), + Column: int(50), + }, + End: ast.Location{ + Line: int(974), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "path", + }, + }, + Id: "path", }, - File: p1, }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "std", - "v", + }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Left: &ast.Apply{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(902), - Column: int(15), + Line: int(975), + Column: int(12), }, End: ast.Location{ - Line: int(902), - Column: int(26), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", + "path", "std", "v", }, }, - Target: &ast.Index{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(902), + Line: int(975), Column: int(15), }, End: ast.Location{ - Line: int(902), - Column: int(23), + Line: int(975), + Column: int(29), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", + "v", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(902), + Line: int(975), Column: int(15), }, End: ast.Location{ - Line: int(902), - Column: int(18), + Line: int(975), + Column: int(26), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(975), + Column: int(15), + }, + End: ast.Location{ + Line: int(975), + 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: nil, + }, + Value: "isArray", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(975), + Column: int(27), + }, + End: ast.Location{ + Line: int(975), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10152, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(976), + Column: int(9), + }, + End: ast.Location{ + Line: int(1006), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "path", + "std", + "v", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(976), + Column: int(12), + }, + End: ast.Location{ + Line: int(976), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(976), + Column: int(12), + }, + End: ast.Location{ + Line: int(976), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(976), + Column: int(12), + }, + End: ast.Location{ + Line: int(976), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &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(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: nil, + }, + 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(976), + Column: int(23), + }, + End: ast.Location{ + Line: int(976), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10168, + 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.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(976), + Column: int(29), + }, + End: ast.Location{ + Line: int(976), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(977), + Column: int(11), + }, + End: ast.Location{ + Line: int(977), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: nil, + }, + 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(979), + Column: int(11), + }, + End: ast.Location{ + Line: int(1006), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "path", + "std", + "v", + }, + }, + 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(979), + Column: int(17), + }, + End: ast.Location{ + Line: int(999), + Column: int(14), + }, + File: p1, + }, + Fodder: nil, + Ctx: p10179, + 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(979), + Column: int(24), + }, + End: ast.Location{ + Line: int(979), + 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(980), + Column: int(13), + }, + End: ast.Location{ + Line: int(999), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "cindent", + "std", + "value", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(16), + }, + End: ast.Location{ + Line: int(980), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(16), + }, + End: ast.Location{ + Line: int(980), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(16), + }, + End: ast.Location{ + Line: int(980), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(16), + }, + End: ast.Location{ + Line: int(980), + 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: nil, + }, + 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(980), + Column: int(28), + }, + End: ast.Location{ + Line: int(980), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10197, + 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(980), + Column: int(38), + }, + End: ast.Location{ + Line: int(980), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(38), + }, + End: ast.Location{ + Line: int(980), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(38), + }, + End: ast.Location{ + Line: int(980), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(38), + }, + End: ast.Location{ + Line: int(980), + 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: nil, + }, + 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(980), + Column: int(49), + }, + End: ast.Location{ + Line: int(980), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10210, + 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(980), + Column: int(58), + }, + End: ast.Location{ + Line: int(980), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.DesugaredObject{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(980), + Column: int(65), + }, + End: ast.Location{ + Line: int(989), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + 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: nil, + }, + Value: "new_indent", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(27), + }, + End: ast.Location{ + Line: int(987), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10218, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(27), + }, + End: ast.Location{ + Line: int(987), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10218, + 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(987), + Column: int(37), + }, + End: ast.Location{ + Line: int(987), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10218, + FreeVars: nil, + }, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(987), + Column: int(15), + }, + End: ast.Location{ + Line: int(987), + 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: nil, + }, + Value: "space", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(22), + }, + End: ast.Location{ + Line: int(988), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10218, + FreeVars: nil, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(22), + }, + End: ast.Location{ + Line: int(988), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10218, + FreeVars: nil, + }, + 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(988), + Column: int(29), + }, + End: ast.Location{ + Line: int(988), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10218, + FreeVars: nil, + }, + Target: &ast.Self{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(988), + Column: int(29), + }, + End: ast.Location{ + Line: int(988), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: 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: nil, + }, + 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(988), + Column: int(15), + }, + End: ast.Location{ + Line: int(988), + Column: int(44), + }, + File: p1, + }, + }, + }, + Locals: ast.LocalBinds{}, + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(20), + }, + End: ast.Location{ + Line: int(999), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "cindent", + "std", + "value", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(23), + }, + End: ast.Location{ + Line: int(989), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(23), + }, + End: ast.Location{ + Line: int(989), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(23), + }, + End: ast.Location{ + Line: int(989), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(23), + }, + End: ast.Location{ + Line: int(989), + 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: nil, + }, + 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(989), + Column: int(36), + }, + End: ast.Location{ + Line: int(989), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10242, + 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(989), + Column: int(46), + }, + End: ast.Location{ + Line: int(989), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(46), + }, + End: ast.Location{ + Line: int(989), + Column: int(63), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(46), + }, + End: ast.Location{ + Line: int(989), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(46), + }, + End: ast.Location{ + Line: int(989), + 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: nil, + }, + 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(989), + Column: int(57), + }, + End: ast.Location{ + Line: int(989), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10255, + 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(989), + Column: int(66), + }, + End: ast.Location{ + Line: int(989), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.DesugaredObject{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(989), + Column: int(73), + }, + End: ast.Location{ + Line: int(995), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + 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: nil, + }, + Value: "new_indent", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(990), + Column: int(27), + }, + End: ast.Location{ + Line: int(990), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10263, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(990), + Column: int(27), + }, + End: ast.Location{ + Line: int(990), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10263, + 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(990), + Column: int(37), + }, + End: ast.Location{ + Line: int(990), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10263, + FreeVars: nil, + }, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(990), + Column: int(15), + }, + End: ast.Location{ + Line: int(990), + 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: nil, + }, + Value: "space", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(994), + Column: int(22), + }, + End: ast.Location{ + Line: int(994), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10263, + FreeVars: nil, + }, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(994), + Column: int(15), + }, + End: ast.Location{ + Line: int(994), + 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(995), + Column: int(20), + }, + End: ast.Location{ + Line: int(999), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10184, + 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: nil, + }, + Value: "new_indent", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(997), + Column: int(27), + }, + End: ast.Location{ + Line: int(997), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10275, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Id: "cindent", + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(997), + Column: int(15), + }, + End: ast.Location{ + Line: int(997), + 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: nil, + }, + Value: "space", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(22), + }, + End: ast.Location{ + Line: int(998), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10275, + FreeVars: nil, + }, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(998), + Column: int(15), + }, + End: ast.Location{ + Line: int(998), + Column: int(25), + }, + File: p1, + }, + }, + }, + Locals: ast.LocalBinds{}, + }, + }, + }, }, - 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(902), - Column: int(24), + Line: int(1000), + Column: int(11), }, End: ast.Location{ - Line: int(902), - Column: int(25), + Line: int(1006), + Column: int(42), }, File: p1, }, - Ctx: p8432, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "params", + "path", + "std", "v", }, }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(902), - Column: int(30), - }, - End: ast.Location{ - Line: int(902), - Column: int(38), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(9), - }, - End: ast.Location{ - Line: int(903), - Column: int(32), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(9), - }, - End: ast.Location{ - Line: int(903), - Column: int(29), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(9), - }, - End: ast.Location{ - Line: int(903), - Column: int(12), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(30), - }, - End: ast.Location{ - Line: int(903), - Column: int(31), - }, - File: p1, - }, - Ctx: p8444, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(12), - }, - End: ast.Location{ - Line: int(926), - Column: int(28), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(15), - }, - End: ast.Location{ - Line: int(904), - Column: int(40), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(15), - }, - End: ast.Location{ - Line: int(904), - Column: int(26), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(15), - }, - End: ast.Location{ - Line: int(904), - Column: int(23), + 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(1000), + Column: int(25), + }, + End: ast.Location{ + Line: int(1000), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10284, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(25), + }, + End: ast.Location{ + Line: int(1000), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10284, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(25), + }, + End: ast.Location{ + Line: int(1000), + 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: nil, + }, + 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(1000), + Column: int(35), + }, + End: ast.Location{ + Line: int(1000), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10293, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(38), + }, + End: ast.Location{ + Line: int(1000), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10293, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(38), + }, + End: ast.Location{ + Line: int(1000), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10293, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(38), + }, + End: ast.Location{ + Line: int(1000), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10293, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(38), + }, + End: ast.Location{ + Line: int(1000), + 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: nil, + }, + 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(1000), + Column: int(49), + }, + End: ast.Location{ + Line: int(1000), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10305, + 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(4), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1000), + Column: int(54), + }, + End: ast.Location{ + Line: int(1000), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10293, + FreeVars: nil, + }, + 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(1000), + Column: int(17), + }, + End: ast.Location{ + Line: int(1000), + Column: int(56), + }, + File: p1, + }, }, - File: p1, }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(15), + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1001), + Column: int(11), + }, + End: ast.Location{ + Line: int(1006), + Column: int(42), + }, + File: p1, }, - End: ast.Location{ - Line: int(904), - Column: int(18), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "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(1001), + Column: int(25), + }, + End: ast.Location{ + Line: int(1005), + Column: int(12), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "params", + "path", + "range", + "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: nil, + }, + 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", + "params", + "path", + "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.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1001), + Column: int(25), + }, + End: ast.Location{ + Line: int(1005), + Column: int(12), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "i", + "params", + "path", + "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: nil, + }, + 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(1002), + Column: int(13), + }, + End: ast.Location{ + Line: int(1002), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10338, + FreeVars: ast.Identifiers{ + "aux", + "i", + "param", + "path", + "v", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(13), + }, + End: ast.Location{ + Line: int(1002), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10338, + FreeVars: ast.Identifiers{ + "param", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(13), + }, + End: ast.Location{ + Line: int(1002), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p10338, + FreeVars: nil, + }, + 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(1002), + Column: int(19), + }, + End: ast.Location{ + Line: int(1002), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10338, + FreeVars: ast.Identifiers{ + "param", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(19), + }, + End: ast.Location{ + Line: int(1002), + 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: nil, + }, + 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(1002), + Column: int(33), + }, + End: ast.Location{ + Line: int(1002), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10338, + FreeVars: ast.Identifiers{ + "aux", + "i", + "param", + "path", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(33), + }, + End: ast.Location{ + Line: int(1002), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10338, + 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(1002), + Column: int(37), + }, + End: ast.Location{ + Line: int(1002), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10355, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(37), + }, + End: ast.Location{ + Line: int(1002), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10355, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(39), + }, + End: ast.Location{ + Line: int(1002), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10355, + 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(1002), + Column: int(43), + }, + End: ast.Location{ + Line: int(1002), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10355, + FreeVars: ast.Identifiers{ + "i", + "path", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(43), + }, + End: ast.Location{ + Line: int(1002), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10355, + 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(1002), + Column: int(50), + }, + End: ast.Location{ + Line: int(1002), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10355, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(51), + }, + End: ast.Location{ + Line: int(1002), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10369, + 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(1002), + Column: int(55), + }, + End: ast.Location{ + Line: int(1002), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10355, + FreeVars: ast.Identifiers{ + "param", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1002), + Column: int(55), + }, + End: ast.Location{ + Line: int(1002), + 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: nil, + }, + 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(1004), + Column: int(26), + }, + End: ast.Location{ + Line: int(1004), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10377, + 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(1004), + Column: int(27), + }, + End: ast.Location{ + Line: int(1004), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10381, + FreeVars: ast.Identifiers{ + "i", + "params", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(27), + }, + End: ast.Location{ + Line: int(1004), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10381, + 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(1004), + Column: int(34), + }, + End: ast.Location{ + Line: int(1004), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10387, + FreeVars: ast.Identifiers{ + "i", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(34), + }, + End: ast.Location{ + Line: int(1004), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10387, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1004), + Column: int(36), + }, + End: ast.Location{ + Line: int(1004), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10387, + 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, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1003), + Column: int(22), + }, + End: ast.Location{ + Line: int(1003), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10377, + FreeVars: ast.Identifiers{ + "range", + }, + }, + Id: "range", + }, + 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(1001), + Column: int(17), + }, + End: ast.Location{ + Line: int(1005), + Column: int(12), + }, + File: p1, + }, }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1006), + Column: int(11), + }, + End: ast.Location{ + Line: int(1006), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "cindent", + "parts", + "std", + }, }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(24), + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1006), + Column: int(11), + }, + End: ast.Location{ + Line: int(1006), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + }, }, - End: ast.Location{ - Line: int(904), - Column: int(25), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1006), + Column: int(11), + }, + End: ast.Location{ + Line: int(1006), + 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", }, - File: p1, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "join", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: p8459, - FreeVars: ast.Identifiers{ - "v", + 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(1006), + Column: int(20), + }, + End: ast.Location{ + Line: int(1006), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10405, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1006), + Column: int(20), + }, + End: ast.Location{ + Line: int(1006), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10405, + FreeVars: nil, + }, + 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(1006), + Column: int(27), + }, + End: ast.Location{ + Line: int(1006), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10405, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Id: "cindent", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1006), + Column: int(36), + }, + End: ast.Location{ + Line: int(1006), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10405, + FreeVars: ast.Identifiers{ + "parts", + }, + }, + Id: "parts", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(30), - }, - End: ast.Location{ - Line: int(904), - Column: int(40), }, - File: p1, }, - Ctx: p8374, - FreeVars: nil, }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(9), - }, - End: ast.Location{ - Line: int(905), - Column: int(54), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "path", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Expr: &ast.Binary{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(905), - Column: int(15), + Line: int(1007), + Column: int(12), }, End: ast.Location{ - Line: int(905), - Column: int(54), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", "path", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(15), - }, - End: ast.Location{ - Line: int(905), - Column: int(47), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "Tried to manifest function at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(50), - }, - End: ast.Location{ - Line: int(905), - Column: int(54), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(12), - }, - End: ast.Location{ - Line: int(926), - Column: int(28), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(15), - }, - End: ast.Location{ - Line: int(906), - Column: int(37), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ "std", "v", }, }, - Left: &ast.Apply{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(906), + Line: int(1007), Column: int(15), }, End: ast.Location{ - Line: int(906), - Column: int(26), + Line: int(1007), + Column: int(30), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", "v", @@ -96719,18 +133822,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(906), + Line: int(1007), Column: int(15), }, End: ast.Location{ - Line: int(906), - Column: int(23), + Line: int(1007), + Column: int(27), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", }, @@ -96738,17 +133842,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(906), + Line: int(1007), Column: int(15), }, End: ast.Location{ - Line: int(906), + Line: int(1007), Column: int(18), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -96756,6 +133861,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -96770,109 +133876,124 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "isObject", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(24), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1007), + Column: int(28), + }, + End: ast.Location{ + Line: int(1007), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(906), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p10424, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p8482, - FreeVars: ast.Identifiers{ - "v", }, + Id: "v", }, - Id: "v", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(906), - Column: int(30), + Line: int(1008), + Column: int(9), }, End: ast.Location{ - Line: int(906), - Column: int(37), + Line: int(1034), + Column: int(42), }, File: p1, }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(9), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, - End: ast.Location{ - Line: int(916), - Column: int(28), + Ctx: p9934, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", + "path", + "std", + "v", }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "range", - Body: &ast.Apply{ + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1008), + Column: int(12), + }, + End: ast.Location{ + Line: int(1008), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(23), + Line: int(1008), + Column: int(12), }, End: ast.Location{ - Line: int(907), - Column: int(54), + Line: int(1008), + Column: int(25), }, File: p1, }, - Ctx: p8489, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", "v", @@ -96881,18 +134002,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(23), + Line: int(1008), + Column: int(12), }, End: ast.Location{ - Line: int(907), - Column: int(32), + Line: int(1008), + Column: int(22), }, File: p1, }, - Ctx: p8489, + Fodder: ast.Fodder{}, + Ctx: p9934, FreeVars: ast.Identifiers{ "std", }, @@ -96900,17 +134022,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(23), + Line: int(1008), + Column: int(12), }, End: ast.Location{ - Line: int(907), - Column: int(26), + Line: int(1008), + Column: int(15), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -96918,6 +134041,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -96932,547 +134056,1824 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "range", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1008), + Column: int(23), + }, + End: ast.Location{ + Line: int(1008), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10440, + 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.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1008), + Column: int(29), + }, + End: ast.Location{ + Line: int(1008), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1009), + Column: int(11), + }, + End: ast.Location{ + Line: int(1009), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: nil, + }, + 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(1011), + Column: int(11), + }, + End: ast.Location{ + Line: int(1034), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "indent_array_in_object", + "path", + "std", + "v", + }, + }, + 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(1011), + Column: int(17), + }, + End: ast.Location{ + Line: int(1028), + Column: int(14), + }, + File: p1, + }, + Fodder: nil, + Ctx: p10451, + 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(1011), + Column: int(24), + }, + End: ast.Location{ + Line: int(1011), + Column: int(29), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(33), + Line: int(1012), + Column: int(13), + }, + End: ast.Location{ + Line: int(1028), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p10456, + 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(1012), + Column: int(16), + }, + End: ast.Location{ + Line: int(1012), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(16), + }, + End: ast.Location{ + Line: int(1012), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(16), + }, + End: ast.Location{ + Line: int(1012), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(16), + }, + End: ast.Location{ + Line: int(1012), + 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: nil, + }, + 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(1012), + Column: int(28), + }, + End: ast.Location{ + Line: int(1012), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10469, + 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(1012), + Column: int(38), + }, + End: ast.Location{ + Line: int(1012), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(38), + }, + End: ast.Location{ + Line: int(1012), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(38), + }, + End: ast.Location{ + Line: int(1012), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(38), + }, + End: ast.Location{ + Line: int(1012), + 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: nil, + }, + 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(1012), + Column: int(49), + }, + End: ast.Location{ + Line: int(1012), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10482, + FreeVars: ast.Identifiers{ + "value", + }, + }, + Id: "value", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - End: ast.Location{ - Line: int(907), - Column: int(34), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(58), + }, + End: ast.Location{ + Line: int(1012), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: nil, + }, + OriginalString: "0", }, - File: p1, }, - Ctx: p8498, - FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(36), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.DesugaredObject{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1012), + Column: int(65), + }, + End: ast.Location{ + Line: int(1021), + Column: int(14), + }, + File: p1, }, - End: ast.Location{ - Line: int(907), - Column: int(53), + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "cindent", + "indent_array_in_object", }, - File: p1, }, - Ctx: p8498, - FreeVars: ast.Identifiers{ - "std", - "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: nil, + }, + Value: "new_indent", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(27), + }, + End: ast.Location{ + Line: int(1019), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: ast.Identifiers{ + "cindent", + "indent_array_in_object", + }, + }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(30), + }, + End: ast.Location{ + Line: int(1019), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + }, + }, + Id: "indent_array_in_object", + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(58), + }, + End: ast.Location{ + Line: int(1019), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(58), + }, + End: ast.Location{ + Line: int(1019), + Column: int(65), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + 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(1019), + Column: int(68), + }, + End: ast.Location{ + Line: int(1019), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: nil, + }, + 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(1019), + Column: int(78), + }, + End: ast.Location{ + Line: int(1019), + Column: int(85), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Id: "cindent", + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1019), + Column: int(15), + }, + End: ast.Location{ + Line: int(1019), + Column: int(85), + }, + 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: nil, + }, + Value: "space", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(22), + }, + End: ast.Location{ + Line: int(1020), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: nil, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(22), + }, + End: ast.Location{ + Line: int(1020), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: nil, + }, + 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(1020), + Column: int(29), + }, + End: ast.Location{ + Line: int(1020), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10490, + FreeVars: nil, + }, + Target: &ast.Self{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1020), + Column: int(29), + }, + End: ast.Location{ + Line: int(1020), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: 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: nil, + }, + 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(1020), + Column: int(15), + }, + End: ast.Location{ + Line: int(1020), + Column: int(44), + }, + File: p1, + }, + }, }, + Locals: ast.LocalBinds{}, }, - Left: &ast.Apply{ + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(36), + Line: int(1021), + Column: int(20), }, End: ast.Location{ - Line: int(907), - Column: int(49), + Line: int(1028), + Column: int(14), }, File: p1, }, - Ctx: p8498, + Fodder: ast.Fodder{}, + Ctx: p10456, FreeVars: ast.Identifiers{ + "cindent", "std", - "v", + "value", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(36), + Line: int(1021), + Column: int(23), }, End: ast.Location{ - Line: int(907), - Column: int(46), + Line: int(1021), + Column: int(67), }, File: p1, }, - Ctx: p8498, + Fodder: ast.Fodder{}, + Ctx: p10456, FreeVars: ast.Identifiers{ "std", + "value", }, }, - Target: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(36), + Line: int(1021), + Column: int(23), }, End: ast.Location{ - Line: int(907), - Column: int(39), + Line: int(1021), + Column: int(42), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p10456, FreeVars: ast.Identifiers{ "std", + "value", }, }, - Id: "std", + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1021), + Column: int(23), + }, + End: ast.Location{ + Line: int(1021), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1021), + Column: int(23), + }, + End: ast.Location{ + Line: int(1021), + 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: nil, + }, + 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(1021), + Column: int(36), + }, + End: ast.Location{ + Line: int(1021), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10520, + FreeVars: ast.Identifiers{ + "value", + }, + }, + Id: "value", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1021), + Column: int(46), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1021), + Column: int(67), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + "value", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(907), - Column: int(47), + Line: int(1021), + Column: int(46), }, End: ast.Location{ - Line: int(907), - Column: int(48), + Line: int(1021), + Column: int(63), }, File: p1, }, - Ctx: p8510, + Fodder: ast.Fodder{}, + Ctx: p10456, FreeVars: ast.Identifiers{ - "v", + "std", + "value", }, }, - Id: "v", + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1021), + Column: int(46), + }, + End: ast.Location{ + Line: int(1021), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1021), + Column: int(46), + }, + End: ast.Location{ + Line: int(1021), + 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: nil, + }, + 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(1021), + Column: int(57), + }, + End: ast.Location{ + Line: int(1021), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10533, + 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(1021), + Column: int(66), + }, + End: ast.Location{ + Line: int(1021), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: nil, + }, + OriginalString: "0", }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(52), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.DesugaredObject{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1021), + Column: int(73), + }, + End: ast.Location{ + Line: int(1024), + Column: int(14), + }, + File: p1, }, - End: ast.Location{ - Line: int(907), - Column: int(53), + Fodder: ast.Fodder{}, + Ctx: p10456, + FreeVars: ast.Identifiers{ + "cindent", }, - File: p1, }, - Ctx: p8498, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(9), - }, - End: ast.Location{ - Line: int(916), - Column: int(28), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "range", - "std", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "new_indent", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(28), - }, - End: ast.Location{ - Line: int(908), - Column: int(44), - }, - File: p1, - }, - Ctx: p8517, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(28), + 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: nil, + }, + Value: "new_indent", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1022), + Column: int(27), + }, + End: ast.Location{ + Line: int(1022), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10541, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1022), + Column: int(27), + }, + End: ast.Location{ + Line: int(1022), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10541, + 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(1022), + Column: int(37), + }, + End: ast.Location{ + Line: int(1022), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10541, + FreeVars: nil, + }, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1022), + Column: int(15), + }, + End: ast.Location{ + Line: int(1022), + 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: nil, + }, + Value: "space", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1023), + Column: int(22), + }, + End: ast.Location{ + Line: int(1023), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10541, + FreeVars: nil, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1023), + Column: int(22), + }, + End: ast.Location{ + Line: int(1023), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10541, + FreeVars: nil, + }, + 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(1023), + Column: int(29), + }, + End: ast.Location{ + Line: int(1023), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10541, + FreeVars: nil, + }, + Target: &ast.Self{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1023), + Column: int(29), + }, + End: ast.Location{ + Line: int(1023), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: 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: nil, + }, + 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(1023), + Column: int(15), + }, + End: ast.Location{ + Line: int(1023), + Column: int(44), + }, + File: p1, + }, + }, + }, + Locals: ast.LocalBinds{}, }, - End: ast.Location{ - Line: int(908), - Column: int(35), + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.DesugaredObject{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1024), + Column: int(20), + }, + End: ast.Location{ + Line: int(1028), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10456, + 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: nil, + }, + Value: "new_indent", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1026), + Column: int(27), + }, + End: ast.Location{ + Line: int(1026), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10557, + FreeVars: ast.Identifiers{ + "cindent", + }, + }, + Id: "cindent", + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1026), + Column: int(15), + }, + End: ast.Location{ + Line: int(1026), + 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: nil, + }, + Value: "space", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + Body: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1027), + Column: int(22), + }, + End: ast.Location{ + Line: int(1027), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10557, + FreeVars: nil, + }, + Value: " ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1027), + Column: int(15), + }, + End: ast.Location{ + Line: int(1027), + Column: int(25), + }, + File: p1, + }, + }, + }, + Locals: ast.LocalBinds{}, }, - File: p1, - }, - Ctx: p8517, - FreeVars: ast.Identifiers{ - "cindent", }, }, - Id: "cindent", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(38), - }, - End: ast.Location{ - Line: int(908), - Column: int(44), - }, - File: p1, - }, - Ctx: p8517, - FreeVars: ast.Identifiers{ - "indent", - }, + Fun: nil, + CloseFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "indent", + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, }, - Fun: nil, }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(9), + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(11), + }, + End: ast.Location{ + Line: int(1034), + Column: int(42), + }, + File: p1, }, - End: ast.Location{ - Line: int(916), - Column: int(28), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "aux", + "cindent", + "params", + "path", + "std", + "v", }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "new_indent", - "path", - "range", - "std", - "v", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "lines", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(23), - }, - End: ast.Location{ - Line: int(915), - Column: int(47), - }, - File: p1, - }, - Ctx: p8527, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "new_indent", - "path", - "range", - "std", - "v", - }, - }, - Left: &ast.Binary{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "lines", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(909), - Column: int(23), + Line: int(1029), + Column: int(25), }, End: ast.Location{ - Line: int(914), - Column: int(36), + Line: int(1033), + Column: int(12), }, File: p1, }, - Ctx: p8527, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "aux", - "new_indent", + "params", "path", - "range", "std", "v", }, }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(23), - }, - End: ast.Location{ - Line: int(909), - Column: int(30), - }, - File: p1, - }, - Ctx: p8527, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(24), - }, - End: ast.Location{ - Line: int(909), - Column: int(29), - }, - File: p1, - }, - Ctx: p8534, - FreeVars: nil, - }, - Value: "[\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - TrailingComma: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(910), - Column: int(25), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(914), - Column: int(36), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8527, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "new_indent", - "path", - "range", "std", - "v", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(910), - Column: int(25), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(910), - Column: int(33), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8527, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(25), - }, - End: ast.Location{ - Line: int(910), - Column: int(28), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "flatMap", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(34), - }, - End: ast.Location{ - Line: int(910), - Column: int(41), - }, - File: p1, - }, - Ctx: p8544, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(35), - }, - End: ast.Location{ - Line: int(910), - Column: int(40), - }, - File: p1, - }, - Ctx: p8547, - FreeVars: nil, - }, - Value: ",\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - TrailingComma: false, - }, - &ast.Apply{ + RightBracketFodder: nil, + Id: nil, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -97486,18 +135887,24 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "aux", - "new_indent", + "params", "path", - "range", "std", "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: nil, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ @@ -97510,12 +135917,36 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + }, + }, + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(25), + }, + End: ast.Location{ + Line: int(1033), + Column: int(12), + }, + File: p1, + }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ + "aux", + "k", + "params", + "path", "std", + "v", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -97529,39 +135960,13 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -97575,1102 +135980,3454 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "new_indent", - "path", - "v", + "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + 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, }, - Optional: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - TrailingComma: false, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "k", + "path", + "std", + "v", }, - File: nil, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "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, + }, + }, }, - }, - Elements: ast.Nodes{ - &ast.Array{ + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(36), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(912), - Column: int(84), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8563, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "aux", - "i", - "new_indent", + "k", + "param", "path", + "std", "v", }, }, - Elements: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(37), - }, - End: ast.Location{ - Line: int(912), - Column: int(83), - }, - File: p1, - }, - Ctx: p8567, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(37), - }, - End: ast.Location{ - Line: int(912), - Column: int(47), - }, - File: p1, - }, - Ctx: p8567, - FreeVars: ast.Identifiers{ - "new_indent", - }, - }, - Id: "new_indent", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(50), + Line: int(1030), + Column: int(13), }, End: ast.Location{ - Line: int(912), - Column: int(83), + Line: int(1030), + Column: int(98), }, File: p1, }, - Ctx: p8567, + Fodder: ast.Fodder{}, + Ctx: p10591, FreeVars: ast.Identifiers{ "aux", - "i", - "new_indent", + "k", + "param", "path", + "std", "v", }, }, - Target: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(50), + Line: int(1030), + Column: int(13), }, End: ast.Location{ - Line: int(912), - Column: int(53), + Line: int(1030), + Column: int(56), }, File: p1, }, - Ctx: p8567, + Fodder: ast.Fodder{}, + Ctx: p10591, FreeVars: ast.Identifiers{ - "aux", + "k", + "param", + "std", }, }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(13), + }, + End: ast.Location{ + Line: int(1030), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10591, + FreeVars: ast.Identifiers{ + "k", + "std", + }, + }, + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(54), + Line: int(1030), + Column: int(13), }, End: ast.Location{ - Line: int(912), - Column: int(58), + Line: int(1030), + Column: int(36), }, File: p1, }, - Ctx: p8577, + Fodder: ast.Fodder{}, + Ctx: p10591, FreeVars: ast.Identifiers{ - "i", - "v", + "k", + "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(54), + Line: int(1030), + Column: int(13), }, End: ast.Location{ - Line: int(912), - Column: int(55), + Line: int(1030), + Column: int(33), }, File: p1, }, - Ctx: p8577, + Fodder: ast.Fodder{}, + Ctx: p10591, FreeVars: ast.Identifiers{ - "v", + "std", }, }, - Id: "v", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(56), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(13), + }, + End: ast.Location{ + Line: int(1030), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(912), - Column: int(57), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p8577, - FreeVars: ast.Identifiers{ - "i", + 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: nil, }, + Value: "escapeStringJson", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "i", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - 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(1030), + Column: int(34), + }, + End: ast.Location{ + Line: int(1030), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10607, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Id: "k", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(60), + Line: int(1030), + Column: int(39), }, End: ast.Location{ - Line: int(912), - Column: int(70), + Line: int(1030), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10591, + FreeVars: nil, + }, + 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(1030), + Column: int(45), + }, + End: ast.Location{ + Line: int(1030), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10591, + FreeVars: ast.Identifiers{ + "param", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(45), + }, + End: ast.Location{ + Line: int(1030), + Column: int(50), }, File: p1, }, - Ctx: p8577, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", - "path", + "param", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(60), + 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: nil, + }, + 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(1030), + Column: int(59), + }, + End: ast.Location{ + Line: int(1030), + Column: int(98), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10591, + FreeVars: ast.Identifiers{ + "aux", + "k", + "param", + "path", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(59), + }, + End: ast.Location{ + Line: int(1030), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10591, + 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(1030), + Column: int(63), + }, + End: ast.Location{ + Line: int(1030), + Column: int(67), + }, + File: p1, }, - End: ast.Location{ - Line: int(912), - Column: int(64), + Fodder: ast.Fodder{}, + Ctx: p10621, + FreeVars: ast.Identifiers{ + "k", + "v", }, - File: p1, }, - Ctx: p8577, - FreeVars: ast.Identifiers{ - "path", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(63), + }, + End: ast.Location{ + Line: int(1030), + Column: int(64), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10621, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(65), + }, + End: ast.Location{ + Line: int(1030), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10621, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Id: "k", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: "path", + CommaFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(67), + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(69), + }, + End: ast.Location{ + Line: int(1030), + Column: int(79), + }, + File: p1, }, - End: ast.Location{ - Line: int(912), - Column: int(70), + Fodder: ast.Fodder{}, + Ctx: p10621, + FreeVars: ast.Identifiers{ + "k", + "path", }, - File: p1, }, - Ctx: p8577, - FreeVars: ast.Identifiers{ - "i", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(69), + }, + End: ast.Location{ + Line: int(1030), + Column: int(73), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10621, + 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(1030), + Column: int(76), + }, + End: ast.Location{ + Line: int(1030), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10621, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(77), + }, + End: ast.Location{ + Line: int(1030), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10635, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Id: "k", + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, }, - Elements: ast.Nodes{ - &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1030), + Column: int(81), + }, + End: ast.Location{ + Line: int(1030), + Column: int(97), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10621, + FreeVars: ast.Identifiers{ + "param", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(68), + Line: int(1030), + Column: int(81), }, End: ast.Location{ - Line: int(912), - Column: int(69), + Line: int(1030), + Column: int(86), }, File: p1, }, - Ctx: p8591, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", + "param", }, }, - Id: "i", + 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: nil, + }, + Value: "new_indent", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - TrailingComma: false, + CommaFodder: nil, }, }, - &ast.Var{ + 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(1032), + Column: int(26), + }, + End: ast.Location{ + Line: int(1032), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10643, + 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(1032), + Column: int(27), + }, + End: ast.Location{ + Line: int(1032), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10647, + FreeVars: ast.Identifiers{ + "k", + "params", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1032), + Column: int(27), + }, + End: ast.Location{ + Line: int(1032), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10647, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(912), - Column: int(72), + Line: int(1032), + Column: int(34), }, End: ast.Location{ - Line: int(912), - Column: int(82), + Line: int(1032), + Column: int(38), }, File: p1, }, - Ctx: p8577, + Fodder: ast.Fodder{}, + Ctx: p10653, FreeVars: ast.Identifiers{ - "new_indent", + "k", + "v", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1032), + Column: int(34), + }, + End: ast.Location{ + Line: int(1032), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10653, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1032), + Column: int(36), + }, + End: ast.Location{ + Line: int(1032), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10653, + FreeVars: ast.Identifiers{ + "k", + }, }, + Id: "k", }, - Id: "new_indent", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - TrailingComma: false, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - TrailingComma: false, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(22), + }, + End: ast.Location{ + Line: int(1031), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10643, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(22), + }, + End: ast.Location{ + Line: int(1031), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10643, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1031), + Column: int(22), + }, + End: ast.Location{ + Line: int(1031), + 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: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(913), - Column: int(45), + 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(1031), + Column: int(39), + }, + End: ast.Location{ + Line: int(1031), + Column: int(40), + }, + File: p1, }, - End: ast.Location{ - Line: int(913), - Column: int(50), + Fodder: ast.Fodder{}, + Ctx: p10668, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p8544, - FreeVars: ast.Identifiers{ - "range", }, + Id: "v", }, - Id: "range", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1029), + Column: int(17), + }, + End: ast.Location{ + Line: int(1033), + Column: int(12), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(11), + }, + End: ast.Location{ + Line: int(1034), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "cindent", + "lines", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(11), + }, + End: ast.Location{ + Line: int(1034), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9934, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(915), - Column: int(25), + Line: int(1034), + Column: int(11), }, End: ast.Location{ - Line: int(915), - Column: int(47), + Line: int(1034), + Column: int(14), }, File: p1, }, - Ctx: p8527, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "cindent", + "std", }, }, - Elements: ast.Nodes{ - &ast.Binary{ + 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: nil, + }, + 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.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(915), - Column: int(26), + Line: int(1034), + Column: int(20), }, End: ast.Location{ - Line: int(915), - Column: int(46), + Line: int(1034), + Column: int(34), }, File: p1, }, - Ctx: p8601, + Fodder: ast.Fodder{}, + Ctx: p10680, FreeVars: ast.Identifiers{ "cindent", }, }, - Left: &ast.Binary{ + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(915), - Column: int(26), + Line: int(1034), + Column: int(20), }, End: ast.Location{ - Line: int(915), - Column: int(40), + Line: int(1034), + Column: int(24), }, File: p1, }, - Ctx: p8601, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &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, - }, - Ctx: p8601, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(33), - }, - End: ast.Location{ - Line: int(915), - Column: int(40), - }, - File: p1, - }, - Ctx: p8601, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", + Fodder: ast.Fodder{}, + Ctx: p10680, + FreeVars: nil, }, + Value: "\n", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(915), - Column: int(43), + Line: int(1034), + Column: int(27), }, End: ast.Location{ - Line: int(915), - Column: int(46), + Line: int(1034), + Column: int(34), }, File: p1, }, - Ctx: p8601, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p10680, + FreeVars: ast.Identifiers{ + "cindent", + }, }, - Value: "]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "cindent", }, }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1034), + Column: int(36), + }, + End: ast.Location{ + Line: int(1034), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10680, + FreeVars: ast.Identifiers{ + "lines", + }, + }, + Id: "lines", + }, + CommaFodder: nil, }, - TrailingComma: false, }, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + }, + 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, + }, + Fodder: nil, + Ctx: nil, + FreeVars: 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(1035), + Column: int(5), + }, + End: ast.Location{ + Line: int(1035), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p9923, + FreeVars: ast.Identifiers{ + "aux", + "value", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1035), + Column: int(5), + }, + End: ast.Location{ + Line: int(1035), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p9923, + 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(1035), + Column: int(9), + }, + End: ast.Location{ + Line: int(1035), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10695, + FreeVars: ast.Identifiers{ + "value", + }, + }, + Id: "value", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1035), + Column: int(16), + }, + End: ast.Location{ + Line: int(1035), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10695, + FreeVars: nil, + }, + 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(1035), + Column: int(20), + }, + End: ast.Location{ + Line: int(1035), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10695, + FreeVars: nil, + }, + 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(954), + Column: int(3), + }, + End: ast.Location{ + Line: int(1035), + 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: nil, + }, + 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: p11, + 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(1037), + Column: int(22), + }, + End: ast.Location{ + Line: int(1037), + Column: int(27), + }, + 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(1037), + Column: int(52), + }, + End: ast.Location{ + Line: int(1037), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: nil, + }, + Value: false, + }, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(29), + }, + End: ast.Location{ + Line: int(1037), + Column: int(57), + }, + 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(1037), + Column: int(74), + }, + End: ast.Location{ + Line: int(1037), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: nil, + }, + Value: true, + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(59), + }, + End: ast.Location{ + Line: int(1037), + Column: int(78), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1038), + Column: int(5), + }, + End: ast.Location{ + Line: int(1043), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "c_document_end", + "indent_array_in_object", + "std", + "value", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1038), + Column: int(8), + }, + End: ast.Location{ + Line: int(1038), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1038), + Column: int(9), + }, + End: ast.Location{ + Line: int(1038), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1038), + Column: int(9), + }, + End: ast.Location{ + Line: int(1038), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1038), + Column: int(9), + }, + End: ast.Location{ + Line: int(1038), + 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: nil, + }, + 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(1038), + Column: int(21), + }, + End: ast.Location{ + Line: int(1038), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10720, + FreeVars: ast.Identifiers{ + "value", + }, + }, + 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(1039), + Column: int(7), + }, + End: ast.Location{ + Line: int(1039), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(13), + }, + End: ast.Location{ + Line: int(1039), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(13), + }, + End: ast.Location{ + Line: int(1039), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: nil, + }, + Value: "manifestYamlStream only takes arrays, 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(1039), + Column: int(60), + }, + End: ast.Location{ + Line: int(1039), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(60), + }, + End: ast.Location{ + Line: int(1039), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1039), + Column: int(60), + }, + End: ast.Location{ + Line: int(1039), + 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: nil, + }, + 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(1039), + Column: int(69), + }, + End: ast.Location{ + Line: int(1039), + Column: int(74), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10737, + FreeVars: ast.Identifiers{ + "value", + }, + }, + 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(1041), + Column: int(7), + }, + End: ast.Location{ + Line: int(1043), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "c_document_end", + "indent_array_in_object", + "std", + "value", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1041), + Column: int(7), + }, + End: ast.Location{ + Line: int(1043), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + "std", + "value", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1041), + Column: int(7), + }, + End: ast.Location{ + Line: int(1041), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10704, + FreeVars: nil, + }, + 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(1041), + Column: int(17), + }, + End: ast.Location{ + Line: int(1043), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1041), + Column: int(17), + }, + End: ast.Location{ + Line: int(1041), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1041), + Column: int(17), + }, + End: ast.Location{ + Line: int(1041), + 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: nil, + }, + 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(1042), + Column: int(9), + }, + End: ast.Location{ + Line: int(1042), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p10756, + FreeVars: nil, + }, + 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(1042), + Column: int(20), + }, + End: ast.Location{ + Line: int(1042), + Column: int(83), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + "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, + }, + 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: nil, + }, + 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", + "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, }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(9), - }, - End: ast.Location{ - Line: int(916), - Column: int(28), - }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, + }, + }, + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Target: &ast.Index{ + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "e", + "indent_array_in_object", + "std", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(916), - Column: int(9), + Line: int(1042), + Column: int(21), }, End: ast.Location{ - Line: int(916), - Column: int(17), + Line: int(1042), + Column: int(67), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p10772, FreeVars: ast.Identifiers{ + "e", + "indent_array_in_object", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(916), - Column: int(9), + Line: int(1042), + Column: int(21), }, End: ast.Location{ - Line: int(916), - Column: int(12), + Line: int(1042), + Column: int(40), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p10772, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(21), + }, + End: ast.Location{ + Line: int(1042), + Column: int(24), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(916), - Column: int(18), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(916), - Column: int(20), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8618, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "", + Value: "manifestYamlDoc", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(22), - }, - End: ast.Location{ - Line: int(916), - Column: int(27), + 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(1042), + Column: int(41), + }, + End: ast.Location{ + Line: int(1042), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10781, + FreeVars: ast.Identifiers{ + "e", + }, }, - File: p1, + Id: "e", }, - Ctx: p8618, - FreeVars: ast.Identifiers{ - "lines", + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1042), + Column: int(44), + }, + End: ast.Location{ + Line: int(1042), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10781, + FreeVars: ast.Identifiers{ + "indent_array_in_object", + }, + }, + Id: "indent_array_in_object", }, + CommaFodder: nil, }, - Id: "lines", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, + TrailingComma: false, + CloseFodder: nil, }, }, - BranchFalse: &ast.Conditional{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(917), - Column: int(12), + Line: int(1042), + Column: int(77), }, End: ast.Location{ - Line: int(926), - Column: int(28), + Line: int(1042), + Column: int(82), }, File: p1, }, - Ctx: p8374, + Fodder: ast.Fodder{}, + Ctx: p10756, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", + "value", }, }, - Cond: &ast.Binary{ + 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{ + 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(1043), + Column: int(11), + }, + End: ast.Location{ + Line: int(1043), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: ast.Identifiers{ + "c_document_end", + }, + }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1043), + Column: int(14), + }, + End: ast.Location{ + Line: int(1043), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + 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(1043), + Column: int(34), + }, + End: ast.Location{ + Line: int(1043), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: nil, + }, + 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(1043), + Column: int(49), + }, + End: ast.Location{ + Line: int(1043), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10704, + FreeVars: nil, + }, + Value: "\n", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1037), + Column: int(3), + }, + End: ast.Location{ + Line: int(1043), + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: p11, + 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(1046), + Column: int(18), + }, + End: ast.Location{ + Line: int(1046), + 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(1047), + Column: int(5), + }, + End: ast.Location{ + Line: int(1066), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1047), + Column: int(8), + }, + End: ast.Location{ + Line: int(1047), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1047), + Column: int(8), + }, + End: ast.Location{ + Line: int(1047), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1047), + Column: int(8), + }, + End: ast.Location{ + Line: int(1047), + 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: nil, + }, + 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(1047), + Column: int(21), + }, + End: ast.Location{ + Line: int(1047), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10811, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(1048), + Column: int(7), + }, + End: ast.Location{ + Line: int(1052), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + 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(1048), + Column: int(22), + }, + End: ast.Location{ + Line: int(1051), + Column: int(8), + }, + 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: nil, + }, + 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", + "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{ + "k", + "std", + "v", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(917), - Column: int(15), + Line: int(1049), + Column: int(9), }, End: ast.Location{ - Line: int(917), - Column: int(38), + Line: int(1049), + Column: int(73), }, File: p1, }, - Ctx: p8374, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "k", "std", "v", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(917), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(917), - Column: int(26), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8374, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "v", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(917), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(917), - Column: int(23), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8374, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(15), - }, - End: ast.Location{ - Line: int(917), - Column: int(18), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "mod", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + RightBracketFodder: nil, + Id: nil, + }, + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(917), - Column: int(24), + Line: int(1049), + Column: int(9), }, End: ast.Location{ - Line: int(917), - Column: int(25), + Line: int(1049), + Column: int(17), }, File: p1, }, - Ctx: p8634, - FreeVars: ast.Identifiers{ - "v", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, + Ctx: p10841, + FreeVars: nil, }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(30), - }, - End: ast.Location{ - Line: int(917), - Column: int(38), + Value: "%s: %s", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - File: p1, - }, - Ctx: p8374, - FreeVars: nil, - }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(9), - }, - End: ast.Location{ - Line: int(926), - Column: int(28), + CommaFodder: nil, }, - File: p1, - }, - Ctx: p8374, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "lines", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(23), - }, - End: ast.Location{ - Line: int(925), - Column: int(47), - }, - File: p1, - }, - Ctx: p8641, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Left: &ast.Binary{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(918), - Column: int(23), + Line: int(1049), + Column: int(20), }, End: ast.Location{ - Line: int(924), - Column: int(36), + Line: int(1049), + Column: int(73), }, File: p1, }, - Ctx: p8641, + Fodder: ast.Fodder{}, + Ctx: p10841, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", + "k", "std", "v", }, }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(23), - }, - End: ast.Location{ - Line: int(918), - Column: int(30), - }, - File: p1, - }, - Ctx: p8641, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(24), - }, - End: ast.Location{ - Line: int(918), - Column: int(29), - }, - File: p1, - }, - Ctx: p8648, - FreeVars: nil, - }, - Value: "{\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - TrailingComma: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(25), - }, - End: ast.Location{ - Line: int(924), - Column: int(36), - }, - File: p1, - }, - Ctx: p8641, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(25), - }, - End: ast.Location{ - Line: int(919), - Column: int(33), - }, - File: p1, - }, - Ctx: p8641, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(919), - Column: int(25), + Line: int(1049), + Column: int(21), }, End: ast.Location{ - Line: int(919), - Column: int(28), + Line: int(1049), + Column: int(46), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p10846, FreeVars: ast.Identifiers{ + "k", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Array{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(919), - Column: int(34), + Line: int(1049), + Column: int(21), }, End: ast.Location{ - Line: int(919), - Column: int(41), + Line: int(1049), + Column: int(43), }, File: p1, }, - Ctx: p8658, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p10846, + FreeVars: ast.Identifiers{ + "std", + }, }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(35), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(21), + }, + End: ast.Location{ + Line: int(1049), + 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: nil, + }, + 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(1049), + Column: int(44), + }, + End: ast.Location{ + Line: int(1049), + Column: int(45), + }, + File: p1, }, - End: ast.Location{ - Line: int(919), - Column: int(40), + Fodder: ast.Fodder{}, + Ctx: p10855, + FreeVars: ast.Identifiers{ + "k", }, - File: p1, }, - Ctx: p8661, - FreeVars: nil, + Id: "k", }, - Value: ",\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, - TrailingComma: false, + 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(1049), + Column: int(48), + }, + End: ast.Location{ + Line: int(1049), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10846, + FreeVars: ast.Identifiers{ + "k", + "std", + "v", + }, }, - &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1049), + Column: int(48), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1049), + Column: int(66), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p10846, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", "std", - "v", }, }, - Target: &ast.Index{ + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1049), + Column: int(48), + }, + End: ast.Location{ + Line: int(1049), + 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: "", @@ -98684,980 +139441,1061 @@ var _StdAst = &ast.DesugaredObject{ }, 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + FreeVars: nil, }, - Id: nil, + Value: "manifestPython", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + 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(0), - Column: int(0), + Line: int(1049), + Column: int(67), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1049), + Column: int(71), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p10866, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "path", - "std", - "v", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ "k", + "v", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Array{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1049), + Column: int(67), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1049), + Column: int(68), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p10866, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "path", - "std", "v", }, }, - Elements: ast.Nodes{ - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(36), - }, - End: ast.Location{ - Line: int(922), - Column: int(79), - }, - File: p1, - }, - Ctx: p8677, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "path", - "std", - "v", - }, - }, - Elements: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(37), - }, - End: ast.Location{ - Line: int(922), - Column: int(78), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "path", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(37), - }, - End: ast.Location{ - Line: int(921), - Column: int(86), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "k", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(37), - }, - End: ast.Location{ - Line: int(921), - Column: int(79), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "k", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(37), - }, - End: ast.Location{ - Line: int(921), - Column: int(53), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(37), - }, - End: ast.Location{ - Line: int(921), - Column: int(44), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(47), - }, - End: ast.Location{ - Line: int(921), - Column: int(53), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(56), - }, - End: ast.Location{ - Line: int(921), - Column: int(79), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(56), - }, - End: ast.Location{ - Line: int(921), - Column: int(76), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(56), - }, - End: ast.Location{ - Line: int(921), - Column: int(59), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(77), - }, - End: ast.Location{ - Line: int(921), - Column: int(78), - }, - File: p1, - }, - Ctx: p8702, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(82), - }, - End: ast.Location{ - Line: int(921), - Column: int(86), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: nil, - }, - Value: ": ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(39), - }, - End: ast.Location{ - Line: int(922), - Column: int(78), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "path", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(39), - }, - End: ast.Location{ - Line: int(922), - Column: int(42), - }, - File: p1, - }, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(43), - }, - End: ast.Location{ - Line: int(922), - Column: int(47), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(43), - }, - End: ast.Location{ - Line: int(922), - Column: int(44), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(45), - }, - End: ast.Location{ - Line: int(922), - Column: int(46), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(49), - }, - End: ast.Location{ - Line: int(922), - Column: int(59), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(49), - }, - End: ast.Location{ - Line: int(922), - Column: int(53), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(56), - }, - End: ast.Location{ - Line: int(922), - Column: int(59), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(57), - }, - End: ast.Location{ - Line: int(922), - Column: int(58), - }, - File: p1, - }, - Ctx: p8725, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - }, - TrailingComma: false, - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(61), - }, - End: ast.Location{ - Line: int(922), - Column: int(77), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(61), - }, - End: ast.Location{ - Line: int(922), - Column: int(68), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(71), - }, - End: ast.Location{ - Line: int(922), - Column: int(77), - }, - File: p1, - }, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "indent", - }, - }, - Id: "indent", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - TrailingComma: false, - }, - }, - TrailingComma: false, - }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(45), - }, - End: ast.Location{ - Line: int(923), - Column: int(64), - }, - File: p1, - }, - Ctx: p8658, - FreeVars: ast.Identifiers{ - "std", - "v", - }, + Id: "v", }, - Target: &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(923), - Column: int(45), + Line: int(1049), + Column: int(69), }, End: ast.Location{ - Line: int(923), - Column: int(61), + Line: int(1049), + Column: int(70), }, File: p1, }, - Ctx: p8658, + Fodder: ast.Fodder{}, + Ctx: p10866, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(45), - }, - End: ast.Location{ - Line: int(923), - Column: int(48), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(923), - Column: int(62), - }, - End: ast.Location{ - Line: int(923), - Column: int(63), - }, - File: p1, - }, - Ctx: p8742, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", + "k", }, }, - Named: nil, + Id: "k", }, - TrailingComma: false, - TailStrict: false, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + 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(1050), + Column: int(18), + }, + End: ast.Location{ + Line: int(1050), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10873, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1050), + Column: int(18), + }, + End: ast.Location{ + Line: int(1050), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10873, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1050), + Column: int(18), + }, + End: ast.Location{ + Line: int(1050), + 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: nil, + }, + 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(1050), + Column: int(35), + }, + End: ast.Location{ + Line: int(1050), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10882, + 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, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1048), + Column: int(13), + }, + End: ast.Location{ + Line: int(1051), + Column: int(8), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1052), + Column: int(7), + }, + End: ast.Location{ + Line: int(1052), + Column: int(40), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "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, + }, + 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: nil, + }, + 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(1052), + Column: int(7), + }, + End: ast.Location{ + Line: int(1052), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10800, + FreeVars: nil, + }, + 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(1052), + Column: int(16), + }, + End: ast.Location{ + Line: int(1052), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + 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(1052), + Column: int(17), + }, + End: ast.Location{ + Line: int(1052), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10898, + FreeVars: ast.Identifiers{ + "fields", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1052), + Column: int(17), + }, + End: ast.Location{ + Line: int(1052), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10898, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1052), + Column: int(17), + }, + End: ast.Location{ + Line: int(1052), + 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: nil, + }, + 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(1052), + Column: int(26), + }, + End: ast.Location{ + Line: int(1052), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10907, + FreeVars: nil, + }, + 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(1052), + Column: int(32), + }, + End: ast.Location{ + Line: int(1052), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10907, + 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(1053), + Column: int(10), + }, + End: ast.Location{ + Line: int(1066), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1053), + Column: int(13), + }, + End: ast.Location{ + Line: int(1053), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1053), + Column: int(13), + }, + End: ast.Location{ + Line: int(1053), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1053), + Column: int(13), + }, + End: ast.Location{ + Line: int(1053), + 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: nil, + }, + 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(1053), + Column: int(25), + }, + End: ast.Location{ + Line: int(1053), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10922, + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(7), + }, + End: ast.Location{ + Line: int(1054), + Column: int(70), + }, + 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: nil, + }, + 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(1054), + Column: int(7), + }, + End: ast.Location{ + Line: int(1054), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10800, + FreeVars: nil, + }, + 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(1054), + Column: int(16), + }, + End: ast.Location{ + Line: int(1054), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + 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(1054), + Column: int(17), + }, + End: ast.Location{ + Line: int(1054), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10938, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(17), + }, + End: ast.Location{ + Line: int(1054), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10938, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(17), + }, + End: ast.Location{ + Line: int(1054), + 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: nil, + }, + 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(1054), + Column: int(26), }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(25), - }, - End: ast.Location{ - Line: int(925), - Column: int(47), - }, - File: p1, - }, - Ctx: p8641, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Elements: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(26), - }, - End: ast.Location{ - Line: int(925), - Column: int(46), - }, - File: p1, - }, - Ctx: p8748, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(26), - }, - End: ast.Location{ - Line: int(925), - Column: int(40), - }, - File: p1, - }, - Ctx: p8748, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(26), - }, - End: ast.Location{ - Line: int(925), - Column: int(30), - }, - File: p1, - }, - Ctx: p8748, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(33), - }, - End: ast.Location{ - Line: int(925), - Column: int(40), - }, - File: p1, - }, - Ctx: p8748, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(43), - }, - End: ast.Location{ - Line: int(925), - Column: int(46), - }, - File: p1, - }, - Ctx: p8748, - FreeVars: nil, - }, - Value: "}", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - TrailingComma: false, + End: ast.Location{ + Line: int(1054), + Column: int(30), }, + File: p1, }, - Fun: nil, + Fodder: ast.Fodder{}, + Ctx: p10947, + FreeVars: nil, }, + Value: ", ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Body: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(926), - Column: int(9), + Line: int(1054), + Column: int(32), }, End: ast.Location{ - Line: int(926), - Column: int(28), + Line: int(1054), + Column: int(68), }, File: p1, }, - Ctx: p8374, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "lines", "std", + "v", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(926), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(926), - Column: int(17), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8374, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, @@ -99665,17 +140503,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(926), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(926), - Column: int(12), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -99683,6 +140522,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -99697,482 +140537,1269 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "join", + Value: "flatMap", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(18), + 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, }, - End: ast.Location{ - Line: int(926), - Column: int(20), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p8765, - FreeVars: nil, + 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(1054), + Column: int(33), + }, + End: ast.Location{ + Line: int(1054), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10963, + FreeVars: ast.Identifiers{ + "std", + "v2", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(33), + }, + End: ast.Location{ + Line: int(1054), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10963, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(33), + }, + End: ast.Location{ + Line: int(1054), + 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: nil, + }, + 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(1054), + Column: int(52), + }, + End: ast.Location{ + Line: int(1054), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10972, + 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, + }, }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(22), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1054), + Column: int(66), + }, + End: ast.Location{ + Line: int(1054), + Column: int(67), + }, + File: p1, }, - End: ast.Location{ - Line: int(926), - Column: int(27), + Fodder: ast.Fodder{}, + Ctx: p10947, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p8765, - FreeVars: ast.Identifiers{ - "lines", }, + Id: "v", }, - Id: "lines", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: nil, + TailStrictFodder: 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, - }, - Ctx: nil, - FreeVars: 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, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(5), - }, - End: ast.Location{ - Line: int(927), - Column: int(23), - }, - File: p1, - }, - Ctx: p8366, - FreeVars: ast.Identifiers{ - "aux", - "value", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, }, - Target: &ast.Var{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(927), - Column: int(5), + Line: int(1055), + Column: int(10), }, End: ast.Location{ - Line: int(927), - Column: int(8), + Line: int(1066), + Column: int(13), }, File: p1, }, - Ctx: p8366, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "aux", + "std", + "v", }, }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1055), + Column: int(13), + }, + End: ast.Location{ + Line: int(1055), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(927), - Column: int(9), + Line: int(1055), + Column: int(13), }, End: ast.Location{ - Line: int(927), - Column: int(14), + Line: int(1055), + Column: int(25), }, File: p1, }, - Ctx: p8775, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "value", + "std", }, }, - Id: "value", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(16), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1055), + Column: int(13), + }, + End: ast.Location{ + Line: int(1055), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(927), - Column: int(18), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p8775, - FreeVars: nil, + Id: "std", }, - Elements: nil, - TrailingComma: false, - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(20), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - End: ast.Location{ - Line: int(927), - Column: int(22), + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1055), + Column: int(26), + }, + End: ast.Location{ + Line: int(1055), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10988, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", }, - File: p1, + CommaFodder: nil, }, - Ctx: p8775, - FreeVars: nil, }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "manifestYamlDoc", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "indent_array_in_object", - DefaultArg: &ast.LiteralBoolean{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(929), - Column: int(49), + Line: int(1056), + Column: int(7), }, End: ast.Location{ - Line: int(929), - Column: int(54), + Line: int(1056), + Column: int(41), + }, + 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: nil, + }, + 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(1056), + Column: int(7), + }, + End: ast.Location{ + Line: int(1056), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10800, + FreeVars: nil, + }, + 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(1056), + Column: int(14), + }, + End: ast.Location{ + Line: int(1056), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + 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(1056), + Column: int(15), + }, + End: ast.Location{ + Line: int(1056), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11004, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1056), + Column: int(15), + }, + End: ast.Location{ + Line: int(1056), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11004, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1056), + Column: int(15), + }, + End: ast.Location{ + Line: int(1056), + 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: nil, + }, + 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(1056), + Column: int(38), + }, + End: ast.Location{ + Line: int(1056), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11013, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + CommaFodder: nil, }, - File: p1, }, - Ctx: p8785, - FreeVars: nil, + Named: nil, }, - Value: false, - }, - }, - }, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(5), + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - End: ast.Location{ - Line: int(1010), - Column: int(23), + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, }, - File: p1, - }, - Ctx: p8785, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - "std", - "value", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(930), - Column: int(11), + Line: int(1057), + Column: int(10), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1066), + Column: int(13), }, File: p1, }, - Ctx: p8790, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "aux", - "indent_array_in_object", "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ "v", - "path", - "cindent", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(931), - Column: int(7), + Line: int(1057), + Column: int(13), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1057), + Column: int(30), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", "std", "v", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(931), - Column: int(10), + Line: int(1057), + Column: int(13), }, End: ast.Location{ - Line: int(931), - Column: int(19), + Line: int(1057), + Column: int(27), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "v", + "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(931), - Column: int(10), + Line: int(1057), + Column: int(13), }, End: ast.Location{ - Line: int(931), - Column: int(11), + Line: int(1057), + Column: int(16), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "v", + "std", }, }, - Id: "v", + Id: "std", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralBoolean{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(931), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(931), - Column: int(19), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8794, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: true, + Value: "isFunction", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.LiteralString{ + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1057), + Column: int(28), + }, + End: ast.Location{ + Line: int(1057), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11027, + FreeVars: ast.Identifiers{ + "v", + }, + }, + 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(1058), + Column: int(7), + }, + End: ast.Location{ + Line: int(1058), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10800, + FreeVars: nil, + }, + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(932), - Column: int(9), + Line: int(1058), + Column: int(13), }, End: ast.Location{ - Line: int(932), - Column: int(15), + Line: int(1058), + Column: int(39), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: nil, }, - Value: "true", + Value: "cannot manifest function", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Conditional{ + }, + 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(1059), + Column: int(10), + }, + End: ast.Location{ + Line: int(1066), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(933), - Column: int(12), + Line: int(1059), + Column: int(13), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1059), + Column: int(28), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", "std", "v", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(933), - Column: int(15), + Line: int(1059), + Column: int(13), }, End: ast.Location{ - Line: int(933), + Line: int(1059), Column: int(25), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1059), + Column: int(13), + }, + End: ast.Location{ + Line: int(1059), + 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: nil, + }, + 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(1059), + Column: int(26), + }, + End: ast.Location{ + Line: int(1059), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11044, + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(1060), + Column: int(7), + }, + End: ast.Location{ + Line: int(1060), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1060), + Column: int(7), + }, + End: ast.Location{ + Line: int(1060), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1060), + Column: int(7), + }, + End: ast.Location{ + Line: int(1060), + 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: nil, + }, + 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(1060), + Column: int(20), + }, + End: ast.Location{ + Line: int(1060), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11056, + 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(1061), + Column: int(10), + }, + End: ast.Location{ + Line: int(1066), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1061), + Column: int(13), + }, + End: ast.Location{ + Line: int(1061), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ "v", }, @@ -100180,105 +141807,123 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(933), - Column: int(15), + Line: int(1061), + Column: int(13), }, End: ast.Location{ - Line: int(933), - Column: int(16), + Line: int(1061), + Column: int(14), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ "v", }, }, Id: "v", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(933), - Column: int(20), + Line: int(1061), + Column: int(18), }, End: ast.Location{ - Line: int(933), - Column: int(25), + Line: int(1061), + Column: int(22), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: nil, }, - Value: false, + Value: true, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(934), - Column: int(9), + Line: int(1062), + Column: int(7), }, End: ast.Location{ - Line: int(934), - Column: int(16), + Line: int(1062), + Column: int(13), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10800, FreeVars: nil, }, - Value: "false", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(935), - Column: int(12), + Line: int(1063), + Column: int(10), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1066), + Column: int(13), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", - "std", "v", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(935), - Column: int(15), + Line: int(1063), + Column: int(13), }, End: ast.Location{ - Line: int(935), - Column: int(24), + Line: int(1063), + Column: int(23), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ "v", }, @@ -100286,2042 +141931,2278 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(935), - Column: int(15), + Line: int(1063), + Column: int(13), }, End: ast.Location{ - Line: int(935), - Column: int(16), + Line: int(1063), + Column: int(14), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ "v", }, }, Id: "v", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ + Right: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(935), - Column: int(20), + Line: int(1063), + Column: int(18), }, End: ast.Location{ - Line: int(935), - Column: int(24), + Line: int(1063), + Column: int(23), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: nil, }, + Value: false, }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(936), - Column: int(9), + Line: int(1064), + Column: int(7), }, End: ast.Location{ - Line: int(936), - Column: int(15), + Line: int(1064), + Column: int(14), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p10800, FreeVars: nil, }, - Value: "null", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(937), - Column: int(12), + Line: int(1065), + Column: int(10), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1066), + Column: int(13), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", - "std", "v", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(937), - Column: int(15), + Line: int(1065), + Column: int(13), }, End: ast.Location{ - Line: int(937), - Column: int(38), + Line: int(1065), + Column: int(22), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "std", "v", }, }, - Left: &ast.Apply{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(937), - Column: int(15), + Line: int(1065), + Column: int(13), }, End: ast.Location{ - Line: int(937), - Column: int(26), + Line: int(1065), + Column: int(14), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: ast.Identifiers{ - "std", "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(15), - }, - End: ast.Location{ - Line: int(937), - Column: int(23), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(15), - }, - End: ast.Location{ - Line: int(937), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(24), - }, - End: ast.Location{ - Line: int(937), - Column: int(25), - }, - File: p1, - }, - Ctx: p8831, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + Id: "v", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(937), - Column: int(30), + Line: int(1065), + Column: int(18), }, End: ast.Location{ - Line: int(937), - Column: int(38), + Line: int(1065), + Column: int(22), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p10800, FreeVars: nil, }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - BranchTrue: &ast.Binary{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(938), - Column: int(9), + Line: int(1066), + Column: int(7), }, End: ast.Location{ - Line: int(938), - Column: int(15), + Line: int(1066), + Column: int(13), }, File: p1, }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(9), - }, - End: ast.Location{ - Line: int(938), - Column: int(11), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(14), - }, - End: ast.Location{ - Line: int(938), - Column: int(15), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "v", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Id: "v", + Ctx: p10800, + FreeVars: nil, }, + Value: "None", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - BranchFalse: &ast.Conditional{ + ElseFodder: nil, + BranchFalse: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(939), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1009), - Column: int(42), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", - "std", - "v", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(15), - }, - End: ast.Location{ - Line: int(939), - Column: int(38), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(15), - }, - End: ast.Location{ - Line: int(939), - Column: int(26), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(15), - }, - End: ast.Location{ - Line: int(939), - Column: int(23), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(15), - }, - End: ast.Location{ - Line: int(939), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(24), - }, - End: ast.Location{ - Line: int(939), - Column: int(25), - }, - File: p1, - }, - Ctx: p8852, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(30), - }, - End: ast.Location{ - Line: int(939), - Column: int(38), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, + Line: int(0), + Column: int(0), }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(9), - }, - End: ast.Location{ - Line: int(947), - Column: int(34), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "len", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(21), - }, - End: ast.Location{ - Line: int(940), - Column: int(34), - }, - File: p1, - }, - Ctx: p8859, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(21), - }, - End: ast.Location{ - Line: int(940), - Column: int(31), - }, - File: p1, - }, - Ctx: p8859, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(21), - }, - End: ast.Location{ - Line: int(940), - Column: int(24), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(940), - Column: int(32), - }, - End: ast.Location{ - Line: int(940), - Column: int(33), - }, - File: p1, - }, - Ctx: p8868, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1046), + Column: int(3), + }, + End: ast.Location{ + Line: int(1066), + 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: nil, + }, + 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: p11, + FreeVars: ast.Identifiers{ + "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(1068), + Column: int(22), + }, + End: ast.Location{ + Line: int(1068), + Column: int(26), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(5), + }, + End: ast.Location{ + Line: int(1070), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p11095, + FreeVars: ast.Identifiers{ + "conf", + "std", + }, + }, + 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(1069), + Column: int(18), + }, + End: ast.Location{ + Line: int(1069), + Column: int(96), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "conf", + "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: nil, + }, + 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), }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(9), - }, - End: ast.Location{ - Line: int(947), - Column: int(34), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "cindent", - "len", - "std", - "v", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "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), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(12), - }, - End: ast.Location{ - Line: int(941), - Column: int(20), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(12), - }, - End: ast.Location{ - Line: int(941), - Column: int(15), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(19), - }, - End: ast.Location{ - Line: int(941), - Column: int(20), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(11), - }, - End: ast.Location{ - Line: int(942), - Column: int(15), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, - }, - Value: "\"\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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), }, - BranchFalse: &ast.Conditional{ + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "conf", + "k", + "std", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(943), - Column: int(14), + Line: int(1069), + Column: int(19), }, End: ast.Location{ - Line: int(947), - Column: int(34), + Line: int(1069), + Column: int(63), }, File: p1, }, - Ctx: p8794, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "cindent", - "len", + "conf", + "k", "std", - "v", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(943), - Column: int(17), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(943), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8794, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "len", - "v", + "std", }, }, - Left: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(943), - Column: int(17), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(943), - Column: int(27), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8794, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "len", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(17), - }, - End: ast.Location{ - Line: int(943), - Column: int(18), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(19), - }, - End: ast.Location{ - Line: int(943), - Column: int(26), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(19), - }, - End: ast.Location{ - Line: int(943), - Column: int(22), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "len", - }, - }, - Id: "len", - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(25), - }, - End: ast.Location{ - Line: int(943), - Column: int(26), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + "std", }, }, - Id: nil, + Id: "std", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(943), - Column: int(31), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(943), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8794, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "\n", + Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, + Id: nil, }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(11), - }, - End: ast.Location{ - Line: int(945), - Column: int(82), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "split", - Body: &ast.Apply{ + FodderLeft: nil, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(944), - Column: int(25), + Line: int(1069), + Column: int(19), }, End: ast.Location{ - Line: int(944), - Column: int(43), + Line: int(1069), + Column: int(28), }, File: p1, }, - Ctx: p8896, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(25), - }, - End: ast.Location{ - Line: int(944), - Column: int(34), - }, - File: p1, - }, - Ctx: p8896, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(25), - }, - End: ast.Location{ - Line: int(944), - Column: int(28), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "split", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(35), - }, - End: ast.Location{ - Line: int(944), - Column: int(36), - }, - File: p1, - }, - Ctx: p8905, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(944), - Column: int(38), - }, - End: ast.Location{ - Line: int(944), - Column: int(42), - }, - File: p1, - }, - Ctx: p8905, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(11), - }, - End: ast.Location{ - Line: int(945), - Column: int(82), + Fodder: ast.Fodder{}, + Ctx: p11121, + FreeVars: nil, }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "cindent", - "split", - "std", + Value: "%s = %s", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + CommaFodder: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(11), - }, - End: ast.Location{ - Line: int(945), - Column: int(19), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(945), - Column: int(11), + Line: int(1069), + Column: int(31), }, End: ast.Location{ - Line: int(945), - Column: int(14), + Line: int(1069), + Column: int(63), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11121, FreeVars: ast.Identifiers{ + "conf", + "k", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(20), - }, - End: ast.Location{ - Line: int(945), - Column: int(41), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(20), - }, - End: ast.Location{ - Line: int(945), - Column: int(34), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(20), - }, - End: ast.Location{ - Line: int(945), - Column: int(24), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(945), - Column: int(27), + Line: int(1069), + Column: int(32), }, End: ast.Location{ - Line: int(945), - Column: int(34), + Line: int(1069), + Column: int(33), }, File: p1, }, - Ctx: p8917, + Fodder: ast.Fodder{}, + Ctx: p11126, FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(37), - }, - End: ast.Location{ - Line: int(945), - Column: int(41), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(43), - }, - End: ast.Location{ - Line: int(945), - Column: int(81), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - }, - Left: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(43), - }, - End: ast.Location{ - Line: int(945), - Column: int(48), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: nil, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(44), - }, - End: ast.Location{ - Line: int(945), - Column: int(47), - }, - File: p1, - }, - Ctx: p8930, - FreeVars: nil, + "k", }, - Value: "|", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "k", }, - TrailingComma: false, + CommaFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1069), + Column: int(35), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1069), + Column: int(62), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11126, FreeVars: ast.Identifiers{ + "conf", + "k", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1069), + Column: int(35), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1069), + Column: int(53), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11126, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(945), - Column: int(51), + Line: int(1069), + Column: int(35), }, End: ast.Location{ - Line: int(945), - Column: int(56), + Line: int(1069), + Column: int(38), }, File: p1, }, - Ctx: p8917, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "split", + "std", }, }, - Id: "split", + Id: "std", }, - &ast.LiteralNumber{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(945), - Column: int(57), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(945), - Column: int(58), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p8917, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + Value: "manifestPython", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(59), - }, - End: ast.Location{ - Line: int(945), - Column: int(80), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(59), - }, - End: ast.Location{ - Line: int(945), - Column: int(76), - }, - File: p1, - }, - Ctx: p8917, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - }, - Target: &ast.Index{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(945), - Column: int(59), + Line: int(1069), + Column: int(54), }, End: ast.Location{ - Line: int(945), - Column: int(69), + Line: int(1069), + Column: int(61), }, File: p1, }, - Ctx: p8917, + Fodder: ast.Fodder{}, + Ctx: p11137, FreeVars: ast.Identifiers{ - "std", + "conf", + "k", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(945), - Column: int(59), + Line: int(1069), + Column: int(54), }, End: ast.Location{ - Line: int(945), - Column: int(62), + Line: int(1069), + Column: int(58), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11137, FreeVars: ast.Identifiers{ - "std", + "conf", }, }, - Id: "std", + Id: "conf", }, - Index: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1069), + Column: int(59), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1069), + Column: int(60), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(70), - }, - End: ast.Location{ - Line: int(945), - Column: int(75), - }, - File: p1, - }, - Ctx: p8953, - FreeVars: ast.Identifiers{ - "split", - }, + Fodder: ast.Fodder{}, + Ctx: p11137, + FreeVars: ast.Identifiers{ + "k", }, - Id: "split", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(79), - }, - End: ast.Location{ - Line: int(945), - Column: int(80), }, - File: p1, - }, - Ctx: p8917, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &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), + Id: "k", }, - File: nil, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: nil, - FreeVars: nil, + CommaFodder: nil, }, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(11), - }, - End: ast.Location{ - Line: int(947), - Column: int(34), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(11), - }, - End: ast.Location{ - Line: int(947), - Column: int(31), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(11), - }, - End: ast.Location{ - Line: int(947), - Column: int(14), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(32), - }, - End: ast.Location{ - Line: int(947), - Column: int(33), - }, - File: p1, - }, - Ctx: p8966, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, + 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(1069), + Column: int(73), + }, + End: ast.Location{ + Line: int(1069), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11144, + FreeVars: ast.Identifiers{ + "conf", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(73), + }, + End: ast.Location{ + Line: int(1069), + Column: int(89), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11144, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(73), + }, + End: ast.Location{ + Line: int(1069), + 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{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1069), + Column: int(90), }, - Named: nil, + End: ast.Location{ + Line: int(1069), + Column: int(94), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11153, + FreeVars: ast.Identifiers{ + "conf", }, - TrailingComma: false, - TailStrict: false, }, + Id: "conf", }, + CommaFodder: nil, }, }, - BranchFalse: &ast.Conditional{ + 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, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1069), + Column: int(11), + }, + End: ast.Location{ + Line: int(1069), + Column: int(96), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1070), + Column: int(5), + }, + End: ast.Location{ + Line: int(1070), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11095, + FreeVars: ast.Identifiers{ + "std", + "vars", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1070), + Column: int(5), + }, + End: ast.Location{ + Line: int(1070), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11095, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1070), + Column: int(5), + }, + End: ast.Location{ + Line: int(1070), + 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: nil, + }, + 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(1070), + Column: int(14), + }, + End: ast.Location{ + Line: int(1070), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11165, + FreeVars: nil, + }, + 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(1070), + Column: int(20), + }, + End: ast.Location{ + Line: int(1070), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11165, + FreeVars: ast.Identifiers{ + "vars", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1070), + Column: int(20), + }, + End: ast.Location{ + Line: int(1070), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11165, + 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(1070), + Column: int(27), + }, + End: ast.Location{ + Line: int(1070), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11165, + FreeVars: nil, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(948), - Column: int(12), + Line: int(1070), + Column: int(28), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1070), + Column: int(30), }, File: p1, }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", - "std", - "v", + Fodder: ast.Fodder{}, + Ctx: p11173, + FreeVars: nil, + }, + 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, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1068), + Column: int(3), + }, + End: ast.Location{ + Line: int(1070), + 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: nil, + }, + 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: p11, + 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(1072), + Column: int(21), + }, + End: ast.Location{ + Line: int(1072), + 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(1073), + Column: int(5), + }, + End: ast.Location{ + Line: int(1088), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(8), + }, + End: ast.Location{ + Line: int(1073), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(9), + }, + End: ast.Location{ + Line: int(1073), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(9), + }, + End: ast.Location{ + Line: int(1073), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1073), + Column: int(9), + }, + End: ast.Location{ + Line: int(1073), + 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: nil, + }, + 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(1073), + Column: int(21), + }, + End: ast.Location{ + Line: int(1073), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11193, + FreeVars: ast.Identifiers{ + "value", + }, + }, + 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(1074), + Column: int(7), + }, + End: ast.Location{ + Line: int(1074), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(13), + }, + End: ast.Location{ + Line: int(1074), + Column: int(75), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "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, + }, + 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: nil, + }, + 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(1074), + Column: int(13), + }, + End: ast.Location{ + Line: int(1074), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: nil, + }, + 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(1074), + Column: int(60), + }, + End: ast.Location{ + Line: int(1074), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(60), + }, + End: ast.Location{ + Line: int(1074), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1074), + Column: int(60), }, + End: ast.Location{ + Line: int(1074), + Column: int(63), + }, + File: p1, }, - Cond: &ast.Binary{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(948), - Column: int(15), + Line: int(1074), + Column: int(69), }, End: ast.Location{ - Line: int(948), - Column: int(40), + Line: int(1074), + Column: int(74), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11216, FreeVars: ast.Identifiers{ - "std", - "v", + "value", }, }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(15), - }, - End: ast.Location{ - Line: int(948), - Column: int(26), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(15), - }, - End: ast.Location{ - Line: int(948), - Column: int(23), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(15), - }, - End: ast.Location{ - Line: int(948), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", + 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(1076), + Column: int(7), + }, + End: ast.Location{ + Line: int(1088), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "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(1076), + Column: int(13), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: nil, + Ctx: p11224, + FreeVars: ast.Identifiers{ + "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(1076), + Column: int(17), + }, + End: ast.Location{ + Line: int(1076), + 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(1077), + Column: int(9), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "aux", + "std", + "v", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1077), + Column: int(12), + }, + End: ast.Location{ + Line: int(1077), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "std", + "v", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1077), + Column: int(12), + }, + End: ast.Location{ + Line: int(1077), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1077), + Column: int(12), + }, + End: ast.Location{ + Line: int(1077), + 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: nil, + }, + 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(1077), + Column: int(25), }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(1077), + Column: int(26), }, - Id: nil, + File: p1, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(24), - }, - End: ast.Location{ - Line: int(948), - Column: int(25), - }, - File: p1, - }, - Ctx: p8981, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p11240, + FreeVars: ast.Identifiers{ + "v", }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(30), - }, - End: ast.Location{ - Line: int(948), - Column: int(40), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, + 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(1078), + Column: int(11), + }, + End: ast.Location{ + Line: int(1078), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11229, + 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(1080), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "aux", + "std", + "v", + }, + }, + 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(1080), + Column: int(23), }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(1080), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11251, + FreeVars: ast.Identifiers{ + "v", }, }, - BranchTrue: &ast.Error{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(949), - Column: int(9), + Line: int(1080), + Column: int(23), }, End: ast.Location{ - Line: int(949), - Column: int(54), + Line: int(1080), + Column: int(24), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11251, FreeVars: ast.Identifiers{ - "path", + "v", }, }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(949), - Column: int(15), - }, - End: ast.Location{ - Line: int(949), - Column: int(54), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(949), - Column: int(15), - }, - End: ast.Location{ - Line: int(949), - Column: int(47), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1080), + Column: int(25), }, - Value: "Tried to manifest function at ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(949), - Column: int(50), - }, - End: ast.Location{ - Line: int(949), - Column: int(54), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "path", - }, + End: ast.Location{ + Line: int(1080), + Column: int(26), }, - Id: "path", + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p11251, + FreeVars: nil, }, + OriginalString: "0", }, - BranchFalse: &ast.Conditional{ + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1080), + Column: int(17), + }, + End: ast.Location{ + Line: int(1080), + Column: int(27), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1081), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(950), - Column: int(12), + Line: int(1081), + Column: int(29), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1081), + Column: int(68), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11261, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", "std", "v", }, }, - Cond: &ast.Binary{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(950), - Column: int(15), + Line: int(1081), + Column: int(29), }, End: ast.Location{ - Line: int(950), - Column: int(37), + Line: int(1081), + Column: int(46), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11261, FreeVars: ast.Identifiers{ "std", "v", @@ -102330,18 +144211,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(950), - Column: int(15), + Line: int(1081), + Column: int(29), }, End: ast.Location{ - Line: int(950), - Column: int(26), + Line: int(1081), + Column: int(42), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11261, FreeVars: ast.Identifiers{ "std", "v", @@ -102350,18 +144232,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(950), - Column: int(15), + Line: int(1081), + Column: int(29), }, End: ast.Location{ - Line: int(950), - Column: int(23), + Line: int(1081), + Column: int(39), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11261, FreeVars: ast.Identifiers{ "std", }, @@ -102369,17 +144252,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(950), - Column: int(15), + Line: int(1081), + Column: int(29), }, End: ast.Location{ - Line: int(950), - Column: int(18), + Line: int(1081), + Column: int(32), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -102387,6 +144271,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -102401,1796 +144286,1120 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(950), - Column: int(24), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1081), + Column: int(40), + }, + End: ast.Location{ + Line: int(1081), + Column: int(41), + }, + File: p1, }, - End: ast.Location{ - Line: int(950), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p11274, + FreeVars: ast.Identifiers{ + "v", }, - File: p1, - }, - Ctx: p9004, - FreeVars: ast.Identifiers{ - "v", }, + Id: "v", }, - Id: "v", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(950), - Column: int(30), + Line: int(1081), + Column: int(45), }, End: ast.Location{ - Line: int(950), - Column: int(37), + Line: int(1081), + Column: int(46), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11261, FreeVars: nil, }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, }, - BranchTrue: &ast.Conditional{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(951), - Column: int(9), + Line: int(1081), + Column: int(50), }, End: ast.Location{ - Line: int(981), - Column: int(42), + Line: int(1081), + Column: int(68), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11261, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "path", "std", "v", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(951), - Column: int(12), + Line: int(1081), + Column: int(50), }, End: ast.Location{ - Line: int(951), - Column: int(30), + Line: int(1081), + Column: int(62), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11261, FreeVars: ast.Identifiers{ "std", - "v", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(951), - Column: int(12), + Line: int(1081), + Column: int(50), }, End: ast.Location{ - Line: int(951), - Column: int(25), + Line: int(1081), + Column: int(53), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(12), - }, - End: ast.Location{ - Line: int(951), - Column: int(22), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(951), - Column: int(12), + Line: int(1081), + Column: int(63), }, End: ast.Location{ - Line: int(951), - Column: int(15), + Line: int(1081), + Column: int(67), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11286, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "v", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(951), - Column: int(23), + Line: int(1081), + Column: int(63), }, End: ast.Location{ - Line: int(951), - Column: int(24), + Line: int(1081), + Column: int(64), }, File: p1, }, - Ctx: p9020, + Fodder: ast.Fodder{}, + Ctx: p11286, FreeVars: ast.Identifiers{ "v", }, }, Id: "v", }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1081), + Column: int(65), + }, + End: ast.Location{ + Line: int(1081), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11286, + FreeVars: nil, + }, + OriginalString: "1", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ + 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(1081), + Column: int(17), + }, + End: ast.Location{ + Line: int(1081), + Column: int(68), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "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(1082), + Column: int(25), + }, + End: ast.Location{ + Line: int(1082), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "has_attrs", + "v", + }, + }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(28), + }, + End: ast.Location{ + Line: int(1082), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "has_attrs", + }, + }, + Id: "has_attrs", + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(43), + }, + End: ast.Location{ + Line: int(1082), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(951), - Column: int(29), + Line: int(1082), + Column: int(43), }, End: ast.Location{ - Line: int(951), - Column: int(30), + Line: int(1082), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11296, + FreeVars: ast.Identifiers{ + "v", + }, + }, + Id: "v", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(45), + }, + End: ast.Location{ + Line: int(1082), + Column: int(46), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11296, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + OriginalString: "1", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.LiteralString{ + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(952), - Column: int(11), + Line: int(1082), + Column: int(53), }, End: ast.Location{ - Line: int(952), - Column: int(15), + Line: int(1082), + Column: int(55), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11296, FreeVars: nil, }, - Value: "[]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{}, + Locals: ast.LocalBinds{}, }, - BranchFalse: &ast.Local{ + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1082), + Column: int(17), + }, + End: ast.Location{ + Line: int(1082), + Column: int(55), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1083), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "attrs", + "aux", + "has_attrs", + "std", + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(954), - Column: int(11), + Line: int(1083), + Column: int(28), }, End: ast.Location{ - Line: int(981), - Column: int(42), + Line: int(1083), + Column: int(62), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11311, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "path", + "has_attrs", "std", "v", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "params", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(17), - }, - End: ast.Location{ - Line: int(974), - Column: int(14), - }, - File: p1, - }, - Ctx: p9028, - FreeVars: ast.Identifiers{ - "cindent", - "std", - }, + Cond: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1083), + Column: int(31), }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - }, - Optional: nil, + End: ast.Location{ + Line: int(1083), + Column: int(40), }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(13), - }, - End: ast.Location{ - Line: int(974), - Column: int(14), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "value", - }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11311, + 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(1083), + Column: int(46), + }, + End: ast.Location{ + Line: int(1083), + 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), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(16), - }, - End: ast.Location{ - Line: int(955), - Column: int(59), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(16), - }, - End: ast.Location{ - Line: int(955), - Column: int(34), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(16), - }, - End: ast.Location{ - Line: int(955), - Column: int(27), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(16), - }, - End: ast.Location{ - Line: int(955), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(28), - }, - End: ast.Location{ - Line: int(955), - Column: int(33), - }, - File: p1, - }, - Ctx: p9045, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(38), - }, - End: ast.Location{ - Line: int(955), - Column: int(59), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(38), - }, - End: ast.Location{ - Line: int(955), - Column: int(55), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(38), - }, - End: ast.Location{ - Line: int(955), - Column: int(48), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(38), - }, - End: ast.Location{ - Line: int(955), - Column: int(41), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(49), - }, - End: ast.Location{ - Line: int(955), - Column: int(54), - }, - File: p1, - }, - Ctx: p9058, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(58), - }, - End: ast.Location{ - Line: int(955), - Column: int(59), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(65), - }, - End: ast.Location{ - Line: int(964), - Column: int(14), - }, - File: p1, - }, - Ctx: p9032, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(962), - Column: int(27), - }, - End: ast.Location{ - Line: int(962), - Column: int(41), - }, - File: p1, - }, - Ctx: p9066, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(962), - Column: int(27), - }, - End: ast.Location{ - Line: int(962), - Column: int(34), - }, - File: p1, - }, - Ctx: p9066, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(962), - Column: int(37), - }, - End: ast.Location{ - Line: int(962), - Column: int(41), - }, - File: p1, - }, - Ctx: p9066, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(22), - }, - End: ast.Location{ - Line: int(963), - Column: int(44), - }, - File: p1, - }, - Ctx: p9066, - FreeVars: nil, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(22), - }, - End: ast.Location{ - Line: int(963), - Column: int(26), - }, - File: p1, - }, - Ctx: p9066, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(29), - }, - End: ast.Location{ - Line: int(963), - Column: int(44), - }, - File: p1, - }, - Ctx: p9066, - FreeVars: nil, - }, - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(29), - }, - End: ast.Location{ - Line: int(963), - Column: int(33), - }, - File: p1, - }, - Ctx: nil, - FreeVars: 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - PlusSuper: false, - }, + 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), }, - Locals: ast.LocalBinds{}, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - BranchFalse: &ast.Conditional{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(964), - Column: int(20), + Line: int(1083), + Column: int(46), }, End: ast.Location{ - Line: int(974), - Column: int(14), + Line: int(1083), + Column: int(47), }, File: p1, }, - Ctx: p9032, + Fodder: ast.Fodder{}, + Ctx: p11311, FreeVars: ast.Identifiers{ - "cindent", - "std", - "value", + "v", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(23), - }, - End: ast.Location{ - Line: int(964), - Column: int(67), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(23), - }, - End: ast.Location{ - Line: int(964), - Column: int(42), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(23), - }, - End: ast.Location{ - Line: int(964), - Column: int(35), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(23), - }, - End: ast.Location{ - Line: int(964), - Column: int(26), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(36), - }, - End: ast.Location{ - Line: int(964), - Column: int(41), - }, - File: p1, - }, - Ctx: p9090, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(46), - }, - End: ast.Location{ - Line: int(964), - Column: int(67), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(46), - }, - End: ast.Location{ - Line: int(964), - Column: int(63), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(46), - }, - End: ast.Location{ - Line: int(964), - Column: int(56), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(46), - }, - End: ast.Location{ - Line: int(964), - Column: int(49), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(57), - }, - End: ast.Location{ - Line: int(964), - Column: int(62), - }, - File: p1, - }, - Ctx: p9103, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + Id: "v", + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1083), + Column: int(48), }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(66), - }, - End: ast.Location{ - Line: int(964), - Column: int(67), - }, - File: p1, - }, - Ctx: p9032, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", + End: ast.Location{ + Line: int(1083), + Column: int(49), }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p11311, + FreeVars: nil, }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(73), - }, - End: ast.Location{ - Line: int(970), - Column: int(14), - }, - File: p1, - }, - Ctx: p9032, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(27), - }, - End: ast.Location{ - Line: int(965), - Column: int(41), - }, - File: p1, - }, - Ctx: p9111, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(27), - }, - End: ast.Location{ - Line: int(965), - Column: int(34), - }, - File: p1, - }, - Ctx: p9111, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(37), - }, - End: ast.Location{ - Line: int(965), - Column: int(41), - }, - File: p1, - }, - Ctx: p9111, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - PlusSuper: false, + 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), }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(969), - Column: int(22), - }, - End: ast.Location{ - Line: int(969), - Column: int(25), - }, - File: p1, - }, - Ctx: p9111, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Locals: ast.LocalBinds{}, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(20), - }, - End: ast.Location{ - Line: int(974), - Column: int(14), - }, - File: p1, - }, - Ctx: p9032, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(972), - Column: int(27), - }, - End: ast.Location{ - Line: int(972), - Column: int(34), - }, - File: p1, - }, - Ctx: p9123, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - PlusSuper: false, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(973), - Column: int(22), - }, - End: ast.Location{ - Line: int(973), - Column: int(25), - }, - File: p1, - }, - Ctx: p9123, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Locals: ast.LocalBinds{}, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, }, + CommaFodder: nil, }, }, - Fun: nil, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Body: &ast.Local{ + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(975), - Column: int(11), + Line: int(1083), + Column: int(57), }, End: ast.Location{ - Line: int(981), - Column: int(42), + Line: int(1083), + Column: int(62), }, File: p1, }, - Ctx: p8794, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "params", - "path", "std", "v", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "range", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(25), - }, - End: ast.Location{ - Line: int(975), - Column: int(56), - }, - File: p1, + 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), }, - Ctx: p9131, - FreeVars: ast.Identifiers{ - "std", - "v", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Index{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(975), - Column: int(25), + Line: int(1083), + Column: int(57), }, End: ast.Location{ - Line: int(975), - Column: int(34), + Line: int(1083), + Column: int(58), }, File: p1, }, - Ctx: p9131, + Fodder: ast.Fodder{}, + Ctx: p11311, FreeVars: ast.Identifiers{ - "std", + "v", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(25), - }, - End: ast.Location{ - Line: int(975), - Column: int(28), - }, - File: p1, + Id: "v", + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1083), + Column: int(59), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1083), + Column: int(60), }, + File: p1, }, - Id: "std", + Fodder: ast.Fodder{}, + Ctx: p11311, + FreeVars: 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, + 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), }, - Ctx: nil, - FreeVars: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - Value: "range", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(35), - }, - End: ast.Location{ - Line: int(975), - Column: int(36), - }, - File: p1, - }, - Ctx: p9140, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(38), - }, - End: ast.Location{ - Line: int(975), - Column: int(55), - }, - File: p1, - }, - Ctx: p9140, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(38), - }, - End: ast.Location{ - Line: int(975), - Column: int(51), - }, - File: p1, - }, - Ctx: p9140, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(38), - }, - End: ast.Location{ - Line: int(975), - Column: int(48), - }, - File: p1, - }, - Ctx: p9140, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(38), - }, - End: ast.Location{ - Line: int(975), - Column: int(41), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(49), - }, - End: ast.Location{ - Line: int(975), - Column: int(50), - }, - File: p1, - }, - Ctx: p9152, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(54), - }, - End: ast.Location{ - Line: int(975), - Column: int(55), - }, - File: p1, - }, - Ctx: p9140, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, - Fun: nil, }, + Named: nil, }, - Body: &ast.Local{ + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1083), + Column: int(17), + }, + End: ast.Location{ + Line: int(1083), + Column: int(62), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1084), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "attrs", + "aux", + "children", + "std", + "tag", + }, + }, + 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(1085), + Column: int(13), + }, + End: ast.Location{ + Line: int(1085), + Column: int(88), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11346, + FreeVars: ast.Identifiers{ + "attrs", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(976), - Column: int(11), + Line: int(1085), + Column: int(13), }, End: ast.Location{ - Line: int(981), - Column: int(42), + Line: int(1085), + Column: int(21), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11346, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "params", - "path", - "range", "std", - "v", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "parts", - Body: &ast.Apply{ + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1085), + Column: int(13), + }, + End: ast.Location{ + Line: int(1085), + 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: nil, + }, + 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(1085), + Column: int(22), + }, + End: ast.Location{ + Line: int(1085), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11356, + FreeVars: nil, + }, + 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(0), - Column: int(0), + Line: int(1085), + Column: int(26), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1085), + Column: int(87), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "params", - "path", - "range", + "attrs", "std", - "v", }, }, Target: &ast.Index{ @@ -104207,6 +145416,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -104226,6 +145436,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -104233,6 +145444,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -104247,48 +145459,23 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "flatMap", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "params", - "path", - "std", - "v", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -104302,18 +145489,21 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "i", - "params", - "path", + "attrs", "std", - "v", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: nil, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ @@ -104326,8326 +145516,6634 @@ var _StdAst = &ast.DesugaredObject{ }, File: 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, + }, + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "attrs", + "k", + "std", }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "path", - "v", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "param", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Array{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1085), + Column: int(27), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1085), + Column: int(53), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", + "attrs", + "k", + "std", }, }, - Elements: ast.Nodes{ - &ast.Binary{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(977), - Column: int(13), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(977), - Column: int(72), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p9184, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", + "std", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(13), - }, - End: ast.Location{ - Line: int(977), - Column: int(30), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p9184, - FreeVars: ast.Identifiers{ - "param", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.LiteralString{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(977), - Column: int(13), + Line: int(1085), + Column: int(27), }, End: ast.Location{ - Line: int(977), - Column: int(16), + Line: int(1085), + Column: int(37), }, File: p1, }, - Ctx: p9184, + Fodder: ast.Fodder{}, + Ctx: p11380, FreeVars: nil, }, - Value: "-", + Value: " %s=\"%s\"", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(19), - }, - End: ast.Location{ - Line: int(977), - Column: int(30), - }, - File: p1, - }, - Ctx: p9184, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(19), - }, - End: ast.Location{ - Line: int(977), - Column: int(24), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Id: "param", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, + CommaFodder: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(33), - }, - End: ast.Location{ - Line: int(977), - Column: int(72), - }, - File: p1, - }, - Ctx: p9184, - FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(977), - Column: int(33), + Line: int(1085), + Column: int(40), }, End: ast.Location{ - Line: int(977), - Column: int(36), + Line: int(1085), + Column: int(53), }, File: p1, }, - Ctx: p9184, + Fodder: ast.Fodder{}, + Ctx: p11380, FreeVars: ast.Identifiers{ - "aux", + "attrs", + "k", }, }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(37), - }, - End: ast.Location{ - Line: int(977), - Column: int(41), - }, - File: p1, - }, - Ctx: p9200, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(37), - }, - End: ast.Location{ - Line: int(977), - Column: int(38), - }, - File: p1, - }, - Ctx: p9200, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Index: &ast.Var{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(977), - Column: int(39), + Line: int(1085), + Column: int(41), }, End: ast.Location{ - Line: int(977), - Column: int(40), + Line: int(1085), + Column: int(42), }, File: p1, }, - Ctx: p9200, + Fodder: ast.Fodder{}, + Ctx: p11385, FreeVars: ast.Identifiers{ - "i", + "k", }, }, - Id: "i", + Id: "k", }, - Id: nil, + CommaFodder: ast.Fodder{}, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(43), - }, - End: ast.Location{ - Line: int(977), - Column: int(53), - }, - File: p1, - }, - Ctx: p9200, - FreeVars: ast.Identifiers{ - "i", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(43), - }, - End: ast.Location{ - Line: int(977), - Column: int(47), - }, - File: p1, - }, - Ctx: p9200, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(977), - Column: int(50), + Line: int(1085), + Column: int(44), }, End: ast.Location{ - Line: int(977), - Column: int(53), + Line: int(1085), + Column: int(52), }, File: p1, }, - Ctx: p9200, + Fodder: ast.Fodder{}, + Ctx: p11385, FreeVars: ast.Identifiers{ - "i", + "attrs", + "k", }, }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(51), - }, - End: ast.Location{ - Line: int(977), - Column: int(52), - }, - File: p1, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1085), + Column: int(44), }, - Ctx: p9214, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(1085), + Column: int(49), }, + File: p1, }, - Id: "i", - }, - }, - TrailingComma: false, - }, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(55), - }, - End: ast.Location{ - Line: int(977), - Column: int(71), - }, - File: p1, - }, - Ctx: p9200, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(55), - }, - End: ast.Location{ - Line: int(977), - Column: int(60), + Fodder: ast.Fodder{}, + Ctx: p11385, + FreeVars: ast.Identifiers{ + "attrs", }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", }, + Id: "attrs", }, - Id: "param", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1085), + Column: int(50), + }, + End: ast.Location{ + Line: int(1085), + Column: int(51), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p11385, + FreeVars: ast.Identifiers{ + "k", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "k", }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: nil, + CommaFodder: nil, }, }, - Named: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, + Named: nil, }, TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(979), - Column: int(26), + }, + TrailingComma: false, + CloseFodder: nil, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1085), + Column: int(63), + }, + End: ast.Location{ + Line: int(1085), + Column: int(86), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11356, + FreeVars: ast.Identifiers{ + "attrs", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1085), + Column: int(63), + }, + End: ast.Location{ + Line: int(1085), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11356, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1085), + Column: int(63), + }, + End: ast.Location{ + Line: int(1085), + 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: nil, + }, + 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(1085), + Column: int(80), + }, + End: ast.Location{ + Line: int(1085), + Column: int(85), + }, + File: p1, }, - End: ast.Location{ - Line: int(979), - Column: int(40), + Fodder: ast.Fodder{}, + Ctx: p11402, + FreeVars: ast.Identifiers{ + "attrs", }, - File: p1, }, - Ctx: p9222, - FreeVars: ast.Identifiers{ - "i", - "params", - "v", + 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(1084), + Column: int(17), + }, + End: ast.Location{ + Line: int(1085), + Column: int(88), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1086), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + Column: int(95), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "attrs_str", + "aux", + "children", + "std", + "tag", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1086), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11229, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1086), + Column: int(11), + }, + End: ast.Location{ + Line: int(1086), + 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: nil, + }, + 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(1086), + Column: int(24), + }, + End: ast.Location{ + Line: int(1086), + Column: int(94), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11414, + FreeVars: ast.Identifiers{ + "attrs_str", + "aux", + "children", + "std", + "tag", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1086), + Column: int(25), + }, + End: ast.Location{ + Line: int(1086), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11418, + FreeVars: nil, + }, + 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(1086), + Column: int(30), + }, + End: ast.Location{ + Line: int(1086), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11418, + 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(1086), + Column: int(35), + }, + End: ast.Location{ + Line: int(1086), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11418, + 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(1086), + Column: int(46), + }, + End: ast.Location{ + Line: int(1086), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11418, + FreeVars: nil, + }, + 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(1086), + Column: int(51), + }, + End: ast.Location{ + Line: int(1086), + Column: int(77), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "aux", + "children", + "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: nil, + }, + 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.Nodes{ - &ast.Apply{ + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(979), - Column: int(27), + Line: int(1086), + Column: int(52), }, End: ast.Location{ - Line: int(979), - Column: int(39), + Line: int(1086), + Column: int(58), }, File: p1, }, - Ctx: p9226, + Fodder: ast.Fodder{}, + Ctx: p11439, FreeVars: ast.Identifiers{ - "i", - "params", - "v", + "aux", + "x", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(979), - Column: int(27), + Line: int(1086), + Column: int(52), }, End: ast.Location{ - Line: int(979), - Column: int(33), + Line: int(1086), + Column: int(55), }, File: p1, }, - Ctx: p9226, + Fodder: ast.Fodder{}, + Ctx: p11439, FreeVars: ast.Identifiers{ - "params", + "aux", }, }, - Id: "params", + Id: "aux", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(979), - Column: int(34), - }, - End: ast.Location{ - Line: int(979), - Column: int(38), - }, - File: p1, - }, - Ctx: p9232, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(979), - Column: int(34), - }, - End: ast.Location{ - Line: int(979), - Column: int(35), - }, - File: p1, - }, - Ctx: p9232, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Index: &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(979), - Column: int(36), + Line: int(1086), + Column: int(56), }, End: ast.Location{ - Line: int(979), - Column: int(37), + Line: int(1086), + Column: int(57), }, File: p1, }, - Ctx: p9232, + Fodder: ast.Fodder{}, + Ctx: p11445, FreeVars: ast.Identifiers{ - "i", + "x", }, }, - Id: "i", + Id: "x", }, - Id: nil, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - TrailingComma: false, }, + TrailingComma: false, + CloseFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(978), - Column: int(22), - }, - End: ast.Location{ - Line: int(978), - Column: int(27), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1086), + Column: int(68), + }, + End: ast.Location{ + Line: int(1086), + Column: int(76), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11418, + FreeVars: ast.Identifiers{ + "children", + }, }, - File: p1, - }, - Ctx: p9222, - FreeVars: ast.Identifiers{ - "range", + Id: "children", }, + CommaFodder: nil, }, - Id: "range", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(981), - Column: int(11), - }, - End: ast.Location{ - Line: int(981), - Column: int(42), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "cindent", - "parts", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(981), - Column: int(11), - }, - End: ast.Location{ - Line: int(981), - Column: int(19), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(981), - Column: int(11), }, - End: ast.Location{ - Line: int(981), - Column: int(14), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Id: "std", + CommaFodder: ast.Fodder{}, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1086), + Column: int(79), + }, + End: ast.Location{ + Line: int(1086), + Column: int(83), + }, + File: p1, }, - File: nil, + Fodder: ast.Fodder{}, + Ctx: p11418, + FreeVars: nil, }, - Ctx: nil, - FreeVars: nil, + Value: "", + FileName: "", Begin: ast.Location{ - Line: int(981), - Column: int(20), + Line: int(1086), + Column: int(85), }, End: ast.Location{ - Line: int(981), - Column: int(34), + Line: int(1086), + Column: int(88), }, File: p1, }, - Ctx: p9249, + Fodder: ast.Fodder{}, + Ctx: p11418, FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(981), - Column: int(20), - }, - End: ast.Location{ - Line: int(981), - Column: int(24), - }, - File: p1, - }, - Ctx: p9249, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(981), - Column: int(27), - }, - End: ast.Location{ - Line: int(981), - Column: int(34), - }, - File: p1, - }, - Ctx: p9249, - FreeVars: ast.Identifiers{ - "cindent", - }, + "tag", }, - Id: "cindent", }, + Id: "tag", }, - &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(981), - Column: int(36), + Line: int(1086), + Column: int(90), }, End: ast.Location{ - Line: int(981), - Column: int(41), + Line: int(1086), + Column: int(93), }, File: p1, }, - Ctx: p9249, - FreeVars: ast.Identifiers{ - "parts", - }, + Fodder: ast.Fodder{}, + Ctx: p11418, + FreeVars: nil, }, - Id: "parts", + Value: ">", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + CommaFodder: nil, }, - Named: nil, }, TrailingComma: false, - TailStrict: false, + CloseFodder: ast.Fodder{}, + }, + 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, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1088), + Column: int(7), + }, + End: ast.Location{ + Line: int(1088), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11180, + FreeVars: ast.Identifiers{ + "aux", + "value", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1088), + Column: int(7), + }, + End: ast.Location{ + Line: int(1088), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11180, + 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(1088), + Column: int(11), + }, + End: ast.Location{ + Line: int(1088), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11460, + FreeVars: ast.Identifiers{ + "value", + }, + }, + Id: "value", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1072), + Column: int(3), + }, + End: ast.Location{ + Line: int(1088), + 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: nil, + }, + 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: p11, + FreeVars: ast.Identifiers{ + "base64_table", + "std", + }, + }, + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "input", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1093), + Column: int(10), + }, + End: ast.Location{ + Line: int(1093), + Column: int(15), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1094), + Column: int(5), + }, + End: ast.Location{ + Line: int(1137), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p11468, + FreeVars: ast.Identifiers{ + "base64_table", + "input", + "std", + }, + }, + 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(1095), + Column: int(7), + }, + End: ast.Location{ + Line: int(1098), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11473, + FreeVars: ast.Identifiers{ + "input", + "std", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1095), + Column: int(10), + }, + End: ast.Location{ + Line: int(1095), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11473, + FreeVars: ast.Identifiers{ + "input", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1095), + Column: int(10), + }, + End: ast.Location{ + Line: int(1095), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11473, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1095), + Column: int(10), + }, + End: ast.Location{ + Line: int(1095), + 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: nil, + }, + 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(1095), + Column: int(23), + }, + End: ast.Location{ + Line: int(1095), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11484, + FreeVars: ast.Identifiers{ + "input", + }, + }, + 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(1096), + Column: int(9), + }, + End: ast.Location{ + Line: int(1096), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11473, + FreeVars: ast.Identifiers{ + "input", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1096), + Column: int(9), + }, + End: ast.Location{ + Line: int(1096), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11473, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1096), + Column: int(9), + }, + End: ast.Location{ + Line: int(1096), + 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: nil, + }, + 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.Function{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1096), + Column: int(17), + }, + End: ast.Location{ + Line: int(1096), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11496, + 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(1096), + Column: int(26), + }, + End: ast.Location{ + Line: int(1096), + Column: int(27), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1096), + Column: int(29), + }, + End: ast.Location{ + Line: int(1096), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11500, + FreeVars: ast.Identifiers{ + "c", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1096), + Column: int(29), + }, + End: ast.Location{ + Line: int(1096), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11500, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1096), + Column: int(29), + }, + End: ast.Location{ + Line: int(1096), + 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: nil, + }, + 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(1096), + Column: int(43), + }, + End: ast.Location{ + Line: int(1096), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11509, + 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{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1096), + Column: int(47), + }, + End: ast.Location{ + Line: int(1096), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11496, + FreeVars: ast.Identifiers{ + "input", + }, + }, + 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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1098), + Column: int(9), + }, + End: ast.Location{ + Line: int(1098), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11473, + FreeVars: ast.Identifiers{ + "input", + }, + }, + Id: "input", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1094), + Column: int(11), + }, + End: ast.Location{ + Line: int(1098), + Column: int(14), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1100), + Column: int(5), + }, + End: ast.Location{ + Line: int(1137), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p11468, + 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(1100), + Column: int(11), + }, + End: ast.Location{ + Line: int(1131), + Column: int(33), + }, + File: p1, + }, + Fodder: nil, + Ctx: p11522, + 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(1100), + Column: int(15), + }, + End: ast.Location{ + Line: int(1100), + 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(1100), + Column: int(20), + }, + End: ast.Location{ + Line: int(1100), + 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(1100), + Column: int(23), + }, + End: ast.Location{ + Line: int(1100), + 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(1101), + Column: int(7), + }, + End: ast.Location{ + Line: int(1131), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11527, + 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(1101), + Column: int(10), + }, + End: ast.Location{ + Line: int(1101), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(10), + }, + End: ast.Location{ + Line: int(1101), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + 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(1101), + Column: int(15), + }, + End: ast.Location{ + Line: int(1101), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(15), + }, + End: ast.Location{ + Line: int(1101), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1101), + Column: int(15), + }, + End: ast.Location{ + Line: int(1101), + 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: nil, + }, + 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(1101), + Column: int(26), + }, + End: ast.Location{ + Line: int(1101), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11542, + 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(1102), + Column: int(9), + }, + End: ast.Location{ + Line: int(1102), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "r", + }, + }, + Id: "r", + }, + 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(1103), + Column: int(12), + }, + End: ast.Location{ + Line: int(1131), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + 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(1103), + Column: int(15), + }, + End: ast.Location{ + Line: int(1103), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(15), + }, + End: ast.Location{ + Line: int(1103), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(15), + }, + End: ast.Location{ + Line: int(1103), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + 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(1103), + Column: int(19), + }, + End: ast.Location{ + Line: int(1103), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(24), + }, + End: ast.Location{ + Line: int(1103), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(24), + }, + End: ast.Location{ + Line: int(1103), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1103), + Column: int(24), + }, + End: ast.Location{ + Line: int(1103), + 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: nil, + }, + 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(1103), + Column: int(35), + }, + End: ast.Location{ + Line: int(1103), + Column: int(38), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11566, + FreeVars: ast.Identifiers{ + "arr", }, }, + Id: "arr", }, + CommaFodder: nil, }, - BranchFalse: &ast.Conditional{ + }, + 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(1104), + Column: int(9), + }, + End: ast.Location{ + Line: int(1110), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11527, + 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(1106), + Column: int(11), + }, + End: ast.Location{ + Line: int(1109), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(982), - Column: int(12), + Line: int(1106), + Column: int(11), }, End: ast.Location{ - Line: int(1009), + Line: int(1108), Column: int(42), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", - "std", - "v", + "arr", + "base64_table", + "i", }, }, - Cond: &ast.Binary{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(982), - Column: int(15), + Line: int(1106), + Column: int(11), }, End: ast.Location{ - Line: int(982), - Column: int(38), + Line: int(1106), + Column: int(44), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: ast.Identifiers{ - "std", - "v", + "arr", + "base64_table", + "i", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(982), - Column: int(15), + Line: int(1106), + Column: int(11), }, End: ast.Location{ - Line: int(982), - Column: int(26), + Line: int(1106), + Column: int(23), }, File: p1, }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(15), - }, - End: ast.Location{ - Line: int(982), - Column: int(23), - }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(15), - }, - End: ast.Location{ - Line: int(982), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(24), - }, - End: ast.Location{ - Line: int(982), - Column: int(25), - }, - File: p1, - }, - Ctx: p9269, - FreeVars: ast.Identifiers{ - "v", - }, + ast.FodderElement{ + Kind: ast.FodderKind(2), + Blanks: int(0), + Indent: int(10), + Comment: []string{ + "// 6 MSB of i", }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(30), - }, - End: ast.Location{ - Line: int(982), - Column: int(38), }, - File: p1, - }, - Ctx: p8794, - FreeVars: nil, - }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(983), - Column: int(9), }, - End: ast.Location{ - Line: int(1009), - Column: int(42), + Ctx: p11573, + FreeVars: ast.Identifiers{ + "base64_table", }, - File: p1, - }, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", - "std", - "v", }, + Id: "base64_table", }, - Cond: &ast.Binary{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(983), - Column: int(12), + Line: int(1106), + Column: int(24), }, End: ast.Location{ - Line: int(983), - Column: int(30), + Line: int(1106), + Column: int(43), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: ast.Identifiers{ - "std", - "v", + "arr", + "i", }, }, - Left: &ast.Apply{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(983), - Column: int(12), + Line: int(1106), + Column: int(25), }, End: ast.Location{ - Line: int(983), - Column: int(25), + Line: int(1106), + Column: int(37), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: ast.Identifiers{ - "std", - "v", + "arr", + "i", }, }, - Target: &ast.Index{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(983), - Column: int(12), + Line: int(1106), + Column: int(25), }, End: ast.Location{ - Line: int(983), - Column: int(22), + Line: int(1106), + Column: int(31), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: ast.Identifiers{ - "std", + "arr", + "i", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(983), - Column: int(12), + Line: int(1106), + Column: int(25), }, End: ast.Location{ - Line: int(983), - Column: int(15), + Line: int(1106), + Column: int(28), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: ast.Identifiers{ - "std", + "arr", }, }, - Id: "std", + Id: "arr", }, - Index: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1106), + Column: int(29), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1106), + Column: int(30), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: ast.Identifiers{ + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "i", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(983), - Column: int(23), - }, - End: ast.Location{ - Line: int(983), - Column: int(24), - }, - File: p1, - }, - Ctx: p9285, - FreeVars: ast.Identifiers{ - "v", - }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(14), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1106), + Column: int(34), }, - Id: "v", + End: ast.Location{ + Line: int(1106), + Column: int(37), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: nil, }, - Named: nil, + OriginalString: "252", }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(12), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(983), - Column: int(29), + Line: int(1106), + Column: int(42), }, End: ast.Location{ - Line: int(983), - Column: int(30), + Line: int(1106), + Column: int(43), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + OriginalString: "2", }, }, - BranchTrue: &ast.LiteralString{ + 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(1108), + Column: int(11), + }, + End: ast.Location{ + Line: int(1108), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(984), + Line: int(1108), Column: int(11), }, End: ast.Location{ - Line: int(984), - Column: int(15), + Line: int(1108), + Column: int(23), }, File: p1, }, - Ctx: p8794, - FreeVars: nil, + 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: p11573, + FreeVars: ast.Identifiers{ + "base64_table", + }, }, - Value: "{}", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "base64_table", }, - BranchFalse: &ast.Local{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(986), - Column: int(11), + Line: int(1108), + Column: int(24), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1108), + Column: int(41), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11573, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent_array_in_object", - "path", - "std", - "v", + "arr", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "params", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(986), - Column: int(17), - }, - End: ast.Location{ - Line: int(1003), - Column: int(14), - }, - File: p1, - }, - Ctx: p9293, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - "std", - }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(25), }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - }, - Optional: nil, + End: ast.Location{ + Line: int(1108), + Column: int(35), }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(13), - }, - End: ast.Location{ - Line: int(1003), - Column: int(14), - }, - File: p1, - }, - Ctx: p9297, - 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(987), - Column: int(16), - }, - End: ast.Location{ - Line: int(987), - Column: int(59), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(16), - }, - End: ast.Location{ - Line: int(987), - Column: int(34), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(16), - }, - End: ast.Location{ - Line: int(987), - Column: int(27), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(16), - }, - End: ast.Location{ - Line: int(987), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "isArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(28), - }, - End: ast.Location{ - Line: int(987), - Column: int(33), - }, - File: p1, - }, - Ctx: p9310, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(38), - }, - End: ast.Location{ - Line: int(987), - Column: int(59), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(38), - }, - End: ast.Location{ - Line: int(987), - Column: int(55), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(38), - }, - End: ast.Location{ - Line: int(987), - Column: int(48), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(38), - }, - End: ast.Location{ - Line: int(987), - Column: int(41), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(49), - }, - End: ast.Location{ - Line: int(987), - Column: int(54), - }, - File: p1, - }, - Ctx: p9323, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(58), - }, - End: ast.Location{ - Line: int(987), - Column: int(59), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(65), - }, - End: ast.Location{ - Line: int(996), - Column: int(14), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - }, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(27), - }, - End: ast.Location{ - Line: int(994), - Column: int(85), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(30), - }, - End: ast.Location{ - Line: int(994), - Column: int(52), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - }, - }, - Id: "indent_array_in_object", - }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(58), - }, - End: ast.Location{ - Line: int(994), - Column: int(72), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(58), - }, - End: ast.Location{ - Line: int(994), - Column: int(65), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(68), - }, - End: ast.Location{ - Line: int(994), - Column: int(72), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(78), - }, - End: ast.Location{ - Line: int(994), - Column: int(85), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(22), - }, - End: ast.Location{ - Line: int(995), - Column: int(44), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: nil, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(22), - }, - End: ast.Location{ - Line: int(995), - Column: int(26), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(29), - }, - End: ast.Location{ - Line: int(995), - Column: int(44), - }, - File: p1, - }, - Ctx: p9331, - FreeVars: nil, - }, - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(29), - }, - End: ast.Location{ - Line: int(995), - Column: int(33), - }, - File: p1, - }, - Ctx: nil, - FreeVars: 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(20), - }, - End: ast.Location{ - Line: int(1003), - Column: int(14), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "value", - }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(25), + }, + End: ast.Location{ + Line: int(1108), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(25), }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(23), - }, - End: ast.Location{ - Line: int(996), - Column: int(67), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(23), - }, - End: ast.Location{ - Line: int(996), - Column: int(42), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(23), - }, - End: ast.Location{ - Line: int(996), - Column: int(35), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(23), - }, - End: ast.Location{ - Line: int(996), - Column: int(26), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "isObject", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(36), - }, - End: ast.Location{ - Line: int(996), - Column: int(41), - }, - File: p1, - }, - Ctx: p9361, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(46), - }, - End: ast.Location{ - Line: int(996), - Column: int(67), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(46), - }, - End: ast.Location{ - Line: int(996), - Column: int(63), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(46), - }, - End: ast.Location{ - Line: int(996), - Column: int(56), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(46), - }, - End: ast.Location{ - Line: int(996), - Column: int(49), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(57), - }, - End: ast.Location{ - Line: int(996), - Column: int(62), - }, - File: p1, - }, - Ctx: p9374, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(66), - }, - End: ast.Location{ - Line: int(996), - Column: int(67), - }, - File: p1, - }, - Ctx: p9297, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, + End: ast.Location{ + Line: int(1108), + Column: int(28), }, - BranchTrue: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(996), - Column: int(73), - }, - End: ast.Location{ - Line: int(999), - Column: int(14), - }, - File: p1, - }, - Ctx: p9297, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(27), - }, - End: ast.Location{ - Line: int(997), - Column: int(41), - }, - File: p1, - }, - Ctx: p9382, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(27), - }, - End: ast.Location{ - Line: int(997), - Column: int(34), - }, - File: p1, - }, - Ctx: p9382, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(37), - }, - End: ast.Location{ - Line: int(997), - Column: int(41), - }, - File: p1, - }, - Ctx: p9382, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(22), - }, - End: ast.Location{ - Line: int(998), - Column: int(44), - }, - File: p1, - }, - Ctx: p9382, - FreeVars: nil, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(22), - }, - End: ast.Location{ - Line: int(998), - Column: int(26), - }, - File: p1, - }, - Ctx: p9382, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(29), - }, - End: ast.Location{ - Line: int(998), - Column: int(44), - }, - File: p1, - }, - Ctx: p9382, - FreeVars: nil, - }, - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(29), - }, - End: ast.Location{ - Line: int(998), - Column: int(33), - }, - File: p1, - }, - Ctx: nil, - FreeVars: 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(29), }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(999), - Column: int(20), - }, - End: ast.Location{ - Line: int(1003), - Column: int(14), - }, - File: p1, - }, - Ctx: p9297, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(27), - }, - End: ast.Location{ - Line: int(1001), - Column: int(34), - }, - File: p1, - }, - Ctx: p9398, - FreeVars: ast.Identifiers{ - "cindent", - }, - }, - Id: "cindent", - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Body: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1002), - Column: int(22), - }, - End: ast.Location{ - Line: int(1002), - Column: int(25), - }, - File: p1, - }, - Ctx: p9398, - FreeVars: nil, - }, - Value: " ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, + End: ast.Location{ + Line: int(1108), + Column: int(30), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + 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(1108), + Column: int(34), + }, + End: ast.Location{ + Line: int(1108), + Column: int(35), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: nil, + }, + OriginalString: "3", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1108), + Column: int(40), }, + End: ast.Location{ + Line: int(1108), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11573, + FreeVars: nil, + }, + 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(1109), + Column: int(11), + }, + End: ast.Location{ + Line: int(1109), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11573, + FreeVars: nil, + }, + Value: "==", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1104), + Column: int(15), + }, + End: ast.Location{ + Line: int(1109), + Column: int(15), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1110), + Column: int(9), + }, + End: ast.Location{ + Line: int(1110), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "arr", + "aux", + "i", + "r", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1110), + Column: int(9), + }, + End: ast.Location{ + Line: int(1110), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11527, + 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(1110), + Column: int(13), + }, + End: ast.Location{ + Line: int(1110), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11622, + 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(1110), + Column: int(18), + }, + End: ast.Location{ + Line: int(1110), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11622, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1110), + Column: int(18), + }, + End: ast.Location{ + Line: int(1110), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11622, + 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(1110), + Column: int(22), + }, + End: ast.Location{ + Line: int(1110), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11622, + FreeVars: nil, + }, + OriginalString: "3", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1110), + Column: int(25), + }, + End: ast.Location{ + Line: int(1110), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11622, + FreeVars: ast.Identifiers{ + "r", + "str", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1110), + Column: int(25), + }, + End: ast.Location{ + Line: int(1110), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11622, + 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(1110), + Column: int(29), + }, + End: ast.Location{ + Line: int(1110), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11622, + 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(1111), + Column: int(12), + }, + End: ast.Location{ + Line: int(1131), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + 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(1111), + Column: int(15), + }, + End: ast.Location{ + Line: int(1111), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "arr", + "i", + "std", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(15), + }, + End: ast.Location{ + Line: int(1111), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &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(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + 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(1111), + Column: int(19), + }, + End: ast.Location{ + Line: int(1111), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: nil, + }, + OriginalString: "2", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(24), + }, + End: ast.Location{ + Line: int(1111), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(24), + }, + End: ast.Location{ + Line: int(1111), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11527, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1111), + Column: int(24), + }, + End: ast.Location{ + Line: int(1111), + 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: nil, + }, + 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(1111), + Column: int(35), + }, + End: ast.Location{ + Line: int(1111), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11654, + 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(1112), + Column: int(9), + }, + End: ast.Location{ + Line: int(1120), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11527, + 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(1114), + Column: int(11), + }, + End: ast.Location{ + Line: int(1119), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(11), + }, + End: ast.Location{ + Line: int(1118), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(11), }, - Fun: nil, + End: ast.Location{ + Line: int(1116), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", }, }, - Body: &ast.Local{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1004), + Line: int(1114), Column: int(11), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1114), + Column: int(44), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11661, FreeVars: ast.Identifiers{ - "aux", - "cindent", - "params", - "path", - "std", - "v", + "arr", + "base64_table", + "i", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "lines", - Body: &ast.Apply{ + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(11), + }, + End: ast.Location{ + Line: int(1114), + 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: p11661, + 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(1114), + Column: int(24), + }, + End: ast.Location{ + Line: int(1114), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(25), + }, + End: ast.Location{ + Line: int(1114), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1114), + Column: int(25), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1114), + Column: int(31), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11661, FreeVars: ast.Identifiers{ - "aux", - "params", - "path", - "std", - "v", + "arr", + "i", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1114), + Column: int(25), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1114), + Column: int(28), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11661, 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + "arr", }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "arr", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "params", - "path", - "std", - "v", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", - }, - Optional: nil, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(29), }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "k", - "params", - "path", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "k", - "path", - "std", - "v", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "param", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "k", - "param", - "path", - "std", - "v", - }, - }, - Elements: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(13), - }, - End: ast.Location{ - Line: int(1005), - Column: int(98), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "aux", - "k", - "param", - "path", - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(13), - }, - End: ast.Location{ - Line: int(1005), - Column: int(56), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "k", - "param", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(13), - }, - End: ast.Location{ - Line: int(1005), - Column: int(42), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(13), - }, - End: ast.Location{ - Line: int(1005), - Column: int(36), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(13), - }, - End: ast.Location{ - Line: int(1005), - Column: int(33), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(13), - }, - End: ast.Location{ - Line: int(1005), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "escapeStringJson", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(34), - }, - End: ast.Location{ - Line: int(1005), - Column: int(35), - }, - File: p1, - }, - Ctx: p9446, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(39), - }, - End: ast.Location{ - Line: int(1005), - Column: int(42), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: nil, - }, - Value: ":", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(45), - }, - End: ast.Location{ - Line: int(1005), - Column: int(56), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(45), - }, - End: ast.Location{ - Line: int(1005), - Column: int(50), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Id: "param", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "space", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(59), - }, - End: ast.Location{ - Line: int(1005), - Column: int(98), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "aux", - "k", - "param", - "path", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(59), - }, - End: ast.Location{ - Line: int(1005), - Column: int(62), - }, - File: p1, - }, - Ctx: p9431, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(63), - }, - End: ast.Location{ - Line: int(1005), - Column: int(67), - }, - File: p1, - }, - Ctx: p9460, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(63), - }, - End: ast.Location{ - Line: int(1005), - Column: int(64), - }, - File: p1, - }, - Ctx: p9460, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(65), - }, - End: ast.Location{ - Line: int(1005), - Column: int(66), - }, - File: p1, - }, - Ctx: p9460, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(69), - }, - End: ast.Location{ - Line: int(1005), - Column: int(79), - }, - File: p1, - }, - Ctx: p9460, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(69), - }, - End: ast.Location{ - Line: int(1005), - Column: int(73), - }, - File: p1, - }, - Ctx: p9460, - FreeVars: ast.Identifiers{ - "path", - }, - }, - Id: "path", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(76), - }, - End: ast.Location{ - Line: int(1005), - Column: int(79), - }, - File: p1, - }, - Ctx: p9460, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(77), - }, - End: ast.Location{ - Line: int(1005), - Column: int(78), - }, - File: p1, - }, - Ctx: p9474, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - }, - TrailingComma: false, - }, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(81), - }, - End: ast.Location{ - Line: int(1005), - Column: int(97), - }, - File: p1, - }, - Ctx: p9460, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1005), - Column: int(81), - }, - End: ast.Location{ - Line: int(1005), - Column: int(86), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - }, - Id: "param", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "new_indent", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - TrailingComma: false, - }, - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(26), - }, - End: ast.Location{ - Line: int(1007), - Column: int(40), - }, - File: p1, - }, - Ctx: p9482, - FreeVars: ast.Identifiers{ - "k", - "params", - "v", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(27), - }, - End: ast.Location{ - Line: int(1007), - Column: int(39), - }, - File: p1, - }, - Ctx: p9486, - FreeVars: ast.Identifiers{ - "k", - "params", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(27), - }, - End: ast.Location{ - Line: int(1007), - Column: int(33), - }, - File: p1, - }, - Ctx: p9486, - FreeVars: ast.Identifiers{ - "params", - }, - }, - Id: "params", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(34), - }, - End: ast.Location{ - Line: int(1007), - Column: int(38), - }, - File: p1, - }, - Ctx: p9492, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(34), - }, - End: ast.Location{ - Line: int(1007), - Column: int(35), - }, - File: p1, - }, - Ctx: p9492, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(36), - }, - End: ast.Location{ - Line: int(1007), - Column: int(37), - }, - File: p1, - }, - Ctx: p9492, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(1114), + Column: int(30), }, + File: p1, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1006), - Column: int(22), - }, - End: ast.Location{ - Line: int(1006), - Column: int(41), - }, - File: p1, - }, - Ctx: p9482, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1006), - Column: int(22), - }, - End: ast.Location{ - Line: int(1006), - Column: int(38), - }, - File: p1, - }, - Ctx: p9482, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1006), - Column: int(22), - }, - End: ast.Location{ - Line: int(1006), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1006), - Column: int(39), - }, - End: ast.Location{ - Line: int(1006), - Column: int(40), - }, - File: p1, - }, - Ctx: p9507, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + Fodder: ast.Fodder{}, + Ctx: p11661, + 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(1114), + Column: int(34), }, + End: ast.Location{ + Line: int(1114), + Column: int(37), + }, + File: p1, }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, }, - TrailingComma: false, - TailStrict: false, + OriginalString: "252", }, - Fun: nil, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1114), + Column: int(42), + }, + End: ast.Location{ + Line: int(1114), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + OriginalString: "2", }, }, - Body: &ast.Apply{ + 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(1116), + Column: int(11), + }, + End: ast.Location{ + Line: int(1116), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1009), + Line: int(1116), Column: int(11), }, End: ast.Location{ - Line: int(1009), - Column: int(42), + Line: int(1116), + Column: int(23), }, File: p1, }, - Ctx: p8794, + 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: p11661, FreeVars: ast.Identifiers{ - "cindent", - "lines", - "std", + "base64_table", }, }, - Target: &ast.Index{ + Id: "base64_table", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(24), + }, + End: ast.Location{ + Line: int(1116), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1009), - Column: int(11), + Line: int(1116), + Column: int(24), }, End: ast.Location{ - Line: int(1009), - Column: int(19), + Line: int(1116), + Column: int(41), }, File: p1, }, - Ctx: p8794, + Fodder: ast.Fodder{}, + Ctx: p11661, FreeVars: ast.Identifiers{ - "std", + "arr", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1009), - Column: int(11), + Line: int(1116), + Column: int(25), }, End: ast.Location{ - Line: int(1009), - Column: int(14), + Line: int(1116), + Column: int(35), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11661, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "arr", + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1009), - Column: int(20), + Line: int(1116), + Column: int(25), }, End: ast.Location{ - Line: int(1009), - Column: int(34), + Line: int(1116), + Column: int(31), }, File: p1, }, - Ctx: p9518, + Fodder: ast.Fodder{}, + Ctx: p11661, FreeVars: ast.Identifiers{ - "cindent", + "arr", + "i", }, }, - Left: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1009), - Column: int(20), + Line: int(1116), + Column: int(25), }, End: ast.Location{ - Line: int(1009), - Column: int(24), + Line: int(1116), + Column: int(28), }, File: p1, }, - Ctx: p9518, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + }, }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "arr", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1009), - Column: int(27), + Line: int(1116), + Column: int(29), }, End: ast.Location{ - Line: int(1009), - Column: int(34), + Line: int(1116), + Column: int(30), }, File: p1, }, - Ctx: p9518, + Fodder: ast.Fodder{}, + Ctx: p11661, FreeVars: ast.Identifiers{ - "cindent", + "i", }, }, - Id: "cindent", + Id: "i", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(14), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1009), - Column: int(36), + Line: int(1116), + Column: int(34), }, End: ast.Location{ - Line: int(1009), - Column: int(41), + Line: int(1116), + Column: int(35), }, File: p1, }, - Ctx: p9518, - FreeVars: ast.Identifiers{ - "lines", + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + OriginalString: "3", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(40), + }, + End: ast.Location{ + Line: int(1116), + Column: int(41), }, + File: p1, }, - Id: "lines", + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, }, + OriginalString: "4", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1010), - Column: int(5), - }, - End: ast.Location{ - Line: int(1010), - Column: int(23), - }, - File: p1, - }, - Ctx: p8785, - FreeVars: ast.Identifiers{ - "aux", - "value", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1010), - Column: int(5), - }, - End: ast.Location{ - Line: int(1010), - Column: int(8), - }, - File: p1, - }, - Ctx: p8785, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1010), - Column: int(9), - }, - End: ast.Location{ - Line: int(1010), - Column: int(14), - }, - File: p1, - }, - Ctx: p9532, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1010), - Column: int(16), - }, - End: ast.Location{ - Line: int(1010), - Column: int(18), - }, - File: p1, - }, - Ctx: p9532, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1010), - Column: int(20), - }, - End: ast.Location{ - Line: int(1010), - Column: int(22), - }, - File: p1, - }, - Ctx: p9532, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "manifestYamlStream", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "indent_array_in_object", - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1012), - Column: int(52), - }, - End: ast.Location{ - Line: int(1012), - Column: int(57), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: nil, - }, - Value: false, - }, - }, - ast.NamedParameter{ - Name: "c_document_end", - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1012), - Column: int(74), - }, - End: ast.Location{ - Line: int(1012), - Column: int(78), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: nil, - }, - Value: true, - }, - }, - }, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(5), - }, - End: ast.Location{ - Line: int(1018), - Column: int(53), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "c_document_end", - "indent_array_in_object", - "std", - "value", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(8), - }, - End: ast.Location{ - Line: int(1013), - Column: int(34), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(8), - }, - End: ast.Location{ - Line: int(1013), - Column: int(23), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(8), - }, - End: ast.Location{ - Line: int(1013), - Column: int(16), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(8), - }, - End: ast.Location{ - Line: int(1013), - Column: int(11), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(17), - }, - End: ast.Location{ - Line: int(1013), - Column: int(22), - }, - File: p1, - }, - Ctx: p9557, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(27), - }, - End: ast.Location{ - Line: int(1013), - Column: int(34), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: nil, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(7), - }, - End: ast.Location{ - Line: int(1014), - Column: int(75), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Expr: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(13), - }, - End: ast.Location{ - Line: int(1014), - Column: int(75), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(13), - }, - End: ast.Location{ - Line: int(1014), - Column: int(57), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: nil, - }, - Value: "manifestYamlStream only takes arrays, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(60), - }, - End: ast.Location{ - Line: int(1014), - Column: int(75), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(60), - }, - End: ast.Location{ - Line: int(1014), - Column: int(68), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(60), - }, - End: ast.Location{ - Line: int(1014), - Column: int(63), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1014), - Column: int(69), - }, - End: ast.Location{ - Line: int(1014), - Column: int(74), - }, - File: p1, - }, - Ctx: p9574, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(7), - }, - End: ast.Location{ - Line: int(1018), - Column: int(53), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "c_document_end", - "indent_array_in_object", - "std", - "value", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(7), - }, - End: ast.Location{ - Line: int(1018), - Column: int(8), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - "std", - "value", - }, - }, - Left: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(7), - }, - End: ast.Location{ - Line: int(1016), - Column: int(14), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: nil, - }, - Value: "---\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(17), - }, - End: ast.Location{ - Line: int(1018), - Column: int(8), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - "std", - "value", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(17), - }, - End: ast.Location{ - Line: int(1016), - Column: int(25), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1016), - Column: int(17), - }, - End: ast.Location{ - Line: int(1016), - Column: int(20), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(9), - }, - End: ast.Location{ - Line: int(1017), - Column: int(18), - }, - File: p1, - }, - Ctx: p9590, - FreeVars: nil, - }, - Value: "\n---\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(16), + Right: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(44), + }, + End: ast.Location{ + Line: int(1116), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(45), + }, + End: ast.Location{ + Line: int(1116), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(45), + }, + End: ast.Location{ + Line: int(1116), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(45), + }, + End: ast.Location{ + Line: int(1116), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(49), + }, + End: ast.Location{ + Line: int(1116), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(49), + }, + End: ast.Location{ + Line: int(1116), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + 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(1116), + Column: int(53), + }, + End: ast.Location{ + Line: int(1116), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + 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(1116), + Column: int(58), + }, + End: ast.Location{ + Line: int(1116), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + OriginalString: "240", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1116), + Column: int(66), + }, + End: ast.Location{ + Line: int(1116), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + 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(1118), + Column: int(11), + }, + End: ast.Location{ + Line: int(1118), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1118), + Column: int(11), + }, + End: ast.Location{ + Line: int(1118), + 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: p11661, + 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(1118), + Column: int(24), + }, + End: ast.Location{ + Line: int(1118), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1118), + Column: int(25), + }, + End: ast.Location{ + Line: int(1118), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1118), + Column: int(25), + }, + End: ast.Location{ + Line: int(1118), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1118), + Column: int(25), + }, + End: ast.Location{ + Line: int(1118), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1118), + Column: int(29), + }, + End: ast.Location{ + Line: int(1118), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1118), + Column: int(29), + }, + End: ast.Location{ + Line: int(1118), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + 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(1118), + Column: int(33), + }, + End: ast.Location{ + Line: int(1118), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + 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(1118), + Column: int(38), + }, + End: ast.Location{ + Line: int(1118), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + OriginalString: "15", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1118), + Column: int(45), + }, + End: ast.Location{ + Line: int(1118), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11661, + FreeVars: nil, + }, + 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(1119), + Column: int(11), + }, + End: ast.Location{ + Line: int(1119), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p11661, + FreeVars: nil, + }, + Value: "=", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1112), + Column: int(15), + }, + End: ast.Location{ + Line: int(1119), + Column: int(14), + }, + File: p1, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1120), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1120), + Column: int(33), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11527, FreeVars: ast.Identifiers{ - "indent_array_in_object", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "e", + "arr", + "aux", + "i", + "r", + "str", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Array{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1120), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1120), + Column: int(12), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11527, FreeVars: ast.Identifiers{ - "e", - "indent_array_in_object", - "std", + "aux", }, }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(21), + 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(1120), + Column: int(13), + }, + End: ast.Location{ + Line: int(1120), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1017), - Column: int(67), + Fodder: ast.Fodder{}, + Ctx: p11750, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p9606, - FreeVars: ast.Identifiers{ - "e", - "indent_array_in_object", - "std", }, + Id: "arr", }, - Target: &ast.Index{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1017), - Column: int(21), + Line: int(1120), + Column: int(18), }, End: ast.Location{ - Line: int(1017), - Column: int(40), + Line: int(1120), + Column: int(23), }, File: p1, }, - Ctx: p9606, + Fodder: ast.Fodder{}, + Ctx: p11750, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1017), - Column: int(21), + Line: int(1120), + Column: int(18), }, End: ast.Location{ - Line: int(1017), - Column: int(24), + Line: int(1120), + Column: int(19), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11750, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Id: "std", + Id: "i", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1120), + Column: int(22), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1120), + Column: int(23), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11750, FreeVars: nil, }, - Value: "manifestYamlDoc", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "3", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(41), - }, - End: ast.Location{ - Line: int(1017), - Column: int(42), - }, - File: p1, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1120), + Column: int(25), + }, + End: ast.Location{ + Line: int(1120), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11750, + FreeVars: ast.Identifiers{ + "r", + "str", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1120), + Column: int(25), }, - Ctx: p9615, - FreeVars: ast.Identifiers{ - "e", + End: ast.Location{ + Line: int(1120), + Column: int(26), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11750, + FreeVars: ast.Identifiers{ + "r", }, - Id: "e", }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(44), - }, - End: ast.Location{ - Line: int(1017), - Column: int(66), - }, - File: p1, + Id: "r", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1120), + Column: int(29), }, - Ctx: p9615, - FreeVars: ast.Identifiers{ - "indent_array_in_object", + End: ast.Location{ + Line: int(1120), + Column: int(32), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11750, + FreeVars: ast.Identifiers{ + "str", }, - Id: "indent_array_in_object", }, + Id: "str", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(77), - }, - End: ast.Location{ - Line: int(1017), - Column: int(82), + CommaFodder: nil, }, - File: p1, }, - Ctx: p9590, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1018), - Column: int(11), - }, - End: ast.Location{ - Line: int(1018), - Column: int(53), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "c_document_end", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1018), - Column: int(14), - }, - End: ast.Location{ - Line: int(1018), - Column: int(28), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: ast.Identifiers{ - "c_document_end", - }, - }, - Id: "c_document_end", - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1018), - Column: int(34), - }, - End: ast.Location{ - Line: int(1018), - Column: int(43), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: nil, - }, - Value: "\n...\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1018), - Column: int(49), - }, - End: ast.Location{ - Line: int(1018), - Column: int(53), - }, - File: p1, - }, - Ctx: p9542, - FreeVars: nil, - }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "o", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(5), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(8), - }, - End: ast.Location{ - Line: int(1022), - Column: int(31), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(8), - }, - End: ast.Location{ - Line: int(1022), - Column: int(19), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(8), - }, - End: ast.Location{ - Line: int(1022), - Column: int(16), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(8), - }, - End: ast.Location{ - Line: int(1022), - Column: int(11), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(17), - }, - End: ast.Location{ - Line: int(1022), - Column: int(18), - }, - File: p1, - }, - Ctx: p9645, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(23), - }, - End: ast.Location{ - Line: int(1022), - Column: int(31), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(7), - }, - End: ast.Location{ - Line: int(1027), - Column: int(40), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "fields", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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), + Named: nil, }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "o", - "std", + TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Array{ + BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1122), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1131), + Column: int(33), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11527, FreeVars: ast.Identifiers{ - "k", - "o", - "std", + "arr", + "aux", + "base64_table", + "i", + "r", }, }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "o", - "std", - }, - }, - Target: &ast.Index{ + 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(0), - Column: int(0), + Line: int(1124), + Column: int(11), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1130), + Column: int(42), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", + "arr", + "base64_table", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1124), + Column: int(11), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1128), + Column: int(73), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "arr", + "base64_table", + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(9), + Line: int(1124), + Column: int(11), }, End: ast.Location{ - Line: int(1024), - Column: int(17), + Line: int(1126), + Column: int(68), }, File: p1, }, - Ctx: p9674, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, }, - Value: "%s: %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(20), + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(11), + }, + End: ast.Location{ + Line: int(1124), + Column: int(44), + }, + File: p1, }, - End: ast.Location{ - Line: int(1024), - Column: int(73), + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(11), + }, + End: ast.Location{ + Line: int(1124), + 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: p11769, + FreeVars: ast.Identifiers{ + "base64_table", + }, }, - File: p1, - }, - Ctx: p9674, - FreeVars: ast.Identifiers{ - "k", - "o", - "std", + Id: "base64_table", }, - }, - Elements: ast.Nodes{ - &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(21), + Line: int(1124), + Column: int(24), }, End: ast.Location{ - Line: int(1024), - Column: int(46), + Line: int(1124), + Column: int(43), }, File: p1, }, - Ctx: p9679, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "k", - "std", + "arr", + "i", }, }, - Target: &ast.Index{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(21), + Line: int(1124), + Column: int(25), }, End: ast.Location{ - Line: int(1024), - Column: int(43), + Line: int(1124), + Column: int(37), }, File: p1, }, - Ctx: p9679, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", + "arr", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(21), + Line: int(1124), + Column: int(25), }, End: ast.Location{ - Line: int(1024), - Column: int(24), + Line: int(1124), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", + "arr", + "i", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(25), + }, + End: ast.Location{ + Line: int(1124), + Column: int(28), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "arr", }, - Value: "escapeStringPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(44), + Line: int(1124), + Column: int(29), }, End: ast.Location{ - Line: int(1024), - Column: int(45), + Line: int(1124), + Column: int(30), }, File: p1, }, - Ctx: p9688, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "k", + "i", }, }, - Id: "k", + 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(1124), + Column: int(34), + }, + End: ast.Location{ + Line: int(1124), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "252", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1124), + Column: int(42), + }, + End: ast.Location{ + Line: int(1124), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + 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(1126), + Column: int(11), + }, + End: ast.Location{ + Line: int(1126), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", + }, }, - &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(48), + Line: int(1126), + Column: int(11), }, End: ast.Location{ - Line: int(1024), - Column: int(72), + Line: int(1126), + Column: int(23), }, File: p1, }, - Ctx: p9679, + 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: p11769, FreeVars: ast.Identifiers{ - "k", - "o", - "std", + "base64_table", }, }, - Target: &ast.Index{ + Id: "base64_table", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(24), + }, + End: ast.Location{ + Line: int(1126), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(48), + Line: int(1126), + Column: int(24), }, End: ast.Location{ - Line: int(1024), - Column: int(66), + Line: int(1126), + Column: int(41), }, File: p1, }, - Ctx: p9679, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", + "arr", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(48), + Line: int(1126), + Column: int(25), }, End: ast.Location{ - Line: int(1024), - Column: int(51), + Line: int(1126), + Column: int(35), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "arr", + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(67), + Line: int(1126), + Column: int(25), }, End: ast.Location{ - Line: int(1024), - Column: int(71), + Line: int(1126), + Column: int(31), }, File: p1, }, - Ctx: p9699, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "k", - "o", + "arr", + "i", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(67), + Line: int(1126), + Column: int(25), }, End: ast.Location{ - Line: int(1024), - Column: int(68), + Line: int(1126), + Column: int(28), }, File: p1, }, - Ctx: p9699, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "o", + "arr", }, }, - Id: "o", + Id: "arr", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1024), - Column: int(69), + Line: int(1126), + Column: int(29), }, End: ast.Location{ - Line: int(1024), - Column: int(70), + Line: int(1126), + Column: int(30), }, File: p1, }, - Ctx: p9699, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "k", + "i", }, - }, - Id: "k", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(18), - }, - End: ast.Location{ - Line: int(1025), - Column: int(37), - }, - File: p1, - }, - Ctx: p9706, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(18), - }, - End: ast.Location{ - Line: int(1025), - Column: int(34), - }, - File: p1, - }, - Ctx: p9706, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(18), - }, - End: ast.Location{ - Line: int(1025), - Column: int(21), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(35), - }, - End: ast.Location{ - Line: int(1025), - Column: int(36), - }, - File: p1, - }, - Ctx: p9715, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(7), - }, - End: ast.Location{ - Line: int(1027), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "{%s}", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(16), - }, - End: ast.Location{ - Line: int(1027), - Column: int(40), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(17), - }, - End: ast.Location{ - Line: int(1027), - Column: int(39), - }, - File: p1, - }, - Ctx: p9730, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(17), - }, - End: ast.Location{ - Line: int(1027), - Column: int(25), - }, - File: p1, - }, - Ctx: p9730, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(17), - }, - End: ast.Location{ - Line: int(1027), - Column: int(20), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(26), - }, - End: ast.Location{ - Line: int(1027), - Column: int(30), - }, - File: p1, - }, - Ctx: p9739, - FreeVars: nil, - }, - Value: ", ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(32), - }, - End: ast.Location{ - Line: int(1027), - Column: int(38), - }, - File: p1, - }, - Ctx: p9739, - FreeVars: ast.Identifiers{ - "fields", - }, - }, - Id: "fields", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(10), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(13), - }, - End: ast.Location{ - Line: int(1028), - Column: int(35), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(13), - }, - End: ast.Location{ - Line: int(1028), - Column: int(24), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(13), - }, - End: ast.Location{ - Line: int(1028), - Column: int(21), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(13), - }, - End: ast.Location{ - Line: int(1028), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(22), - }, - End: ast.Location{ - Line: int(1028), - Column: int(23), - }, - File: p1, - }, - Ctx: p9755, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(28), - }, - End: ast.Location{ - Line: int(1028), - Column: int(35), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(7), - }, - End: ast.Location{ - Line: int(1029), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "[%s]", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(16), - }, - End: ast.Location{ - Line: int(1029), - Column: int(70), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(17), - }, - End: ast.Location{ - Line: int(1029), - Column: int(69), - }, - File: p1, - }, - Ctx: p9771, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(17), - }, - End: ast.Location{ - Line: int(1029), - Column: int(25), - }, - File: p1, - }, - Ctx: p9771, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(17), - }, - End: ast.Location{ - Line: int(1029), - Column: int(20), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(26), - }, - End: ast.Location{ - Line: int(1029), - Column: int(30), - }, - File: p1, - }, - Ctx: p9780, - FreeVars: nil, - }, - Value: ", ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + }, + 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(1126), + Column: int(34), + }, + End: ast.Location{ + Line: int(1126), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "3", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(40), + }, + End: ast.Location{ + Line: int(1126), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "4", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(16), + Right: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(44), + }, + End: ast.Location{ + Line: int(1126), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(45), + }, + End: ast.Location{ + Line: int(1126), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(45), + }, + End: ast.Location{ + Line: int(1126), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(45), + }, + End: ast.Location{ + Line: int(1126), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(49), + }, + End: ast.Location{ + Line: int(1126), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(49), + }, + End: ast.Location{ + Line: int(1126), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + 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(1126), + Column: int(53), + }, + End: ast.Location{ + Line: int(1126), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + 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(1126), + Column: int(58), + }, + End: ast.Location{ + Line: int(1126), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "240", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1126), + Column: int(66), + }, + End: ast.Location{ + Line: int(1126), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "4", + }, + }, }, - File: nil, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: nil, - FreeVars: nil, }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1128), + Column: int(11), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1128), + Column: int(73), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", + "arr", + "base64_table", + "i", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "o2", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(11), + }, + End: ast.Location{ + Line: int(1128), + 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: p11769, + FreeVars: ast.Identifiers{ + "base64_table", + }, }, - Optional: nil, + Id: "base64_table", }, - TrailingComma: false, - Body: &ast.Array{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1128), + Column: int(24), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1128), + Column: int(72), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "o2", - "std", + "arr", + "i", }, }, - Elements: ast.Nodes{ - &ast.Apply{ + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(24), + }, + End: ast.Location{ + Line: int(1128), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1029), - Column: int(33), + Line: int(1128), + Column: int(25), }, End: ast.Location{ - Line: int(1029), - Column: int(55), + Line: int(1128), + Column: int(40), }, File: p1, }, - Ctx: p9796, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "o2", - "std", + "arr", + "i", }, }, - Target: &ast.Index{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1029), - Column: int(33), + Line: int(1128), + Column: int(25), }, End: ast.Location{ - Line: int(1029), - Column: int(51), + Line: int(1128), + Column: int(35), }, File: p1, }, - Ctx: p9796, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", + "arr", + "i", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1029), - Column: int(33), + Line: int(1128), + Column: int(25), }, End: ast.Location{ - Line: int(1029), - Column: int(36), + Line: int(1128), + Column: int(28), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "std", + "arr", }, }, - Id: "std", + Id: "arr", }, - Index: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1128), + Column: int(29), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1128), + Column: int(34), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(29), + }, + End: ast.Location{ + Line: int(1128), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + 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(1128), + Column: int(33), + }, + End: ast.Location{ + Line: int(1128), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "1", + }, }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(14), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(38), + }, + End: ast.Location{ + Line: int(1128), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "15", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(45), + }, + End: ast.Location{ + Line: int(1128), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "2", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(16), + Right: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(49), + }, + End: ast.Location{ + Line: int(1128), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(50), + }, + End: ast.Location{ + Line: int(1128), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(50), + }, + End: ast.Location{ + Line: int(1128), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(50), + }, + End: ast.Location{ + Line: int(1128), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(54), + }, + End: ast.Location{ + Line: int(1128), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1029), - Column: int(52), + Line: int(1128), + Column: int(54), }, End: ast.Location{ - Line: int(1029), - Column: int(54), + Line: int(1128), + Column: int(55), }, File: p1, }, - Ctx: p9805, + Fodder: ast.Fodder{}, + Ctx: p11769, FreeVars: ast.Identifiers{ - "o2", + "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(1128), + Column: int(58), + }, + End: ast.Location{ + Line: int(1128), + Column: int(59), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, }, - Id: "o2", + OriginalString: "2", }, }, - Named: nil, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - TrailingComma: false, - TailStrict: false, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(14), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(63), + }, + End: ast.Location{ + Line: int(1128), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "192", + }, + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1128), + Column: int(71), + }, + End: ast.Location{ + Line: int(1128), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "6", }, }, - TrailingComma: false, + }, + 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(1130), + Column: int(11), + }, + End: ast.Location{ + Line: int(1130), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "base64_table", + "i", }, }, - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1029), - Column: int(66), + Line: int(1130), + Column: int(11), }, End: ast.Location{ - Line: int(1029), - Column: int(67), + Line: int(1130), + Column: int(23), }, File: p1, }, - Ctx: p9780, + 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: p11769, FreeVars: ast.Identifiers{ - "o", + "base64_table", }, }, - Id: "o", + Id: "base64_table", }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(10), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(13), - }, - End: ast.Location{ - Line: int(1030), - Column: int(36), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(13), - }, - End: ast.Location{ - Line: int(1030), - Column: int(24), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(13), - }, - End: ast.Location{ - Line: int(1030), - Column: int(21), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(13), - }, - End: ast.Location{ - Line: int(1030), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(22), - }, - End: ast.Location{ - Line: int(1030), - Column: int(23), - }, - File: p1, - }, - Ctx: p9822, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(28), - }, - End: ast.Location{ - Line: int(1030), - Column: int(36), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(7), - }, - End: ast.Location{ - Line: int(1031), - Column: int(11), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "%s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(14), - }, - End: ast.Location{ - Line: int(1031), - Column: int(41), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(15), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1130), + Column: int(25), + }, + End: ast.Location{ + Line: int(1130), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1130), + Column: int(25), + }, + End: ast.Location{ + Line: int(1130), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1130), + Column: int(25), + }, + End: ast.Location{ + Line: int(1130), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1130), + Column: int(29), + }, + End: ast.Location{ + Line: int(1130), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1130), + Column: int(29), + }, + End: ast.Location{ + Line: int(1130), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + 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(1130), + Column: int(33), + }, + End: ast.Location{ + Line: int(1130), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + 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(1130), + Column: int(38), + }, + End: ast.Location{ + Line: int(1130), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11769, + FreeVars: nil, + }, + OriginalString: "63", + }, + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, }, - End: ast.Location{ - Line: int(1031), - Column: int(40), + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1122), + Column: int(15), + }, + End: ast.Location{ + Line: int(1130), + Column: int(42), + }, + File: p1, }, - File: p1, - }, - Ctx: p9838, - FreeVars: ast.Identifiers{ - "o", - "std", }, }, - Target: &ast.Index{ + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1031), - Column: int(15), + Line: int(1131), + Column: int(9), }, End: ast.Location{ - Line: int(1031), - Column: int(37), + Line: int(1131), + Column: int(33), }, File: p1, }, - Ctx: p9838, + Fodder: ast.Fodder{}, + Ctx: p11527, FreeVars: ast.Identifiers{ - "std", + "arr", + "aux", + "i", + "r", + "str", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1031), - Column: int(15), + Line: int(1131), + Column: int(9), }, End: ast.Location{ - Line: int(1031), - Column: int(18), + Line: int(1131), + Column: int(12), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p11527, FreeVars: ast.Identifiers{ - "std", + "aux", }, }, - Id: "std", + Id: "aux", }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(13), + }, + End: ast.Location{ + Line: int(1131), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11891, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", }, - File: nil, + CommaFodder: ast.Fodder{}, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "escapeStringPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(38), + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(18), + }, + End: ast.Location{ + Line: int(1131), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11891, + FreeVars: ast.Identifiers{ + "i", + }, }, - End: ast.Location{ - Line: int(1031), - Column: int(39), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(18), + }, + End: ast.Location{ + Line: int(1131), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11891, + 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(1131), + Column: int(22), + }, + End: ast.Location{ + Line: int(1131), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11891, + FreeVars: nil, + }, + OriginalString: "3", }, - File: p1, }, - Ctx: p9847, - FreeVars: ast.Identifiers{ - "o", + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(25), + }, + End: ast.Location{ + Line: int(1131), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11891, + FreeVars: ast.Identifiers{ + "r", + "str", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1131), + Column: int(25), + }, + End: ast.Location{ + Line: int(1131), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11891, + 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(1131), + Column: int(29), + }, + End: ast.Location{ + Line: int(1131), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11891, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, }, + CommaFodder: nil, }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(10), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(13), - }, - End: ast.Location{ - Line: int(1032), - Column: int(38), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(13), - }, - End: ast.Location{ - Line: int(1032), - Column: int(24), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(13), - }, - End: ast.Location{ - Line: int(1032), - Column: int(21), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(13), - }, - End: ast.Location{ - Line: int(1032), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(22), }, - End: ast.Location{ - Line: int(1032), - Column: int(23), - }, - File: p1, - }, - Ctx: p9862, - FreeVars: ast.Identifiers{ - "o", + Named: nil, }, + TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(28), - }, - End: ast.Location{ - Line: int(1032), - Column: int(38), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(7), - }, - End: ast.Location{ - Line: int(1033), - Column: int(39), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(13), - }, - End: ast.Location{ - Line: int(1033), - Column: int(39), }, - File: p1, }, - Ctx: p9632, - FreeVars: nil, }, - Value: "cannot manifest function", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(10), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(13), - }, - End: ast.Location{ - Line: int(1034), - Column: int(36), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(13), - }, - End: ast.Location{ - Line: int(1034), - Column: int(24), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(13), - }, - End: ast.Location{ - Line: int(1034), - Column: int(21), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(13), - }, - End: ast.Location{ - Line: int(1034), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(22), - }, - End: ast.Location{ - Line: int(1034), - Column: int(23), - }, - File: p1, - }, - Ctx: p9880, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(28), - }, - End: ast.Location{ - Line: int(1034), - Column: int(36), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "number", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(7), - }, - End: ast.Location{ - Line: int(1035), - Column: int(22), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(7), - }, - End: ast.Location{ - Line: int(1035), - Column: int(19), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(7), - }, - End: ast.Location{ - Line: int(1035), - Column: int(10), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "toString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(20), - }, - End: ast.Location{ - Line: int(1035), - Column: int(21), - }, - File: p1, - }, - Ctx: p9892, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + Fun: nil, + CloseFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(10), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(13), - }, - End: ast.Location{ - Line: int(1036), - Column: int(22), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(13), - }, - End: ast.Location{ - Line: int(1036), - Column: int(14), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(18), - }, - End: ast.Location{ - Line: int(1036), - Column: int(22), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: true, - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(7), - }, - End: ast.Location{ - Line: int(1037), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "True", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(10), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(13), - }, - End: ast.Location{ - Line: int(1038), - Column: int(23), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(13), - }, - End: ast.Location{ - Line: int(1038), - Column: int(14), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(18), - }, - End: ast.Location{ - Line: int(1038), - Column: int(23), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: false, - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(7), - }, - End: ast.Location{ - Line: int(1039), - Column: int(14), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "False", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(10), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(13), - }, - End: ast.Location{ - Line: int(1040), - Column: int(22), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(13), - }, - End: ast.Location{ - Line: int(1040), - Column: int(14), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(18), - }, - End: ast.Location{ - Line: int(1040), - Column: int(22), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1041), - Column: int(7), - }, - End: ast.Location{ - Line: int(1041), - Column: int(13), - }, - File: p1, - }, - Ctx: p9632, - FreeVars: nil, - }, - Value: "None", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - }, - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, }, }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "manifestPythonVars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "conf", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(5), - }, - End: ast.Location{ - Line: int(1045), - Column: int(32), - }, - File: p1, - }, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "conf", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "vars", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "conf", - "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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1133), + Column: int(5), }, - Target: &ast.Var{ + End: ast.Location{ + Line: int(1137), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p11468, + 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(0), - Column: int(0), + Line: int(1133), + Column: int(20), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(73), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11909, FreeVars: ast.Identifiers{ + "bytes", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(20), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(29), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11909, FreeVars: ast.Identifiers{ - "conf", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1133), + Column: int(20), + }, + End: ast.Location{ + Line: int(1133), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Optional: nil, + Id: "std", }, - TrailingComma: false, - Body: &ast.Array{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -112659,653 +152157,553 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", - }, + FreeVars: nil, }, - Elements: ast.Nodes{ - &ast.Apply{ + Value: "foldl", + 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(0), - Column: int(0), + Line: int(1133), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(59), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", + Fodder: ast.Fodder{}, + Ctx: p11918, + FreeVars: nil, + }, + 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(1133), + Column: int(39), + }, + End: ast.Location{ + Line: int(1133), + 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(1133), + Column: int(42), + }, + End: ast.Location{ + Line: int(1133), + Column: int(43), + }, + File: p1, + }, }, }, - Target: &ast.Index{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(45), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(59), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11921, FreeVars: ast.Identifiers{ - "std", + "a", + "r", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(45), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(46), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p11921, FreeVars: ast.Identifiers{ - "std", + "r", }, }, - Id: "std", + Id: "r", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(17), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(51), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1133), + Column: int(58), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11921, + FreeVars: ast.Identifiers{ + "a", }, - Ctx: nil, - FreeVars: nil, }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1044), - Column: int(19), + Line: int(1133), + Column: int(51), }, End: ast.Location{ - Line: int(1044), - Column: int(28), + Line: int(1133), + Column: int(52), }, File: p1, }, - Ctx: p9950, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p11921, + FreeVars: ast.Identifiers{ + "a", + }, }, - Value: "%s = %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "a", }, - &ast.Array{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1044), - Column: int(31), + Line: int(1133), + Column: int(55), }, End: ast.Location{ - Line: int(1044), - Column: int(63), + Line: int(1133), + Column: int(58), }, File: p1, }, - Ctx: p9950, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(32), - }, - End: ast.Location{ - Line: int(1044), - Column: int(33), - }, - File: p1, - }, - Ctx: p9955, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(35), - }, - End: ast.Location{ - Line: int(1044), - Column: int(62), - }, - File: p1, - }, - Ctx: p9955, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(35), - }, - End: ast.Location{ - Line: int(1044), - Column: int(53), - }, - File: p1, - }, - Ctx: p9955, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(35), - }, - End: ast.Location{ - Line: int(1044), - Column: int(38), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "manifestPython", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(54), - }, - End: ast.Location{ - Line: int(1044), - Column: int(61), - }, - File: p1, - }, - Ctx: p9966, - FreeVars: ast.Identifiers{ - "conf", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(54), - }, - End: ast.Location{ - Line: int(1044), - Column: int(58), - }, - File: p1, - }, - Ctx: p9966, - FreeVars: ast.Identifiers{ - "conf", - }, - }, - Id: "conf", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(59), - }, - End: ast.Location{ - Line: int(1044), - Column: int(60), - }, - File: p1, - }, - Ctx: p9966, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, + Fodder: ast.Fodder{}, + Ctx: p11921, + FreeVars: nil, }, - TrailingComma: false, + OriginalString: "256", }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(73), - }, - End: ast.Location{ - Line: int(1044), - Column: int(95), - }, - File: p1, - }, - Ctx: p9973, - FreeVars: ast.Identifiers{ - "conf", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(73), - }, - End: ast.Location{ - Line: int(1044), - Column: int(89), - }, - File: p1, - }, - Ctx: p9973, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(73), - }, - End: ast.Location{ - Line: int(1044), - Column: int(76), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Id: "std", + CommaFodder: ast.Fodder{}, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1133), + Column: int(61), + }, + End: ast.Location{ + Line: int(1133), + Column: int(66), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p11918, + FreeVars: ast.Identifiers{ + "bytes", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "bytes", }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1044), - Column: int(90), + Line: int(1133), + Column: int(68), }, End: ast.Location{ - Line: int(1044), - Column: int(94), + Line: int(1133), + Column: int(72), }, File: p1, }, - Ctx: p9982, - FreeVars: ast.Identifiers{ - "conf", - }, + Fodder: ast.Fodder{}, + Ctx: p11918, + FreeVars: nil, }, - Id: "conf", + Value: true, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(5), - }, - End: ast.Location{ - Line: int(1045), - Column: int(32), - }, - File: p1, - }, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "std", - "vars", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(5), - }, - End: ast.Location{ - Line: int(1045), - Column: int(13), - }, - File: p1, - }, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1045), - Column: int(5), + Line: int(1133), + Column: int(11), }, End: ast.Location{ - Line: int(1045), - Column: int(8), + Line: int(1133), + Column: int(73), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", }, - Index: &ast.LiteralString{ + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1134), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1137), + Column: int(24), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p11468, + FreeVars: ast.Identifiers{ + "aux", + "bytes", + "sanity", }, - Ctx: nil, - FreeVars: nil, }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + Cond: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1045), - Column: int(14), + Line: int(1134), + Column: int(8), }, End: ast.Location{ - Line: int(1045), - Column: int(18), + Line: int(1134), + Column: int(15), }, File: p1, }, - Ctx: p9993, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p11468, + FreeVars: ast.Identifiers{ + "sanity", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1134), + Column: int(9), + }, + End: ast.Location{ + Line: int(1134), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11468, + FreeVars: ast.Identifiers{ + "sanity", + }, + }, + Id: "sanity", }, - Value: "\n", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - &ast.Binary{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1045), - Column: int(20), + Line: int(1135), + Column: int(7), }, End: ast.Location{ - Line: int(1045), - Column: int(31), + Line: int(1135), + Column: int(71), }, File: p1, }, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "vars", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, }, + Ctx: p11468, + FreeVars: nil, }, - Left: &ast.Var{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1045), - Column: int(20), + Line: int(1135), + Column: int(13), }, End: ast.Location{ - Line: int(1045), - Column: int(24), + Line: int(1135), + Column: int(71), }, File: p1, }, - Ctx: p9993, - FreeVars: ast.Identifiers{ - "vars", + Fodder: ast.Fodder{}, + Ctx: p11468, + FreeVars: nil, + }, + 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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1137), + Column: int(7), + }, + End: ast.Location{ + Line: int(1137), + Column: int(24), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11468, + FreeVars: ast.Identifiers{ + "aux", + "bytes", }, - Id: "vars", }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1045), - Column: int(27), + Line: int(1137), + Column: int(7), }, End: ast.Location{ - Line: int(1045), - Column: int(31), + Line: int(1137), + Column: int(10), }, File: p1, }, - Ctx: p9993, - FreeVars: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11468, + FreeVars: ast.Identifiers{ + "aux", + }, }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(28), + 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(1137), + Column: int(11), + }, + End: ast.Location{ + Line: int(1137), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1045), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p11951, + FreeVars: ast.Identifiers{ + "bytes", }, - File: p1, }, - Ctx: p10001, - FreeVars: nil, + Id: "bytes", }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1137), + Column: int(18), + }, + End: ast.Location{ + Line: int(1137), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11951, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1137), + Column: int(21), + }, + End: ast.Location{ + Line: int(1137), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11951, + FreeVars: nil, + }, + Value: "", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + CommaFodder: nil, }, }, - TrailingComma: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1093), + Column: int(3), + }, + End: ast.Location{ + Line: int(1137), + Column: int(24), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -113323,12 +152721,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "manifestXmlJsonml", + Value: "base64DecodeBytes", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -113344,94 +152744,124 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ + "base64_inv", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", + 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(1140), + Column: int(21), + }, + End: ast.Location{ + Line: int(1140), + Column: int(24), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1048), + Line: int(1141), Column: int(5), }, End: ast.Location{ - Line: int(1063), - Column: int(17), + Line: int(1159), + Column: int(22), }, File: p1, }, - Ctx: p10007, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p11961, FreeVars: ast.Identifiers{ + "base64_inv", "std", - "value", + "str", }, }, - Cond: &ast.Unary{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1048), + Line: int(1141), Column: int(8), }, End: ast.Location{ - Line: int(1048), - Column: int(27), + Line: int(1141), + Column: int(32), }, File: p1, }, - Ctx: p10007, + Fodder: ast.Fodder{}, + Ctx: p11961, FreeVars: ast.Identifiers{ "std", - "value", + "str", }, }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1048), - Column: int(9), + Line: int(1141), + Column: int(8), }, End: ast.Location{ - Line: int(1048), + Line: int(1141), Column: int(27), }, File: p1, }, - Ctx: p10007, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "value", + "str", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1048), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1048), - Column: int(20), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10007, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, @@ -113439,17 +152869,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1048), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1048), - Column: int(12), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -113457,6 +152888,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -113471,63 +152903,231 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "isArray", + Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(8), + }, + End: ast.Location{ + Line: int(1141), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(1048), - Column: int(26), + Fodder: ast.Fodder{}, + Ctx: p11961, + FreeVars: ast.Identifiers{ + "std", + "str", }, - File: p1, }, - Ctx: p10020, - FreeVars: ast.Identifiers{ - "value", + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(8), + }, + End: ast.Location{ + Line: int(1141), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11961, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(8), + }, + End: ast.Location{ + Line: int(1141), + 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: nil, + }, + 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(1141), + Column: int(19), + }, + End: ast.Location{ + Line: int(1141), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11982, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: "value", + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1141), + Column: int(26), + }, + End: ast.Location{ + Line: int(1141), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11961, + FreeVars: nil, + }, + 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(1141), + Column: int(31), + }, + End: ast.Location{ + Line: int(1141), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11961, + FreeVars: nil, + }, + OriginalString: "0", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1049), + Line: int(1142), Column: int(7), }, End: ast.Location{ - Line: int(1049), - Column: int(75), + Line: int(1142), + Column: int(53), }, File: p1, }, - Ctx: p10007, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11961, FreeVars: ast.Identifiers{ "std", - "value", + "str", }, }, Expr: &ast.Apply{ @@ -113535,19 +153135,20 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1142), + Column: int(13), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1142), + Column: int(53), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", - "value", + "str", }, }, Target: &ast.Index{ @@ -113564,6 +153165,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -113583,6 +153185,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -113590,6 +153193,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -113604,2266 +153208,2350 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(13), - }, - End: ast.Location{ - Line: int(1049), - Column: int(57), - }, - File: p1, - }, - Ctx: p10007, - FreeVars: nil, - }, - Value: "Expected a JSONML value (an array), got %s", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(60), - }, - End: ast.Location{ - Line: int(1049), - Column: int(75), - }, - File: p1, - }, - Ctx: p10007, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - }, - Target: &ast.Index{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1049), - Column: int(60), + Line: int(1142), + Column: int(13), }, End: ast.Location{ - Line: int(1049), - Column: int(68), + Line: int(1142), + Column: int(47), }, File: p1, }, - Ctx: p10007, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p11961, + FreeVars: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(60), - }, - End: ast.Location{ - Line: int(1049), - Column: int(63), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Value: "Not a base64 encoded string \"%s\"", + 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(1142), + Column: int(50), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(1142), + Column: int(53), }, - Ctx: nil, - FreeVars: nil, + File: p1, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(69), - }, - End: ast.Location{ - Line: int(1049), - Column: int(74), - }, - File: p1, - }, - Ctx: p10042, - FreeVars: ast.Identifiers{ - "value", - }, - }, - Id: "value", + Fodder: ast.Fodder{}, + Ctx: p11961, + FreeVars: ast.Identifiers{ + "str", }, }, - Named: nil, + Id: "str", }, - TrailingComma: false, - TailStrict: 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.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1051), + Line: int(1144), Column: int(7), }, End: ast.Location{ - Line: int(1063), - Column: int(17), + Line: int(1159), + Column: int(22), }, File: p1, }, - Ctx: p10007, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11961, FreeVars: ast.Identifiers{ + "base64_inv", "std", - "value", + "str", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "aux", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1051), + Line: int(1144), Column: int(13), }, End: ast.Location{ - Line: int(1061), - Column: int(95), + Line: int(1158), + Column: int(44), }, File: p1, }, - Ctx: p10048, + Fodder: nil, + Ctx: p12006, FreeVars: ast.Identifiers{ "aux", + "base64_inv", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "v", + 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(1144), + Column: int(17), + }, + End: ast.Location{ + Line: int(1144), + 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(1144), + Column: int(22), + }, + End: ast.Location{ + Line: int(1144), + 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(1144), + Column: int(25), + }, + End: ast.Location{ + Line: int(1144), + Column: int(26), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1052), + Line: int(1145), Column: int(9), }, End: ast.Location{ - Line: int(1061), - Column: int(95), + Line: int(1158), + Column: int(44), }, File: p1, }, - Ctx: p10052, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12011, FreeVars: ast.Identifiers{ "aux", + "base64_inv", + "i", + "r", "std", - "v", + "str", }, }, - Cond: &ast.Apply{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1052), + Line: int(1145), Column: int(12), }, End: ast.Location{ - Line: int(1052), - Column: int(27), + Line: int(1145), + Column: int(32), }, File: p1, }, - Ctx: p10052, + Fodder: ast.Fodder{}, + Ctx: p12011, FreeVars: ast.Identifiers{ + "i", "std", - "v", + "str", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1052), + Line: int(1145), Column: int(12), }, End: ast.Location{ - Line: int(1052), - Column: int(24), + Line: int(1145), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12011, + 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(1145), + Column: int(17), + }, + End: ast.Location{ + Line: int(1145), + Column: int(32), }, File: p1, }, - Ctx: p10052, + Fodder: ast.Fodder{}, + Ctx: p12011, FreeVars: ast.Identifiers{ "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1052), - Column: int(12), + Line: int(1145), + Column: int(17), }, End: ast.Location{ - Line: int(1052), - Column: int(15), + Line: int(1145), + Column: int(27), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12011, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1145), + Column: int(17), + }, + End: ast.Location{ + Line: int(1145), + Column: int(20), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "isString", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1052), - Column: int(25), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1052), - Column: int(26), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "v", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1145), + Column: int(28), + }, + End: ast.Location{ + Line: int(1145), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12026, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", }, + CommaFodder: nil, }, - Id: "v", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1053), + Line: int(1146), Column: int(11), }, End: ast.Location{ - Line: int(1053), + Line: int(1146), Column: int(12), }, File: p1, }, - Ctx: p10052, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p12011, FreeVars: ast.Identifiers{ - "v", + "r", }, }, - Id: "v", + 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{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1055), + Line: int(1149), Column: int(11), }, End: ast.Location{ - Line: int(1061), - Column: int(95), + Line: int(1158), + Column: int(44), }, File: p1, }, - Ctx: p10052, + 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: p12011, FreeVars: ast.Identifiers{ "aux", - "std", - "v", + "base64_inv", + "i", + "r", + "str", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "tag", - Body: &ast.Index{ + VarFodder: ast.Fodder{}, + Variable: "n1", + EqFodder: ast.Fodder{}, + Body: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1055), - Column: int(23), + Line: int(1149), + Column: int(22), }, End: ast.Location{ - Line: int(1055), - Column: int(27), + Line: int(1149), + Column: int(79), }, File: p1, }, - Ctx: p10071, + Fodder: ast.Fodder{}, + Ctx: p12038, FreeVars: ast.Identifiers{ - "v", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1055), - Column: int(23), - }, - End: ast.Location{ - Line: int(1055), - Column: int(24), - }, - File: p1, - }, - Ctx: p10071, - FreeVars: ast.Identifiers{ - "v", - }, - }, - Id: "v", - }, - Index: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1055), - Column: int(25), - }, - End: ast.Location{ - Line: int(1055), - Column: int(26), - }, - File: p1, - }, - Ctx: p10071, - FreeVars: nil, + "base64_inv", + "i", + "str", }, - Value: float64(0), - OriginalString: "0", }, - Id: nil, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(11), - }, - End: ast.Location{ - Line: int(1061), - Column: int(95), - }, - File: p1, - }, - Ctx: p10052, - FreeVars: ast.Identifiers{ - "aux", - "std", - "tag", - "v", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "has_attrs", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(29), - }, - End: ast.Location{ - Line: int(1056), - Column: int(76), - }, - File: p1, - }, - Ctx: p10080, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(29), - }, - End: ast.Location{ - Line: int(1056), - Column: int(46), - }, - File: p1, - }, - Ctx: p10080, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), - Column: int(29), + Line: int(1149), + Column: int(23), }, End: ast.Location{ - Line: int(1056), - Column: int(42), + Line: int(1149), + Column: int(78), }, File: p1, }, - Ctx: p10080, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "std", - "v", + "base64_inv", + "i", + "str", }, }, - Target: &ast.Index{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), - Column: int(29), + Line: int(1149), + Column: int(23), }, End: ast.Location{ - Line: int(1056), - Column: int(39), + Line: int(1149), + Column: int(46), }, File: p1, }, - Ctx: p10080, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "std", + "base64_inv", + "i", + "str", }, }, - Target: &ast.Var{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), - Column: int(29), + Line: int(1149), + Column: int(23), }, End: ast.Location{ - Line: int(1056), - Column: int(32), + Line: int(1149), + Column: int(41), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "std", + "base64_inv", + "i", + "str", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(23), + }, + End: ast.Location{ + Line: int(1149), + Column: int(33), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: ast.Identifiers{ + "base64_inv", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "base64_inv", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), - Column: int(40), + Line: int(1149), + Column: int(34), }, End: ast.Location{ - Line: int(1056), - Column: int(41), + Line: int(1149), + Column: int(40), }, File: p1, }, - Ctx: p10093, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "v", + "i", + "str", }, }, - Id: "v", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(45), - }, - End: ast.Location{ - Line: int(1056), - Column: int(46), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(34), + }, + End: ast.Location{ + Line: int(1149), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(38), + }, + End: ast.Location{ + Line: int(1149), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - File: p1, - }, - Ctx: p10080, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(50), - }, - End: ast.Location{ - Line: int(1056), - Column: int(76), + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - File: p1, - }, - Ctx: p10080, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(50), - }, - End: ast.Location{ - Line: int(1056), - Column: int(64), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(45), + }, + End: ast.Location{ + Line: int(1149), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: nil, }, - File: p1, - }, - Ctx: p10080, - FreeVars: ast.Identifiers{ - "std", - "v", + OriginalString: "2", }, }, - Target: &ast.Index{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(16), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), + Line: int(1149), Column: int(50), }, End: ast.Location{ - Line: int(1056), - Column: int(58), + Line: int(1149), + Column: int(77), }, File: p1, }, - Ctx: p10080, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "std", + "base64_inv", + "i", + "str", }, }, - Target: &ast.Var{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), + Line: int(1149), Column: int(50), }, End: ast.Location{ - Line: int(1056), - Column: int(53), + Line: int(1149), + Column: int(72), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "std", + "base64_inv", + "i", + "str", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(50), + }, + End: ast.Location{ + Line: int(1149), + Column: int(60), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: ast.Identifiers{ + "base64_inv", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "base64_inv", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), - Column: int(59), + Line: int(1149), + Column: int(61), }, End: ast.Location{ - Line: int(1056), - Column: int(63), + Line: int(1149), + Column: int(71), }, File: p1, }, - Ctx: p10107, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "v", + "i", + "str", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), - Column: int(59), + Line: int(1149), + Column: int(61), }, End: ast.Location{ - Line: int(1056), - Column: int(60), + Line: int(1149), + Column: int(64), }, File: p1, }, - Ctx: p10107, + Fodder: ast.Fodder{}, + Ctx: p12042, FreeVars: ast.Identifiers{ - "v", + "str", }, }, - Id: "v", + Id: "str", }, - Index: &ast.LiteralNumber{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1056), - Column: int(61), + Line: int(1149), + Column: int(65), }, End: ast.Location{ - Line: int(1056), - Column: int(62), + Line: int(1149), + Column: int(70), }, File: p1, }, - Ctx: p10107, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(65), + }, + End: ast.Location{ + Line: int(1149), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12042, + 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(1149), + Column: int(69), + }, + End: ast.Location{ + Line: int(1149), + Column: int(70), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: nil, + }, + OriginalString: "1", }, - Value: float64(1), - OriginalString: "1", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(68), - }, - End: ast.Location{ - Line: int(1056), - Column: int(76), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(76), + }, + End: ast.Location{ + Line: int(1149), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12042, + FreeVars: nil, }, - File: p1, + OriginalString: "4", }, - Ctx: p10080, - FreeVars: nil, }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + CommaFodder: nil, }, }, - Fun: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1149), + Column: int(17), + }, + End: ast.Location{ + Line: int(1149), + Column: int(79), + }, + File: p1, }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(11), - }, - End: ast.Location{ - Line: int(1061), - Column: int(95), - }, - File: p1, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(11), }, - Ctx: p10052, - FreeVars: ast.Identifiers{ - "aux", - "has_attrs", - "std", - "tag", - "v", + End: ast.Location{ + Line: int(1158), + Column: int(44), }, + File: p1, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "attrs", - Body: &ast.Conditional{ + 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: p12011, + 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(1152), + Column: int(13), + }, + End: ast.Location{ + Line: int(1153), + Column: int(86), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p12080, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1057), - Column: int(25), + Line: int(1152), + Column: int(16), }, End: ast.Location{ - Line: int(1057), - Column: int(55), + Line: int(1152), + Column: int(33), }, File: p1, }, - Ctx: p10117, + Fodder: ast.Fodder{}, + Ctx: p12080, FreeVars: ast.Identifiers{ - "has_attrs", - "v", - }, - }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(28), - }, - End: ast.Location{ - Line: int(1057), - Column: int(37), - }, - File: p1, - }, - Ctx: p10117, - FreeVars: ast.Identifiers{ - "has_attrs", - }, + "i", + "str", }, - Id: "has_attrs", }, - BranchTrue: &ast.Index{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1057), - Column: int(43), + Line: int(1152), + Column: int(16), }, End: ast.Location{ - Line: int(1057), - Column: int(47), + Line: int(1152), + Column: int(26), }, File: p1, }, - Ctx: p10117, + Fodder: ast.Fodder{}, + Ctx: p12080, FreeVars: ast.Identifiers{ - "v", + "i", + "str", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1057), - Column: int(43), + Line: int(1152), + Column: int(16), }, End: ast.Location{ - Line: int(1057), - Column: int(44), + Line: int(1152), + Column: int(19), }, File: p1, }, - Ctx: p10117, + Fodder: ast.Fodder{}, + Ctx: p12080, FreeVars: ast.Identifiers{ - "v", + "str", }, }, - Id: "v", + Id: "str", }, - Index: &ast.LiteralNumber{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1057), - Column: int(45), + Line: int(1152), + Column: int(20), }, End: ast.Location{ - Line: int(1057), - Column: int(46), + Line: int(1152), + Column: int(25), }, File: p1, }, - Ctx: p10117, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12080, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(20), + }, + End: ast.Location{ + Line: int(1152), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12080, + 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(1152), + Column: int(24), + }, + End: ast.Location{ + Line: int(1152), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12080, + FreeVars: nil, + }, + OriginalString: "2", }, - Value: float64(1), - OriginalString: "1", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - BranchFalse: &ast.DesugaredObject{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1057), - Column: int(53), + Line: int(1152), + Column: int(30), }, End: ast.Location{ - Line: int(1057), - Column: int(55), + Line: int(1152), + Column: int(33), }, File: p1, }, - Ctx: p10117, + Fodder: ast.Fodder{}, + Ctx: p12080, FreeVars: nil, }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, + Value: "=", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(11), - }, - End: ast.Location{ - Line: int(1061), - Column: int(95), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1152), + Column: int(39), + }, + End: ast.Location{ + Line: int(1152), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12080, + FreeVars: nil, }, - File: p1, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Ctx: p10052, - FreeVars: ast.Identifiers{ - "attrs", - "aux", - "has_attrs", - "std", - "tag", - "v", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "children", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(28), - }, - End: ast.Location{ - Line: int(1058), - Column: int(62), - }, - File: p1, + BranchFalse: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(18), }, - Ctx: p10131, - FreeVars: ast.Identifiers{ - "has_attrs", - "std", - "v", + End: ast.Location{ + Line: int(1153), + Column: int(86), }, + File: p1, }, - Cond: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(31), - }, - End: ast.Location{ - Line: int(1058), - Column: int(40), - }, - File: p1, - }, - Ctx: p10131, - FreeVars: ast.Identifiers{ - "has_attrs", - }, - }, - Id: "has_attrs", + Fodder: ast.Fodder{}, + Ctx: p12080, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - }, - Target: &ast.Index{ + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: 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, + Begin: ast.Location{ + Line: int(1153), + Column: int(19), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1153), + Column: int(85), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", }, - Id: "std", }, - Index: &ast.LiteralString{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(19), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(53), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", }, - Ctx: nil, - FreeVars: nil, }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1058), - Column: int(46), + Line: int(1153), + Column: int(20), }, End: ast.Location{ - Line: int(1058), + Line: int(1153), Column: int(47), }, File: p1, }, - Ctx: p10131, + Fodder: ast.Fodder{}, + Ctx: p12100, FreeVars: ast.Identifiers{ - "v", + "base64_inv", + "i", + "str", }, }, - Id: "v", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(48), + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(20), + }, + End: ast.Location{ + Line: int(1153), + Column: int(42), + }, + File: p1, }, - End: ast.Location{ - Line: int(1058), - Column: int(49), + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", }, - File: p1, }, - Ctx: p10131, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(20), + }, + End: ast.Location{ + Line: int(1153), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "base64_inv", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Id: "base64_inv", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(31), + }, + End: ast.Location{ + Line: int(1153), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "i", + "str", + }, }, - File: nil, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(31), + }, + End: ast.Location{ + Line: int(1153), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(35), + }, + End: ast.Location{ + Line: int(1153), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(35), + }, + End: ast.Location{ + Line: int(1153), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + 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(1153), + Column: int(39), + }, + End: ast.Location{ + Line: int(1153), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: nil, - FreeVars: 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(1153), + Column: int(45), + }, + End: ast.Location{ + Line: int(1153), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: nil, + }, + OriginalString: "15", }, }, - &ast.LiteralNull{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(52), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(53), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12100, FreeVars: nil, }, + OriginalString: "4", }, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(16), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(57), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(84), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12100, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "base64_inv", + "i", + "str", }, - Ctx: nil, - FreeVars: nil, }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1058), + Line: int(1153), Column: int(57), }, End: ast.Location{ - Line: int(1058), - Column: int(58), + Line: int(1153), + Column: int(79), }, File: p1, }, - Ctx: p10131, + Fodder: ast.Fodder{}, + Ctx: p12100, FreeVars: ast.Identifiers{ - "v", + "base64_inv", + "i", + "str", }, }, - Id: "v", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(59), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(57), + }, + End: ast.Location{ + Line: int(1153), + Column: int(67), + }, + File: p1, }, - End: ast.Location{ - Line: int(1058), - Column: int(60), + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "base64_inv", }, - File: p1, }, - Ctx: p10131, - FreeVars: nil, + Id: "base64_inv", }, - Value: float64(1), - OriginalString: "1", - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(68), + }, + End: ast.Location{ + Line: int(1153), + Column: int(78), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "i", + "str", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(68), + }, + End: ast.Location{ + Line: int(1153), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(72), + }, + End: ast.Location{ + Line: int(1153), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1153), + Column: int(72), + }, + End: ast.Location{ + Line: int(1153), + Column: int(73), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + 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(1153), + Column: int(76), + }, + End: ast.Location{ + Line: int(1153), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12100, + FreeVars: nil, + }, + OriginalString: "2", + }, + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - &ast.LiteralNull{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(6), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(83), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1153), + Column: int(84), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12100, FreeVars: nil, }, + OriginalString: "2", }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, - Fun: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1059), - Column: int(11), + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1151), + Column: int(17), + }, + End: ast.Location{ + Line: int(1153), + Column: int(86), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1155), + Column: int(11), + }, + End: ast.Location{ + Line: int(1158), + 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: p12011, + 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(1156), + Column: int(13), + }, + End: ast.Location{ + Line: int(1157), + Column: int(78), + }, + File: p1, }, - End: ast.Location{ - Line: int(1061), - Column: int(95), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p12144, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", }, - File: p1, - }, - Ctx: p10052, - FreeVars: ast.Identifiers{ - "attrs", - "aux", - "children", - "std", - "tag", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "attrs_str", - Body: &ast.Apply{ + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1156), + Column: int(16), + }, + End: ast.Location{ + Line: int(1156), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12144, + FreeVars: ast.Identifiers{ + "i", + "str", + }, + }, + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1060), - Column: int(13), + Line: int(1156), + Column: int(16), }, End: ast.Location{ - Line: int(1060), - Column: int(88), + Line: int(1156), + Column: int(26), }, File: p1, }, - Ctx: p10165, + Fodder: ast.Fodder{}, + Ctx: p12144, FreeVars: ast.Identifiers{ - "attrs", - "std", + "i", + "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1060), - Column: int(13), + Line: int(1156), + Column: int(16), }, End: ast.Location{ - Line: int(1060), - Column: int(21), + Line: int(1156), + Column: int(19), }, File: p1, }, - Ctx: p10165, + Fodder: ast.Fodder{}, + Ctx: p12144, FreeVars: ast.Identifiers{ - "std", + "str", }, }, - Target: &ast.Var{ + Id: "str", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1156), + Column: int(20), + }, + End: ast.Location{ + Line: int(1156), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12144, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1060), - Column: int(13), + Line: int(1156), + Column: int(20), }, End: ast.Location{ - Line: int(1060), - Column: int(16), + Line: int(1156), + Column: int(21), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12144, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Id: "std", + Id: "i", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1156), + Column: int(24), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1156), + Column: int(25), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12144, FreeVars: nil, }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "3", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(22), - }, - End: ast.Location{ - Line: int(1060), - Column: int(24), - }, - File: p1, - }, - Ctx: p10174, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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(1156), + Column: int(30), }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "attrs", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "attrs", - "k", - "std", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "attrs", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(27), - }, - End: ast.Location{ - Line: int(1060), - Column: int(37), - }, - File: p1, - }, - Ctx: p10198, - FreeVars: nil, - }, - Value: " %s=\"%s\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(40), - }, - End: ast.Location{ - Line: int(1060), - Column: int(53), - }, - File: p1, - }, - Ctx: p10198, - FreeVars: ast.Identifiers{ - "attrs", - "k", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(41), - }, - End: ast.Location{ - Line: int(1060), - Column: int(42), - }, - File: p1, - }, - Ctx: p10203, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(44), - }, - End: ast.Location{ - Line: int(1060), - Column: int(52), - }, - File: p1, - }, - Ctx: p10203, - FreeVars: ast.Identifiers{ - "attrs", - "k", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(44), - }, - End: ast.Location{ - Line: int(1060), - Column: int(49), - }, - File: p1, - }, - Ctx: p10203, - FreeVars: ast.Identifiers{ - "attrs", - }, - }, - Id: "attrs", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(50), - }, - End: ast.Location{ - Line: int(1060), - Column: int(51), - }, - File: p1, - }, - Ctx: p10203, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - }, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(1156), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12144, + FreeVars: nil, + }, + 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(1156), + Column: int(39), + }, + End: ast.Location{ + Line: int(1156), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12144, + FreeVars: nil, + }, + 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(1157), + Column: int(18), + }, + End: ast.Location{ + Line: int(1157), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12144, + 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(1157), + Column: int(19), + }, + End: ast.Location{ + Line: int(1157), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(19), + }, + End: ast.Location{ + Line: int(1157), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(20), + }, + End: ast.Location{ + Line: int(1157), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(20), + }, + End: ast.Location{ + Line: int(1157), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "base64_inv", + "i", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(20), + }, + End: ast.Location{ + Line: int(1157), + Column: int(30), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "base64_inv", }, - TrailingComma: false, }, + Id: "base64_inv", }, - &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1060), - Column: int(63), + Line: int(1157), + Column: int(31), }, End: ast.Location{ - Line: int(1060), - Column: int(86), + Line: int(1157), + Column: int(41), }, File: p1, }, - Ctx: p10174, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: ast.Identifiers{ - "attrs", - "std", + "i", + "str", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1060), - Column: int(63), + Line: int(1157), + Column: int(31), }, End: ast.Location{ - Line: int(1060), - Column: int(79), + Line: int(1157), + Column: int(34), }, File: p1, }, - Ctx: p10174, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: ast.Identifiers{ - "std", + "str", }, }, - Target: &ast.Var{ + Id: "str", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(35), + }, + End: ast.Location{ + Line: int(1157), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1060), - Column: int(63), + Line: int(1157), + Column: int(35), }, End: ast.Location{ - Line: int(1060), - Column: int(66), + Line: int(1157), + Column: int(36), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Id: "std", + Id: "i", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(39), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(40), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: nil, }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(80), - }, - End: ast.Location{ - Line: int(1060), - Column: int(85), - }, - File: p1, - }, - Ctx: p10220, - FreeVars: ast.Identifiers{ - "attrs", - }, - }, - Id: "attrs", - }, + OriginalString: "2", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(11), - }, - End: ast.Location{ - Line: int(1061), - Column: int(95), - }, - File: p1, - }, - Ctx: p10052, - FreeVars: ast.Identifiers{ - "attrs_str", - "aux", - "children", - "std", - "tag", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(11), - }, - End: ast.Location{ - Line: int(1061), - Column: int(23), - }, - File: p1, - }, - Ctx: p10052, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(11), - }, - End: ast.Location{ - Line: int(1061), - Column: int(14), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "deepJoin", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(24), - }, - End: ast.Location{ - Line: int(1061), - Column: int(94), - }, - File: p1, - }, - Ctx: p10231, - FreeVars: ast.Identifiers{ - "attrs_str", - "aux", - "children", - "std", - "tag", - }, - }, - Elements: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(25), - }, - End: ast.Location{ - Line: int(1061), - Column: int(28), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(14), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(45), + }, + End: ast.Location{ + Line: int(1157), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: nil, }, - File: p1, + OriginalString: "3", }, - Ctx: p10235, - FreeVars: nil, }, - Value: "<", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(30), - }, - End: ast.Location{ - Line: int(1061), - Column: int(33), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(5), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(51), + }, + End: ast.Location{ + Line: int(1157), + Column: int(52), + }, + File: p1, }, - File: p1, - }, - Ctx: p10235, - FreeVars: ast.Identifiers{ - "tag", + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: nil, }, + OriginalString: "6", }, - Id: "tag", }, - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(16), + Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1061), - Column: int(35), + Line: int(1157), + Column: int(55), }, End: ast.Location{ - Line: int(1061), - Column: int(44), + Line: int(1157), + Column: int(77), }, File: p1, }, - Ctx: p10235, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: ast.Identifiers{ - "attrs_str", - }, - }, - Id: "attrs_str", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(46), - }, - End: ast.Location{ - Line: int(1061), - Column: int(49), - }, - File: p1, + "base64_inv", + "i", + "str", }, - Ctx: p10235, - FreeVars: nil, }, - Value: ">", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1157), + Column: int(55), + }, + End: ast.Location{ + Line: int(1157), + Column: int(65), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "base64_inv", }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "children", - "std", }, + Id: "base64_inv", }, - Target: &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(66), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(76), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: ast.Identifiers{ - "std", + "i", + "str", }, }, Target: &ast.Var{ @@ -115871,351 +155559,1312 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(66), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(69), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: ast.Identifiers{ - "std", + "str", }, }, - Id: "std", + Id: "str", }, - Index: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(70), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(75), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: ast.Identifiers{ + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(70), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1157), + Column: int(71), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12164, FreeVars: ast.Identifiers{ - "aux", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "x", - }, - }, - Elements: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(52), - }, - End: ast.Location{ - Line: int(1061), - Column: int(58), - }, - File: p1, - }, - Ctx: p10256, - FreeVars: ast.Identifiers{ - "aux", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(52), - }, - End: ast.Location{ - Line: int(1061), - Column: int(55), - }, - File: p1, - }, - Ctx: p10256, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(56), - }, - End: ast.Location{ - Line: int(1061), - Column: int(57), - }, - File: p1, - }, - Ctx: p10262, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, + "i", }, - TrailingComma: false, }, + Id: "i", }, - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1061), - Column: int(68), + Line: int(1157), + Column: int(74), }, End: ast.Location{ - Line: int(1061), - Column: int(76), + Line: int(1157), + Column: int(75), }, File: p1, }, - Ctx: p10235, - FreeVars: ast.Identifiers{ - "children", - }, + Fodder: ast.Fodder{}, + Ctx: p12164, + FreeVars: nil, }, - Id: "children", + OriginalString: "3", }, }, - Named: nil, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - TrailingComma: false, - TailStrict: false, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(79), - }, - End: ast.Location{ - Line: int(1061), - Column: int(83), - }, - File: p1, + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1155), + Column: int(17), + }, + End: ast.Location{ + Line: int(1157), + Column: int(78), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1158), + Column: int(11), + }, + End: ast.Location{ + Line: int(1158), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12011, + FreeVars: ast.Identifiers{ + "aux", + "i", + "n1", + "n2", + "n3", + "r", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1158), + Column: int(11), + }, + End: ast.Location{ + Line: int(1158), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p12011, + 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(1158), + Column: int(15), + }, + End: ast.Location{ + Line: int(1158), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + 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(1158), + Column: int(20), + }, + End: ast.Location{ + Line: int(1158), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1158), + Column: int(20), + }, + End: ast.Location{ + Line: int(1158), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + 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(1158), + Column: int(24), + }, + End: ast.Location{ + Line: int(1158), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + FreeVars: nil, + }, + OriginalString: "4", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1158), + Column: int(27), + }, + End: ast.Location{ + Line: int(1158), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + FreeVars: ast.Identifiers{ + "n1", + "n2", + "n3", + "r", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1158), + Column: int(27), + }, + End: ast.Location{ + Line: int(1158), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + FreeVars: ast.Identifiers{ + "n1", + "n2", + "r", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1158), + Column: int(27), }, - Ctx: p10235, - FreeVars: nil, + End: ast.Location{ + Line: int(1158), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + FreeVars: ast.Identifiers{ + "n1", + "r", }, - Value: "", + FileName: "", Begin: ast.Location{ - Line: int(1061), - Column: int(85), + Line: int(1158), + Column: int(27), }, End: ast.Location{ - Line: int(1061), - Column: int(88), + Line: int(1158), + Column: int(28), }, File: p1, }, - Ctx: p10235, + Fodder: ast.Fodder{}, + Ctx: p12205, FreeVars: ast.Identifiers{ - "tag", + "r", }, }, - Id: "tag", + Id: "r", }, - &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1061), - Column: int(90), + Line: int(1158), + Column: int(31), }, End: ast.Location{ - Line: int(1061), - Column: int(93), + Line: int(1158), + Column: int(33), }, File: p1, }, - Ctx: p10235, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12205, + FreeVars: ast.Identifiers{ + "n1", + }, }, - Value: ">", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "n1", }, }, - TrailingComma: false, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1158), + Column: int(36), + }, + End: ast.Location{ + Line: int(1158), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + 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(1158), + Column: int(41), + }, + End: ast.Location{ + Line: int(1158), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12205, + FreeVars: ast.Identifiers{ + "n3", + }, + }, + Id: "n3", }, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + 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(1159), + Column: int(7), + }, + End: ast.Location{ + Line: int(1159), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p11961, + FreeVars: ast.Identifiers{ + "aux", + "str", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1159), + Column: int(7), + }, + End: ast.Location{ + Line: int(1159), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p11961, + 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(1159), + Column: int(11), + }, + End: ast.Location{ + Line: int(1159), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12233, + 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(1159), + Column: int(16), + }, + End: ast.Location{ + Line: int(1159), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12233, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1159), + Column: int(19), + }, + End: ast.Location{ + Line: int(1159), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12233, + FreeVars: nil, + }, + 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(1140), + Column: int(3), + }, + End: ast.Location{ + Line: int(1159), + 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: nil, + }, + 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: p11, + 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(1161), + Column: int(16), + }, + End: ast.Location{ + Line: int(1161), + Column: int(19), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1162), + Column: int(5), + }, + End: ast.Location{ + Line: int(1163), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p12243, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + 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(1162), + Column: int(19), + }, + End: ast.Location{ + Line: int(1162), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12247, + FreeVars: ast.Identifiers{ + "std", + "str", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1162), + Column: int(19), + }, + End: ast.Location{ + Line: int(1162), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12247, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1162), + Column: int(19), + }, + End: ast.Location{ + Line: int(1162), + 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: nil, + }, + Value: "base64DecodeBytes", + 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(1162), + Column: int(41), + }, + End: ast.Location{ + Line: int(1162), + Column: int(44), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12256, + FreeVars: ast.Identifiers{ + "str", }, }, + Id: "str", }, + CommaFodder: nil, }, }, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1162), + Column: int(11), + }, + End: ast.Location{ + Line: int(1162), + Column: int(45), + }, + File: p1, }, }, - Body: &ast.Apply{ + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(5), + }, + End: ast.Location{ + Line: int(1163), + Column: int(58), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12243, + FreeVars: ast.Identifiers{ + "bytes", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1063), - Column: int(7), + Line: int(1163), + Column: int(5), }, End: ast.Location{ - Line: int(1063), - Column: int(17), + Line: int(1163), + Column: int(13), }, File: p1, }, - Ctx: p10007, + Fodder: ast.Fodder{}, + Ctx: p12243, FreeVars: ast.Identifiers{ - "aux", - "value", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1063), - Column: int(7), + Line: int(1163), + Column: int(5), }, End: ast.Location{ - Line: int(1063), - Column: int(10), + Line: int(1163), + Column: int(8), }, File: p1, }, - Ctx: p10007, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Id: "aux", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1063), - Column: int(11), + Line: int(1163), + Column: int(14), }, End: ast.Location{ - Line: int(1063), + Line: int(1163), Column: int(16), }, File: p1, }, - Ctx: p10276, + Fodder: ast.Fodder{}, + Ctx: p12268, + FreeVars: nil, + }, + 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(1163), + Column: int(18), + }, + End: ast.Location{ + Line: int(1163), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12268, FreeVars: ast.Identifiers{ - "value", + "bytes", + "std", }, }, - Id: "value", + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(18), + }, + End: ast.Location{ + Line: int(1163), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12268, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(18), + }, + End: ast.Location{ + Line: int(1163), + 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: nil, + }, + 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.Function{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(26), + }, + End: ast.Location{ + Line: int(1163), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12278, + 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(1163), + Column: int(35), + }, + End: ast.Location{ + Line: int(1163), + Column: int(36), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(38), + }, + End: ast.Location{ + Line: int(1163), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12282, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(38), + }, + End: ast.Location{ + Line: int(1163), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12282, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1163), + Column: int(38), + }, + End: ast.Location{ + Line: int(1163), + 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: nil, + }, + 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(1163), + Column: int(47), + }, + End: ast.Location{ + Line: int(1163), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12291, + 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(1163), + Column: int(51), + }, + End: ast.Location{ + Line: int(1163), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12278, + FreeVars: ast.Identifiers{ + "bytes", + }, + }, + Id: "bytes", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1161), + Column: int(3), + }, + End: ast.Location{ + Line: int(1163), + Column: int(58), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -116233,12 +156882,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "base64", + Value: "reverse", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -116254,630 +156905,852 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ - "base64_table", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "input", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(11), + }, + End: ast.Location{ + Line: int(1165), + Column: int(14), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1069), + Line: int(1166), Column: int(5), }, End: ast.Location{ - Line: int(1112), - Column: int(24), + Line: int(1167), + Column: int(49), }, File: p1, }, - Ctx: p10283, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p12301, FreeVars: ast.Identifiers{ - "base64_table", - "input", + "arr", "std", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "bytes", - Body: &ast.Conditional{ + VarFodder: ast.Fodder{}, + Variable: "l", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1070), - Column: int(7), + Line: int(1166), + Column: int(15), }, End: ast.Location{ - Line: int(1073), - Column: int(14), + Line: int(1166), + Column: int(30), }, File: p1, }, - Ctx: p10287, + Fodder: ast.Fodder{}, + Ctx: p12305, FreeVars: ast.Identifiers{ - "input", + "arr", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1070), - Column: int(10), + Line: int(1166), + Column: int(15), }, End: ast.Location{ - Line: int(1070), - Column: int(37), + Line: int(1166), + Column: int(25), }, File: p1, }, - Ctx: p10287, + Fodder: ast.Fodder{}, + Ctx: p12305, FreeVars: ast.Identifiers{ - "input", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1070), - Column: int(10), + Line: int(1166), + Column: int(15), }, End: ast.Location{ - Line: int(1070), - Column: int(25), + Line: int(1166), + Column: int(18), }, File: p1, }, - Ctx: p10287, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "input", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1070), - Column: int(10), - }, - End: ast.Location{ - Line: int(1070), - Column: int(18), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p10287, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1070), - Column: int(10), + Line: int(1166), + Column: int(26), }, End: ast.Location{ - Line: int(1070), - Column: int(13), + Line: int(1166), + Column: int(29), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12314, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "arr", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "arr", }, - Id: nil, + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1070), - Column: int(19), - }, - End: ast.Location{ - Line: int(1070), - Column: int(24), - }, - File: p1, - }, - Ctx: p10300, - FreeVars: ast.Identifiers{ - "input", - }, - }, - Id: "input", - }, - }, - Named: 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(1166), + Column: int(11), + }, + End: ast.Location{ + Line: int(1166), + Column: int(30), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1167), + Column: int(5), + }, + End: ast.Location{ + Line: int(1167), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12301, + FreeVars: ast.Identifiers{ + "arr", + "l", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1167), + Column: int(5), + }, + End: ast.Location{ + Line: int(1167), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12301, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1167), + Column: int(5), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(1167), + Column: int(8), + }, + File: p1, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + 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: nil, + }, + 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.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1070), - Column: int(29), + Line: int(1167), + Column: int(19), }, End: ast.Location{ - Line: int(1070), - Column: int(37), + Line: int(1167), + Column: int(20), }, File: p1, }, - Ctx: p10287, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1071), - Column: int(9), - }, - End: ast.Location{ - Line: int(1071), - Column: int(53), + Fodder: ast.Fodder{}, + Ctx: p12326, + FreeVars: ast.Identifiers{ + "l", }, - File: p1, - }, - Ctx: p10287, - FreeVars: ast.Identifiers{ - "input", - "std", }, + Id: "l", }, - Target: &ast.Index{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1071), - Column: int(9), + Line: int(1167), + Column: int(22), }, End: ast.Location{ - Line: int(1071), - Column: int(16), + Line: int(1167), + Column: int(48), }, File: p1, }, - Ctx: p10287, + Fodder: ast.Fodder{}, + Ctx: p12326, FreeVars: ast.Identifiers{ - "std", + "arr", + "l", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "i", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1071), - Column: int(9), + Line: int(1167), + Column: int(31), }, End: ast.Location{ - Line: int(1071), - Column: int(12), + Line: int(1167), + Column: int(32), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1167), + Column: int(34), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1167), + Column: int(48), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12332, + FreeVars: ast.Identifiers{ + "arr", + "i", + "l", }, - Ctx: nil, - FreeVars: nil, }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1071), - Column: int(17), + Line: int(1167), + Column: int(34), }, End: ast.Location{ - Line: int(1071), - Column: int(45), + Line: int(1167), + Column: int(37), }, File: p1, }, - Ctx: p10312, + Fodder: ast.Fodder{}, + Ctx: p12332, FreeVars: ast.Identifiers{ - "std", + "arr", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "c", + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1167), + Column: int(38), + }, + End: ast.Location{ + Line: int(1167), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12332, + FreeVars: ast.Identifiers{ + "i", + "l", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Apply{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1071), - Column: int(29), + Line: int(1167), + Column: int(38), }, End: ast.Location{ - Line: int(1071), - Column: int(45), + Line: int(1167), + Column: int(43), }, File: p1, }, - Ctx: p10316, + Fodder: ast.Fodder{}, + Ctx: p12332, FreeVars: ast.Identifiers{ - "c", - "std", + "i", + "l", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1071), - Column: int(29), + Line: int(1167), + Column: int(38), }, End: ast.Location{ - Line: int(1071), - Column: int(42), + Line: int(1167), + Column: int(39), }, File: p1, }, - Ctx: p10316, + Fodder: ast.Fodder{}, + Ctx: p12332, FreeVars: ast.Identifiers{ - "std", + "l", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1071), - Column: int(29), - }, - End: ast.Location{ - Line: int(1071), - Column: int(32), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Id: "l", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(4), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1167), + Column: int(42), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(1167), + Column: int(43), }, - Ctx: nil, - FreeVars: nil, + File: p1, }, - Value: "codepoint", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1071), - Column: int(43), - }, - End: ast.Location{ - Line: int(1071), - Column: int(44), - }, - File: p1, - }, - Ctx: p10325, - FreeVars: ast.Identifiers{ - "c", - }, - }, - Id: "c", + Fodder: ast.Fodder{}, + Ctx: p12332, + FreeVars: ast.Identifiers{ + "i", }, }, - Named: nil, + Id: "i", }, - TrailingComma: false, - TailStrict: false, }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1071), - Column: int(47), - }, - End: ast.Location{ - Line: int(1071), - Column: int(52), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(4), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1167), + Column: int(46), + }, + End: ast.Location{ + Line: int(1167), + Column: int(47), + }, + File: p1, }, - File: p1, - }, - Ctx: p10312, - FreeVars: ast.Identifiers{ - "input", + Fodder: ast.Fodder{}, + Ctx: p12332, + FreeVars: nil, }, + OriginalString: "1", }, - Id: "input", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(9), - }, - End: ast.Location{ - Line: int(1073), - Column: int(14), }, - File: p1, - }, - Ctx: p10287, - FreeVars: ast.Identifiers{ - "input", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, }, - Id: "input", + CommaFodder: nil, }, }, - Fun: nil, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1075), - Column: int(5), + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1165), + Column: int(3), + }, + End: ast.Location{ + Line: int(1167), + 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: nil, + }, + 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: p11, + 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(1170), + Column: int(8), + }, + End: ast.Location{ + Line: int(1170), + Column: int(11), + }, + 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(1170), + Column: int(18), + }, + End: ast.Location{ + Line: int(1170), + Column: int(20), + }, + File: p1, }, - End: ast.Location{ - Line: int(1112), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "id", }, - File: p1, }, - Ctx: p10283, - FreeVars: ast.Identifiers{ - "base64_table", - "bytes", - "std", + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1170), + Column: int(13), + }, + End: ast.Location{ + Line: int(1170), + Column: int(20), }, + File: p1, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1075), - Column: int(11), - }, - End: ast.Location{ - Line: int(1106), - Column: int(33), - }, - File: p1, - }, - Ctx: p10335, - FreeVars: ast.Identifiers{ - "aux", - "base64_table", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - "i", - "r", + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(5), + }, + End: ast.Location{ + Line: int(1203), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "arr", + "id", + "keyF", + "std", + }, + }, + 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(1171), + Column: int(11), }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1076), - Column: int(7), - }, - End: ast.Location{ - Line: int(1106), - Column: int(33), - }, - File: p1, + End: ast.Location{ + Line: int(1181), + Column: int(68), + }, + File: p1, + }, + Fodder: nil, + Ctx: p12357, + 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(1171), + Column: int(21), }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - "std", + End: ast.Location{ + Line: int(1171), + Column: int(24), }, + File: p1, }, - Cond: &ast.Binary{ + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "keyF", + EqFodder: ast.Fodder{}, + DefaultArg: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1076), - Column: int(10), + Line: int(1171), + Column: int(31), }, End: ast.Location{ - Line: int(1076), - Column: int(30), + Line: int(1171), + Column: int(33), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{}, + Ctx: p12361, FreeVars: ast.Identifiers{ - "arr", - "i", - "std", + "id", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1076), - Column: int(10), - }, - End: ast.Location{ - Line: int(1076), - Column: int(11), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1171), + Column: int(26), }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ + End: ast.Location{ + Line: int(1171), + 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(1172), + Column: int(7), + }, + End: ast.Location{ + Line: int(1181), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12361, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1076), - Column: int(15), + Line: int(1172), + Column: int(17), }, End: ast.Location{ - Line: int(1076), - Column: int(30), + Line: int(1172), + Column: int(32), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{}, + Ctx: p12368, FreeVars: ast.Identifiers{ "arr", "std", @@ -116886,18 +157759,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1076), - Column: int(15), + Line: int(1172), + Column: int(17), }, End: ast.Location{ - Line: int(1076), - Column: int(25), + Line: int(1172), + Column: int(27), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{}, + Ctx: p12368, FreeVars: ast.Identifiers{ "std", }, @@ -116905,17 +157779,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1076), - Column: int(15), + Line: int(1172), + Column: int(17), }, End: ast.Location{ - Line: int(1076), - Column: int(18), + Line: int(1172), + Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -116923,6 +157798,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -116937,7304 +157813,6178 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1076), - Column: int(26), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1172), + Column: int(28), + }, + End: ast.Location{ + Line: int(1172), + Column: int(31), + }, + File: p1, }, - End: ast.Location{ - Line: int(1076), - Column: int(29), + Fodder: ast.Fodder{}, + Ctx: p12377, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p10354, - FreeVars: ast.Identifiers{ - "arr", }, + Id: "arr", }, - Id: "arr", + 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(1172), + Column: int(13), + }, + End: ast.Location{ + Line: int(1172), + Column: int(32), + }, + File: p1, }, }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1077), - Column: int(9), - }, - End: ast.Location{ - Line: int(1077), - Column: int(10), - }, - File: p1, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1173), + Column: int(7), }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "r", + End: ast.Location{ + Line: int(1181), + Column: int(68), }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12361, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "quickSort", + "std", }, - Id: "r", }, - BranchFalse: &ast.Conditional{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1078), - Column: int(12), + Line: int(1173), + Column: int(10), }, End: ast.Location{ - Line: int(1106), - Column: int(33), + Line: int(1173), + Column: int(30), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{}, + Ctx: p12361, 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(1078), - Column: int(15), - }, - End: ast.Location{ - Line: int(1078), - Column: int(39), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1078), - Column: int(15), - }, - End: ast.Location{ - Line: int(1078), - Column: int(20), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1078), - Column: int(15), - }, - End: ast.Location{ - Line: int(1078), - Column: int(16), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1078), - Column: int(19), - }, - End: ast.Location{ - Line: int(1078), - Column: int(20), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1078), - Column: int(24), - }, - End: ast.Location{ - Line: int(1078), - Column: int(39), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1078), - Column: int(24), - }, - End: ast.Location{ - Line: int(1078), - Column: int(34), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1078), - Column: int(24), - }, - End: ast.Location{ - Line: int(1078), - Column: int(27), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1078), - Column: int(35), - }, - End: ast.Location{ - Line: int(1078), - Column: int(38), - }, - File: p1, - }, - Ctx: p10376, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(9), - }, - End: ast.Location{ - Line: int(1085), - Column: int(33), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "str", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(11), - }, - End: ast.Location{ - Line: int(1084), - Column: int(15), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(11), - }, - End: ast.Location{ - Line: int(1083), - Column: int(42), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(11), - }, - End: ast.Location{ - Line: int(1081), - Column: int(44), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(11), - }, - End: ast.Location{ - Line: int(1081), - Column: int(23), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(24), - }, - End: ast.Location{ - Line: int(1081), - Column: int(43), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(25), - }, - End: ast.Location{ - Line: int(1081), - Column: int(37), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(25), - }, - End: ast.Location{ - Line: int(1081), - Column: int(31), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(25), - }, - End: ast.Location{ - Line: int(1081), - Column: int(28), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(29), - }, - End: ast.Location{ - Line: int(1081), - Column: int(30), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(34), - }, - End: ast.Location{ - Line: int(1081), - Column: int(37), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: nil, - }, - Value: float64(252), - OriginalString: "252", - }, - }, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(42), - }, - End: ast.Location{ - Line: int(1081), - Column: int(43), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - }, - Id: nil, - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(11), - }, - End: ast.Location{ - Line: int(1083), - Column: int(42), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(11), - }, - End: ast.Location{ - Line: int(1083), - Column: int(23), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(24), - }, - End: ast.Location{ - Line: int(1083), - Column: int(41), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(25), - }, - End: ast.Location{ - Line: int(1083), - Column: int(35), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(25), - }, - End: ast.Location{ - Line: int(1083), - Column: int(31), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(25), - }, - End: ast.Location{ - Line: int(1083), - Column: int(28), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(29), - }, - End: ast.Location{ - Line: int(1083), - Column: int(30), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(34), - }, - End: ast.Location{ - Line: int(1083), - Column: int(35), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1083), - Column: int(40), - }, - End: ast.Location{ - Line: int(1083), - Column: int(41), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", - }, - }, - Id: nil, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1084), - Column: int(11), - }, - End: ast.Location{ - Line: int(1084), - Column: int(15), - }, - File: p1, - }, - Ctx: p10382, - FreeVars: nil, - }, - Value: "==", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(9), - }, - End: ast.Location{ - Line: int(1085), - Column: int(33), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(9), - }, - End: ast.Location{ - Line: int(1085), - Column: int(12), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(13), - }, - End: ast.Location{ - Line: int(1085), - Column: int(16), - }, - File: p1, - }, - Ctx: p10425, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(18), - }, - End: ast.Location{ - Line: int(1085), - Column: int(23), - }, - File: p1, - }, - Ctx: p10425, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(18), - }, - End: ast.Location{ - Line: int(1085), - Column: int(19), - }, - File: p1, - }, - Ctx: p10425, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(22), - }, - End: ast.Location{ - Line: int(1085), - Column: int(23), - }, - File: p1, - }, - Ctx: p10425, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(25), - }, - End: ast.Location{ - Line: int(1085), - Column: int(32), - }, - File: p1, - }, - Ctx: p10425, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(25), - }, - End: ast.Location{ - Line: int(1085), - Column: int(26), - }, - File: p1, - }, - Ctx: p10425, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1085), - Column: int(29), - }, - End: ast.Location{ - Line: int(1085), - Column: int(32), - }, - File: p1, - }, - Ctx: p10425, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - }, - BranchFalse: &ast.Conditional{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1086), - Column: int(12), + Line: int(1173), + Column: int(10), }, End: ast.Location{ - Line: int(1106), - Column: int(33), + Line: int(1173), + Column: int(25), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{}, + Ctx: p12361, 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(1086), - Column: int(15), - }, - End: ast.Location{ - Line: int(1086), - Column: int(39), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(15), - }, - End: ast.Location{ - Line: int(1086), - Column: int(20), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(15), - }, - End: ast.Location{ - Line: int(1086), - Column: int(16), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(19), - }, - End: ast.Location{ - Line: int(1086), - Column: int(20), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: nil, + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1173), + Column: int(10), }, - Value: float64(2), - OriginalString: "2", + End: ast.Location{ + Line: int(1173), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12361, + FreeVars: ast.Identifiers{ + "std", }, }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1086), - Column: int(24), + Line: int(1173), + Column: int(10), }, End: ast.Location{ - Line: int(1086), - Column: int(39), + Line: int(1173), + Column: int(13), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(24), - }, - End: ast.Location{ - Line: int(1086), - Column: int(34), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1086), - Column: int(24), + Line: int(1173), + Column: int(21), }, End: ast.Location{ - Line: int(1086), - Column: int(27), + Line: int(1173), + Column: int(24), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12393, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1086), - Column: int(35), - }, - End: ast.Location{ - Line: int(1086), - Column: int(38), - }, - File: p1, - }, - Ctx: p10456, - FreeVars: ast.Identifiers{ - "arr", - }, + "arr", }, - Id: "arr", }, + Id: "arr", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1087), - Column: int(9), - }, - End: ast.Location{ - Line: int(1095), - Column: int(33), - }, - File: p1, + 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(1173), + Column: int(29), }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", + End: ast.Location{ + Line: int(1173), + Column: int(30), }, + File: p1, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "str", - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(11), - }, - End: ast.Location{ - Line: int(1094), - Column: int(14), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(11), - }, - End: ast.Location{ - Line: int(1093), - Column: int(47), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(11), - }, - End: ast.Location{ - Line: int(1091), - Column: int(68), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(11), - }, - End: ast.Location{ - Line: int(1089), - Column: int(44), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(11), - }, - End: ast.Location{ - Line: int(1089), - Column: int(23), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(24), - }, - End: ast.Location{ - Line: int(1089), - Column: int(43), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(25), - }, - End: ast.Location{ - Line: int(1089), - Column: int(37), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(25), - }, - End: ast.Location{ - Line: int(1089), - Column: int(31), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(25), - }, - End: ast.Location{ - Line: int(1089), - Column: int(28), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(29), - }, - End: ast.Location{ - Line: int(1089), - Column: int(30), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(34), - }, - End: ast.Location{ - Line: int(1089), - Column: int(37), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(252), - OriginalString: "252", - }, - }, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1089), - Column: int(42), - }, - End: ast.Location{ - Line: int(1089), - Column: int(43), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - }, - Id: nil, - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(11), - }, - End: ast.Location{ - Line: int(1091), - Column: int(68), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(11), - }, - End: ast.Location{ - Line: int(1091), - Column: int(23), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(24), - }, - End: ast.Location{ - Line: int(1091), - Column: int(67), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(24), - }, - End: ast.Location{ - Line: int(1091), - Column: int(41), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(25), - }, - End: ast.Location{ - Line: int(1091), - Column: int(35), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(25), - }, - End: ast.Location{ - Line: int(1091), - Column: int(31), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(25), - }, - End: ast.Location{ - Line: int(1091), - Column: int(28), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(29), - }, - End: ast.Location{ - Line: int(1091), - Column: int(30), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(34), - }, - End: ast.Location{ - Line: int(1091), - Column: int(35), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(40), - }, - End: ast.Location{ - Line: int(1091), - Column: int(41), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", - }, - }, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(44), - }, - End: ast.Location{ - Line: int(1091), - Column: int(67), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(45), - }, - End: ast.Location{ - Line: int(1091), - Column: int(61), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(45), - }, - End: ast.Location{ - Line: int(1091), - Column: int(55), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(45), - }, - End: ast.Location{ - Line: int(1091), - Column: int(48), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(49), - }, - End: ast.Location{ - Line: int(1091), - Column: int(54), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(49), - }, - End: ast.Location{ - Line: int(1091), - Column: int(50), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(53), - }, - End: ast.Location{ - Line: int(1091), - Column: int(54), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(58), - }, - End: ast.Location{ - Line: int(1091), - Column: int(61), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(240), - OriginalString: "240", - }, - }, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1091), - Column: int(66), - }, - End: ast.Location{ - Line: int(1091), - Column: int(67), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", - }, - }, - }, - Id: nil, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(11), - }, - End: ast.Location{ - Line: int(1093), - Column: int(47), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(11), - }, - End: ast.Location{ - Line: int(1093), - Column: int(23), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "base64_table", - }, - }, - Id: "base64_table", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(24), - }, - End: ast.Location{ - Line: int(1093), - Column: int(46), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(25), - }, - End: ast.Location{ - Line: int(1093), - Column: int(40), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &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(35), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - 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, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(29), - }, - End: ast.Location{ - Line: int(1093), - Column: int(34), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(29), - }, - End: ast.Location{ - Line: int(1093), - Column: int(30), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(33), - }, - End: ast.Location{ - Line: int(1093), - Column: int(34), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(38), - }, - End: ast.Location{ - Line: int(1093), - Column: int(40), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(15), - OriginalString: "15", - }, - }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1093), - Column: int(45), - }, - End: ast.Location{ - Line: int(1093), - Column: int(46), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - }, - Id: nil, - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1094), - Column: int(11), - }, - End: ast.Location{ - Line: int(1094), - Column: int(14), - }, - File: p1, - }, - Ctx: p10462, - FreeVars: nil, - }, - Value: "=", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Fun: nil, - }, + Fodder: ast.Fodder{}, + Ctx: p12361, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1174), + Column: int(9), }, - Body: &ast.Apply{ + End: ast.Location{ + Line: int(1174), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12361, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + 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(1176), + Column: int(9), + }, + End: ast.Location{ + Line: int(1181), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12361, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "quickSort", + "std", + }, + }, + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "pos", + EqFodder: ast.Fodder{}, + Body: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1095), - Column: int(9), + Line: int(1176), + Column: int(21), }, End: ast.Location{ - Line: int(1095), - Column: int(33), + Line: int(1176), + Column: int(22), }, File: p1, }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, + Fodder: ast.Fodder{}, + Ctx: p12405, + FreeVars: nil, }, - Target: &ast.Var{ + OriginalString: "0", + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1176), + Column: int(15), + }, + End: ast.Location{ + Line: int(1176), + Column: int(22), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1177), + Column: int(9), + }, + End: ast.Location{ + Line: int(1181), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12361, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1095), - Column: int(9), + Line: int(1177), + Column: int(23), }, End: ast.Location{ - Line: int(1095), - Column: int(12), + Line: int(1177), + Column: int(37), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{}, + Ctx: p12411, FreeVars: ast.Identifiers{ - "aux", + "arr", + "keyF", + "pos", }, }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(13), - }, - End: ast.Location{ - Line: int(1095), - Column: int(16), - }, - File: p1, - }, - Ctx: p10543, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(18), - }, - End: ast.Location{ - Line: int(1095), - Column: int(23), - }, - File: p1, - }, - Ctx: p10543, - FreeVars: ast.Identifiers{ - "i", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1177), + Column: int(23), }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(18), - }, - End: ast.Location{ - Line: int(1095), - Column: int(19), - }, - File: p1, - }, - Ctx: p10543, - FreeVars: ast.Identifiers{ - "i", - }, + End: ast.Location{ + Line: int(1177), + Column: int(27), }, - Id: "i", + File: p1, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(22), - }, - End: ast.Location{ - Line: int(1095), - Column: int(23), - }, - File: p1, - }, - Ctx: p10543, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", + Fodder: ast.Fodder{}, + Ctx: p12411, + FreeVars: ast.Identifiers{ + "keyF", }, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(25), - }, - End: ast.Location{ - Line: int(1095), - Column: int(32), - }, - File: p1, - }, - Ctx: p10543, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(25), + 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(1177), + Column: int(28), + }, + End: ast.Location{ + Line: int(1177), + Column: int(36), + }, + File: p1, }, - End: ast.Location{ - Line: int(1095), - Column: int(26), + Fodder: ast.Fodder{}, + Ctx: p12417, + FreeVars: ast.Identifiers{ + "arr", + "pos", }, - File: p1, - }, - Ctx: p10543, - FreeVars: ast.Identifiers{ - "r", }, - }, - Id: "r", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1095), - Column: int(29), - }, - End: ast.Location{ - Line: int(1095), - Column: int(32), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1177), + Column: int(28), + }, + End: ast.Location{ + Line: int(1177), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12417, + FreeVars: ast.Identifiers{ + "arr", + }, }, - File: p1, + Id: "arr", }, - Ctx: p10543, - FreeVars: ast.Identifiers{ - "str", + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1177), + Column: int(32), + }, + End: ast.Location{ + Line: int(1177), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12417, + FreeVars: ast.Identifiers{ + "pos", + }, + }, + Id: "pos", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: "str", + CommaFodder: nil, }, }, + Named: 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(1177), + Column: int(15), + }, + End: ast.Location{ + Line: int(1177), + Column: int(37), + }, + File: p1, }, - TrailingComma: false, - TailStrict: true, }, }, - BranchFalse: &ast.Local{ + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1097), + Line: int(1178), Column: int(9), }, End: ast.Location{ - Line: int(1106), - Column: int(33), + Line: int(1181), + Column: int(68), }, File: p1, }, - Ctx: p10339, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12361, FreeVars: ast.Identifiers{ "arr", - "aux", - "base64_table", - "i", - "r", + "keyF", + "l", + "pivot", + "pos", + "quickSort", + "std", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "str", - Body: &ast.Binary{ + VarFodder: ast.Fodder{}, + Variable: "rest", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1099), - Column: int(11), + Line: int(1178), + Column: int(22), }, End: ast.Location{ - Line: int(1105), - Column: int(42), + Line: int(1178), + Column: int(94), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12428, FreeVars: ast.Identifiers{ "arr", - "base64_table", - "i", + "l", + "pos", + "std", }, }, - Left: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1099), - Column: int(11), + Line: int(1178), + Column: int(22), }, End: ast.Location{ - Line: int(1103), - Column: int(73), + Line: int(1178), + Column: int(35), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12428, FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", + "std", }, }, - Left: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1099), - Column: int(11), + Line: int(1178), + Column: int(22), }, End: ast.Location{ - Line: int(1101), - Column: int(68), + Line: int(1178), + Column: int(25), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", + "std", }, }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(11), - }, - End: ast.Location{ - Line: int(1099), - Column: int(44), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(11), - }, - End: ast.Location{ - Line: int(1099), - Column: int(23), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "base64_table", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "base64_table", + File: nil, }, - Index: &ast.Binary{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1099), - Column: int(24), + Line: int(1178), + Column: int(36), }, End: ast.Location{ - Line: int(1099), - Column: int(43), + Line: int(1178), + Column: int(41), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12437, FreeVars: ast.Identifiers{ - "arr", - "i", + "l", }, }, - Left: &ast.Binary{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1099), - Column: int(25), + Line: int(1178), + Column: int(36), }, End: ast.Location{ - Line: int(1099), + Line: int(1178), Column: int(37), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12437, FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(25), - }, - End: ast.Location{ - Line: int(1099), - Column: int(31), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(25), - }, - End: ast.Location{ - Line: int(1099), - Column: int(28), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(29), - }, - End: ast.Location{ - Line: int(1099), - Column: int(30), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(34), - }, - End: ast.Location{ - Line: int(1099), - Column: int(37), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: nil, + "l", }, - Value: float64(252), - OriginalString: "252", }, + Id: "l", }, - Op: ast.BinaryOp(6), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(4), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1099), - Column: int(42), + Line: int(1178), + Column: int(40), }, End: ast.Location{ - Line: int(1099), - Column: int(43), + Line: int(1178), + Column: int(41), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12437, FreeVars: nil, }, - Value: float64(2), - OriginalString: "2", + OriginalString: "1", }, }, - Id: nil, + CommaFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(11), - }, - End: ast.Location{ - Line: int(1101), - Column: int(68), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(11), + Line: int(1178), + Column: int(43), }, End: ast.Location{ - Line: int(1101), - Column: int(23), + Line: int(1178), + Column: int(93), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12437, FreeVars: ast.Identifiers{ - "base64_table", + "arr", + "pos", }, }, - Id: "base64_table", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(24), - }, - End: ast.Location{ - Line: int(1101), - Column: int(67), + 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(1178), + Column: int(52), + }, + End: ast.Location{ + Line: int(1178), + Column: int(53), + }, + File: p1, }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", }, }, - Left: &ast.Binary{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(24), + Line: int(1178), + Column: int(55), }, End: ast.Location{ - Line: int(1101), - Column: int(41), + Line: int(1178), + Column: int(93), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12446, FreeVars: ast.Identifiers{ "arr", "i", + "pos", }, }, - Left: &ast.Binary{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(25), + Line: int(1178), + Column: int(58), }, End: ast.Location{ - Line: int(1101), - Column: int(35), + Line: int(1178), + Column: int(65), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12446, FreeVars: ast.Identifiers{ - "arr", "i", + "pos", }, }, - Left: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(25), + Line: int(1178), + Column: int(58), }, End: ast.Location{ - Line: int(1101), - Column: int(31), + Line: int(1178), + Column: int(59), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12446, FreeVars: ast.Identifiers{ - "arr", "i", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(25), - }, - End: ast.Location{ - Line: int(1101), - Column: int(28), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(29), - }, - End: ast.Location{ - Line: int(1101), - Column: int(30), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, + Id: "i", }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(34), + Line: int(1178), + Column: int(62), }, End: ast.Location{ - Line: int(1101), - Column: int(35), + Line: int(1178), + Column: int(65), }, File: p1, }, - Ctx: p10560, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12446, + FreeVars: ast.Identifiers{ + "pos", + }, }, - Value: float64(3), - OriginalString: "3", + Id: "pos", }, }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(40), + Line: int(1178), + Column: int(71), }, End: ast.Location{ - Line: int(1101), - Column: int(41), + Line: int(1178), + Column: int(77), }, File: p1, }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", - }, - }, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(44), + Fodder: ast.Fodder{}, + Ctx: p12446, + FreeVars: ast.Identifiers{ + "arr", + "i", }, - End: ast.Location{ - Line: int(1101), - Column: int(67), + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1178), + Column: int(71), + }, + End: ast.Location{ + Line: int(1178), + Column: int(74), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12446, + FreeVars: ast.Identifiers{ + "arr", + }, }, - File: p1, + Id: "arr", }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1178), + Column: int(75), + }, + End: ast.Location{ + Line: int(1178), + Column: int(76), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12446, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Left: &ast.Binary{ + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(45), + Line: int(1178), + Column: int(83), }, End: ast.Location{ - Line: int(1101), - Column: int(61), + Line: int(1178), + Column: int(93), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12446, FreeVars: ast.Identifiers{ "arr", "i", }, }, - Left: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(45), + Line: int(1178), + Column: int(83), }, End: ast.Location{ - Line: int(1101), - Column: int(55), + Line: int(1178), + Column: int(86), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12446, FreeVars: ast.Identifiers{ "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1178), + Column: int(87), + }, + End: ast.Location{ + Line: int(1178), + Column: int(92), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12446, + FreeVars: ast.Identifiers{ "i", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(45), + Line: int(1178), + Column: int(87), }, End: ast.Location{ - Line: int(1101), - Column: int(48), + Line: int(1178), + Column: int(88), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12446, FreeVars: ast.Identifiers{ - "arr", + "i", }, }, - Id: "arr", + Id: "i", }, - Index: &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1101), - Column: int(49), + Line: int(1178), + Column: int(91), }, End: ast.Location{ - Line: int(1101), - Column: int(54), + Line: int(1178), + Column: int(92), }, File: p1, }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(49), - }, - End: ast.Location{ - Line: int(1101), - Column: int(50), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(53), - }, - End: ast.Location{ - Line: int(1101), - Column: int(54), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(58), - }, - End: ast.Location{ - Line: int(1101), - Column: int(61), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(240), - OriginalString: "240", - }, - }, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(66), - }, - End: ast.Location{ - Line: int(1101), - Column: int(67), + Fodder: ast.Fodder{}, + Ctx: p12446, + FreeVars: nil, }, - File: p1, + OriginalString: "1", }, - Ctx: p10560, - FreeVars: nil, }, - Value: float64(4), - OriginalString: "4", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, }, }, - Id: nil, + CommaFodder: nil, }, }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ + 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(1178), + Column: int(15), + }, + End: ast.Location{ + Line: int(1178), + Column: int(94), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1179), + Column: int(9), + }, + End: ast.Location{ + Line: int(1181), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12361, + 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(1179), + Column: int(22), + }, + End: ast.Location{ + Line: int(1179), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12474, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + "rest", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(11), + Line: int(1179), + Column: int(22), }, End: ast.Location{ - Line: int(1103), - Column: int(73), + Line: int(1179), + Column: int(32), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12474, FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(11), + Line: int(1179), + Column: int(22), }, End: ast.Location{ - Line: int(1103), - Column: int(23), + Line: int(1179), + Column: int(25), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "base64_table", + "std", }, }, - Id: "base64_table", + Id: "std", }, - Index: &ast.Binary{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(24), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1103), - Column: int(72), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(24), - }, - End: ast.Location{ - Line: int(1103), - Column: int(46), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Left: &ast.Binary{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(25), + Line: int(1179), + Column: int(33), }, End: ast.Location{ - Line: int(1103), - Column: int(40), + Line: int(1179), + Column: int(60), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12483, FreeVars: ast.Identifiers{ - "arr", - "i", + "keyF", + "pivot", }, }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "x", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(25), + Line: int(1179), + Column: int(42), }, End: ast.Location{ - Line: int(1103), - Column: int(35), + Line: int(1179), + Column: int(43), }, File: p1, }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(25), - }, - End: ast.Location{ - Line: int(1103), - 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(1179), + Column: int(45), }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", + End: ast.Location{ + Line: int(1179), + Column: int(60), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12487, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + "x", }, - Id: "arr", }, - Index: &ast.Binary{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(29), + Line: int(1179), + Column: int(45), }, End: ast.Location{ - Line: int(1103), - Column: int(34), + Line: int(1179), + Column: int(52), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12487, FreeVars: ast.Identifiers{ - "i", + "keyF", + "x", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(29), + Line: int(1179), + Column: int(45), }, End: ast.Location{ - Line: int(1103), - Column: int(30), + Line: int(1179), + Column: int(49), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12487, FreeVars: ast.Identifiers{ - "i", + "keyF", }, }, - Id: "i", + Id: "keyF", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(33), - }, - End: ast.Location{ - Line: int(1103), - Column: int(34), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &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(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12495, + FreeVars: ast.Identifiers{ + "x", + }, + }, + Id: "x", }, - File: p1, + CommaFodder: nil, }, - Ctx: p10560, - FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: nil, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1179), + Column: int(55), + }, + End: ast.Location{ + Line: int(1179), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12487, + 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(1179), + Column: int(62), + }, + End: ast.Location{ + Line: int(1179), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12483, + 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(1179), + Column: int(15), + }, + End: ast.Location{ + Line: int(1179), + Column: int(67), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1180), + Column: int(9), + }, + End: ast.Location{ + Line: int(1181), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12361, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "left", + "pivot", + "pos", + "quickSort", + "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(1180), + Column: int(23), + }, + End: ast.Location{ + Line: int(1180), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12506, + FreeVars: ast.Identifiers{ + "keyF", + "pivot", + "rest", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1180), + Column: int(23), }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(38), - }, - End: ast.Location{ - Line: int(1103), - Column: int(40), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(15), - OriginalString: "15", + End: ast.Location{ + Line: int(1180), + Column: int(33), }, + File: p1, }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(45), - }, - End: ast.Location{ - Line: int(1103), - Column: int(46), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", + Fodder: ast.Fodder{}, + Ctx: p12506, + FreeVars: ast.Identifiers{ + "std", }, }, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(49), + Line: int(1180), + Column: int(23), }, End: ast.Location{ - Line: int(1103), - Column: int(72), + Line: int(1180), + Column: int(26), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "i", + "std", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(50), - }, - End: ast.Location{ - Line: int(1103), - Column: int(66), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Index{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(50), + Line: int(1180), + Column: int(34), }, End: ast.Location{ - Line: int(1103), - Column: int(60), + Line: int(1180), + Column: int(62), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12515, FreeVars: ast.Identifiers{ - "arr", - "i", + "keyF", + "pivot", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "x", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(50), + Line: int(1180), + Column: int(43), }, End: ast.Location{ - Line: int(1103), - Column: int(53), + Line: int(1180), + Column: int(44), }, File: p1, }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - }, }, - Id: "arr", }, - Index: &ast.Binary{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(54), + Line: int(1180), + Column: int(46), }, End: ast.Location{ - Line: int(1103), - Column: int(59), + Line: int(1180), + Column: int(62), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12519, FreeVars: ast.Identifiers{ - "i", + "keyF", + "pivot", + "x", }, }, - Left: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(54), + Line: int(1180), + Column: int(46), }, End: ast.Location{ - Line: int(1103), - Column: int(55), + Line: int(1180), + Column: int(53), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12519, FreeVars: ast.Identifiers{ - "i", + "keyF", + "x", }, }, - Id: "i", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1180), + Column: int(46), + }, + End: ast.Location{ + Line: int(1180), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12519, + 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(1180), + Column: int(51), + }, + End: ast.Location{ + Line: int(1180), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12527, + FreeVars: ast.Identifiers{ + "x", + }, + }, + Id: "x", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(58), + Line: int(1180), + Column: int(57), }, End: ast.Location{ - Line: int(1103), - Column: int(59), + Line: int(1180), + Column: int(62), }, File: p1, }, - Ctx: p10560, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12519, + FreeVars: ast.Identifiers{ + "pivot", + }, }, - Value: float64(2), - OriginalString: "2", + Id: "pivot", }, }, - Id: nil, }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1103), - Column: int(63), + Line: int(1180), + Column: int(64), }, End: ast.Location{ - Line: int(1103), - Column: int(66), + Line: int(1180), + Column: int(68), }, File: p1, }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(192), - OriginalString: "192", - }, - }, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(71), - }, - End: ast.Location{ - Line: int(1103), - Column: int(72), + Fodder: ast.Fodder{}, + Ctx: p12515, + FreeVars: ast.Identifiers{ + "rest", }, - File: p1, }, - Ctx: p10560, - FreeVars: nil, + Id: "rest", }, - Value: float64(6), - OriginalString: "6", + CommaFodder: nil, }, }, + Named: nil, }, - Id: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1180), + Column: int(15), + }, + End: ast.Location{ + Line: int(1180), + Column: int(69), + }, + File: p1, }, }, - Op: ast.BinaryOp(3), - Right: &ast.Index{ + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(9), + }, + End: ast.Location{ + Line: int(1181), + Column: int(68), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12361, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "left", + "pos", + "quickSort", + "right", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1105), - Column: int(11), + Line: int(1181), + Column: int(9), }, End: ast.Location{ - Line: int(1105), - Column: int(42), + Line: int(1181), + Column: int(43), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12361, FreeVars: ast.Identifiers{ "arr", - "base64_table", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(11), - }, - End: ast.Location{ - Line: int(1105), - Column: int(23), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "base64_table", - }, + "keyF", + "left", + "pos", + "quickSort", }, - Id: "base64_table", }, - Index: &ast.Binary{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1105), - Column: int(25), + Line: int(1181), + Column: int(9), }, End: ast.Location{ - Line: int(1105), - Column: int(40), + Line: int(1181), + Column: int(30), }, File: p1, }, - Ctx: p10560, + Fodder: ast.Fodder{}, + Ctx: p12361, FreeVars: ast.Identifiers{ - "arr", - "i", + "keyF", + "left", + "quickSort", }, }, - Left: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1105), - Column: int(25), + Line: int(1181), + Column: int(9), }, End: ast.Location{ - Line: int(1105), - Column: int(35), + Line: int(1181), + Column: int(18), }, File: p1, }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(25), - }, - End: ast.Location{ - Line: int(1105), - Column: int(28), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "arr", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, }, - Id: "arr", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(29), - }, - End: ast.Location{ - Line: int(1105), - Column: int(34), - }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "i", - }, + Ctx: p12361, + FreeVars: ast.Identifiers{ + "quickSort", }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(29), + }, + 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(1181), + Column: int(19), + }, + End: ast.Location{ + Line: int(1181), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(1105), - Column: int(30), + Fodder: ast.Fodder{}, + Ctx: p12544, + FreeVars: ast.Identifiers{ + "left", }, - File: p1, - }, - Ctx: p10560, - FreeVars: ast.Identifiers{ - "i", }, + Id: "left", }, - Id: "i", + CommaFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(33), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(25), + }, + End: ast.Location{ + Line: int(1181), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(1105), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p12544, + FreeVars: ast.Identifiers{ + "keyF", }, - File: p1, }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(38), - }, - End: ast.Location{ - Line: int(1105), - Column: int(40), + Id: "keyF", }, - File: p1, + CommaFodder: nil, }, - Ctx: p10560, - FreeVars: nil, - }, - Value: float64(63), - OriginalString: "63", - }, - }, - Id: nil, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(9), - }, - End: ast.Location{ - Line: int(1106), - Column: int(33), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(9), - }, - End: ast.Location{ - Line: int(1106), - Column: int(12), - }, - File: p1, - }, - Ctx: p10339, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(13), - }, - End: ast.Location{ - Line: int(1106), - Column: int(16), - }, - File: p1, - }, - Ctx: p10673, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(18), - }, - End: ast.Location{ - Line: int(1106), - Column: int(23), }, - File: p1, - }, - Ctx: p10673, - FreeVars: ast.Identifiers{ - "i", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Left: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1106), - Column: int(18), + Line: int(1181), + Column: int(33), }, End: ast.Location{ - Line: int(1106), - Column: int(19), + Line: int(1181), + Column: int(43), }, File: p1, }, - Ctx: p10673, + Fodder: ast.Fodder{}, + Ctx: p12361, FreeVars: ast.Identifiers{ - "i", + "arr", + "pos", }, }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(22), - }, - End: ast.Location{ - Line: int(1106), - Column: int(23), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(34), + }, + End: ast.Location{ + Line: int(1181), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12552, + FreeVars: ast.Identifiers{ + "arr", + "pos", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(34), + }, + End: ast.Location{ + Line: int(1181), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12552, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(38), + }, + End: ast.Location{ + Line: int(1181), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12552, + FreeVars: ast.Identifiers{ + "pos", + }, + }, + Id: "pos", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - File: p1, + CommaFodder: nil, }, - Ctx: p10673, - FreeVars: nil, }, - Value: float64(3), - OriginalString: "3", + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, }, - &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1106), - Column: int(25), + Line: int(1181), + Column: int(46), }, End: ast.Location{ - Line: int(1106), - Column: int(32), + Line: int(1181), + Column: int(68), }, File: p1, }, - Ctx: p10673, + Fodder: ast.Fodder{}, + Ctx: p12361, FreeVars: ast.Identifiers{ - "r", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(25), - }, - End: ast.Location{ - Line: int(1106), - Column: int(26), - }, - File: p1, - }, - Ctx: p10673, - FreeVars: ast.Identifiers{ - "r", - }, + "keyF", + "quickSort", + "right", }, - Id: "r", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(29), - }, - End: ast.Location{ - Line: int(1106), - Column: int(32), - }, - File: p1, - }, - Ctx: p10673, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(5), - }, - End: ast.Location{ - Line: int(1112), - Column: int(24), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: ast.Identifiers{ - "aux", - "bytes", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "sanity", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(20), - }, - End: ast.Location{ - Line: int(1108), - Column: int(73), - }, - File: p1, - }, - Ctx: p10690, - FreeVars: ast.Identifiers{ - "bytes", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(20), - }, - End: ast.Location{ - Line: int(1108), - Column: int(29), - }, - File: p1, - }, - Ctx: p10690, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(20), - }, - End: ast.Location{ - Line: int(1108), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "foldl", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(30), - }, - End: ast.Location{ - Line: int(1108), - Column: int(59), - }, - File: p1, - }, - Ctx: p10699, - FreeVars: nil, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "r", - "a", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(45), - }, - End: ast.Location{ - Line: int(1108), - Column: int(59), - }, - File: p1, - }, - Ctx: p10702, - FreeVars: ast.Identifiers{ - "a", - "r", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(45), - }, - End: ast.Location{ - Line: int(1108), - Column: int(46), - }, - File: p1, - }, - Ctx: p10702, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - Op: ast.BinaryOp(17), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(51), - }, - End: ast.Location{ - Line: int(1108), - Column: int(58), - }, - File: p1, - }, - Ctx: p10702, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(51), - }, - End: ast.Location{ - Line: int(1108), - Column: int(52), - }, - File: p1, - }, - Ctx: p10702, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Op: ast.BinaryOp(9), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(55), - }, - End: ast.Location{ - Line: int(1108), - Column: int(58), - }, - File: p1, - }, - Ctx: p10702, - FreeVars: nil, - }, - Value: float64(256), - OriginalString: "256", - }, - }, - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(61), - }, - End: ast.Location{ - Line: int(1108), - Column: int(66), - }, - File: p1, - }, - Ctx: p10699, - FreeVars: ast.Identifiers{ - "bytes", - }, - }, - Id: "bytes", - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(68), - }, - End: ast.Location{ - Line: int(1108), - Column: int(72), - }, - File: p1, - }, - Ctx: p10699, - FreeVars: nil, - }, - Value: true, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(5), - }, - End: ast.Location{ - Line: int(1112), - Column: int(24), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: ast.Identifiers{ - "aux", - "bytes", - "sanity", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(8), - }, - End: ast.Location{ - Line: int(1109), - Column: int(15), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: ast.Identifiers{ - "sanity", - }, - }, - Op: ast.UnaryOp(0), - Expr: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(9), - }, - End: ast.Location{ - Line: int(1109), - Column: int(15), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: ast.Identifiers{ - "sanity", - }, - }, - Id: "sanity", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1110), - Column: int(7), - }, - End: ast.Location{ - Line: int(1110), - Column: int(71), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: nil, - }, - Expr: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1110), - Column: int(13), - }, - End: ast.Location{ - Line: int(1110), - Column: int(71), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: nil, - }, - Value: "Can only base64 encode strings / arrays of single bytes.", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(7), - }, - End: ast.Location{ - Line: int(1112), - Column: int(24), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: ast.Identifiers{ - "aux", - "bytes", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(7), - }, - End: ast.Location{ - Line: int(1112), - Column: int(10), - }, - File: p1, - }, - Ctx: p10283, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(11), - }, - End: ast.Location{ - Line: int(1112), - Column: int(16), - }, - File: p1, - }, - Ctx: p10728, - FreeVars: ast.Identifiers{ - "bytes", - }, - }, - Id: "bytes", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(18), - }, - End: ast.Location{ - Line: int(1112), - Column: int(19), - }, - File: p1, - }, - Ctx: p10728, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(21), - }, - End: ast.Location{ - Line: int(1112), - Column: int(23), + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(46), + }, + End: ast.Location{ + Line: int(1181), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12361, + 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(1181), + Column: int(56), + }, + End: ast.Location{ + Line: int(1181), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12564, + FreeVars: ast.Identifiers{ + "right", + }, + }, + Id: "right", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1181), + Column: int(63), + }, + End: ast.Location{ + Line: int(1181), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12564, + FreeVars: ast.Identifiers{ + "keyF", + }, + }, + Id: "keyF", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, }, - File: p1, }, - Ctx: p10728, - FreeVars: nil, }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "base64DecodeBytes", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "base64_inv", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1116), - Column: int(5), - }, - End: ast.Location{ - Line: int(1134), - Column: int(22), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "base64_inv", - "std", - "str", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1116), - Column: int(8), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1116), - Column: int(32), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1116), - Column: int(8), - }, - End: ast.Location{ - Line: int(1116), - Column: int(23), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1116), - Column: int(8), - }, - End: ast.Location{ - Line: int(1116), - Column: int(18), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1116), - Column: int(8), - }, - End: ast.Location{ - Line: int(1116), - Column: int(11), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1116), - Column: int(19), - }, - End: ast.Location{ - Line: int(1116), - Column: int(22), - }, - File: p1, - }, - Ctx: p10758, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1116), - Column: int(26), - }, - End: ast.Location{ - Line: int(1116), - Column: int(27), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1116), - Column: int(31), - }, - End: ast.Location{ - Line: int(1116), - Column: int(32), - }, - File: p1, + Line: int(0), + Column: int(0), }, - Ctx: p10737, - FreeVars: nil, + File: nil, }, - Value: float64(0), - OriginalString: "0", }, }, - BranchTrue: &ast.Error{ + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1117), - Column: int(7), + Line: int(1183), + Column: int(5), }, End: ast.Location{ - Line: int(1117), - Column: int(53), + Line: int(1203), + Column: int(67), }, File: p1, }, - Ctx: p10737, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p12350, FreeVars: ast.Identifiers{ + "arr", + "keyF", + "quickSort", "std", - "str", }, }, - Expr: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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(0), - Column: int(0), + Line: int(1183), + Column: int(11), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1195), + Column: int(20), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: nil, + Ctx: p12573, FreeVars: ast.Identifiers{ + "keyF", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mod", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "a", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1117), - Column: int(13), + Line: int(1183), + Column: int(17), }, End: ast.Location{ - Line: int(1117), - Column: int(47), + Line: int(1183), + Column: int(18), }, File: p1, }, - Ctx: p10737, - FreeVars: nil, }, - Value: "Not a base64 encoded string \"%s\"", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1117), - Column: int(50), + Line: int(1183), + Column: int(20), }, End: ast.Location{ - Line: int(1117), - Column: int(53), + Line: int(1183), + Column: int(21), }, File: p1, }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(7), - }, - End: ast.Location{ - Line: int(1134), - Column: int(22), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "base64_inv", - "std", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1119), - Column: int(13), - }, - End: ast.Location{ - Line: int(1133), - Column: int(44), - }, - File: p1, - }, - Ctx: p10779, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "i", - "r", }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1120), - Column: int(9), + Line: int(1184), + Column: int(7), }, End: ast.Location{ - Line: int(1133), - Column: int(44), + Line: int(1195), + Column: int(20), }, File: p1, }, - Ctx: p10783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12578, FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "r", + "a", + "b", + "keyF", "std", - "str", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(12), - }, - End: ast.Location{ - Line: int(1120), - Column: int(32), + 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(1184), + Column: int(18), + }, + End: ast.Location{ + Line: int(1184), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12582, + FreeVars: ast.Identifiers{ + "a", + "std", + }, }, - File: p1, - }, - Ctx: p10783, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(12), + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1184), + Column: int(18), + }, + End: ast.Location{ + Line: int(1184), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12582, + FreeVars: ast.Identifiers{ + "std", + }, }, - End: ast.Location{ - Line: int(1120), - Column: int(13), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1184), + Column: int(18), + }, + End: ast.Location{ + Line: int(1184), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Id: "std", }, - File: p1, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: p10783, - FreeVars: ast.Identifiers{ - "i", + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1184), + Column: int(29), + }, + End: ast.Location{ + Line: int(1184), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12591, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: "i", - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1120), - Column: int(17), - }, - End: ast.Location{ - Line: int(1120), - Column: int(32), - }, - File: p1, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1184), + Column: int(13), }, - Ctx: p10783, - FreeVars: ast.Identifiers{ - "std", - "str", + End: ast.Location{ + Line: int(1184), + Column: int(31), }, + File: p1, }, - Target: &ast.Index{ + }, + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "lb", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1120), - Column: int(17), + Line: int(1184), + Column: int(38), }, End: ast.Location{ - Line: int(1120), - Column: int(27), + Line: int(1184), + Column: int(51), }, File: p1, }, - Ctx: p10783, + Fodder: ast.Fodder{}, + Ctx: p12594, FreeVars: ast.Identifiers{ + "b", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1120), - Column: int(17), + Line: int(1184), + Column: int(38), }, End: ast.Location{ - Line: int(1120), - Column: int(20), + Line: int(1184), + Column: int(48), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12594, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1184), + Column: int(38), + }, + End: ast.Location{ + Line: int(1184), + Column: int(41), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1120), - Column: int(28), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1120), - Column: int(31), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10798, - FreeVars: ast.Identifiers{ - "str", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1184), + Column: int(49), + }, + End: ast.Location{ + Line: int(1184), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12603, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", }, + CommaFodder: nil, }, - Id: "str", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1121), - Column: int(11), + Line: int(1184), + Column: int(33), }, End: ast.Location{ - Line: int(1121), - Column: int(12), + Line: int(1184), + Column: int(51), }, File: p1, }, - Ctx: p10783, - FreeVars: ast.Identifiers{ - "r", - }, }, - Id: "r", }, - BranchFalse: &ast.Local{ + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(11), + Line: int(1185), + Column: int(7), }, End: ast.Location{ - Line: int(1133), - Column: int(44), + Line: int(1195), + Column: int(20), }, File: p1, }, - Ctx: p10783, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12578, FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "r", - "str", + "a", + "b", + "keyF", + "la", + "lb", + "std", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "n1", - Body: &ast.Array{ + VarFodder: nil, + Variable: "aux", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(22), + Line: int(1185), + Column: int(13), }, End: ast.Location{ - Line: int(1124), - Column: int(79), + Line: int(1194), + Column: int(43), }, File: p1, }, - Ctx: p10806, + Fodder: nil, + Ctx: p12610, FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", + "a", + "aux", + "b", + "keyF", + "la", + "lb", + "std", + }, + }, + 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(1185), + Column: int(17), + }, + End: ast.Location{ + Line: int(1185), + 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(1185), + Column: int(20), + }, + End: ast.Location{ + Line: int(1185), + 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(1185), + Column: int(23), + }, + End: ast.Location{ + Line: int(1185), + Column: int(29), + }, + File: p1, + }, }, }, - Elements: ast.Nodes{ - &ast.Binary{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1186), + Column: int(9), + }, + End: ast.Location{ + Line: int(1194), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", + "j", + "keyF", + "la", + "lb", + "prefix", + "std", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(23), + Line: int(1186), + Column: int(12), }, End: ast.Location{ - Line: int(1124), - Column: int(78), + Line: int(1186), + Column: int(19), }, File: p1, }, - Ctx: p10810, + Fodder: ast.Fodder{}, + Ctx: p12615, FreeVars: ast.Identifiers{ - "base64_inv", "i", - "str", + "la", }, }, - Left: &ast.Binary{ + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1186), + Column: int(12), + }, + End: ast.Location{ + Line: int(1186), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + 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(1186), + Column: int(17), + }, + End: ast.Location{ + Line: int(1186), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "la", + }, + }, + Id: "la", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(11), + }, + End: ast.Location{ + Line: int(1187), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "b", + "j", + "prefix", + "std", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(11), + }, + End: ast.Location{ + Line: int(1187), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "prefix", + }, + }, + Id: "prefix", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(23), + Line: int(1187), + Column: int(20), }, End: ast.Location{ - Line: int(1124), - Column: int(46), + Line: int(1187), + Column: int(25), }, File: p1, }, - Ctx: p10810, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", + "b", + "j", + "std", }, }, - Left: &ast.Index{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(23), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1124), - Column: int(41), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10810, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(23), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1124), - Column: int(33), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10810, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "base64_inv", + "std", }, }, - Id: "base64_inv", + Id: "std", }, - Index: &ast.Index{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(34), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1124), - Column: int(40), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p10810, - FreeVars: ast.Identifiers{ - "i", - "str", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(34), + 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(1187), + Column: int(20), + }, + End: ast.Location{ + Line: int(1187), + Column: int(21), + }, + File: p1, }, - End: ast.Location{ - Line: int(1124), - Column: int(37), + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p10810, - FreeVars: ast.Identifiers{ - "str", }, + Id: "b", }, - Id: "str", + CommaFodder: nil, }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(38), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1187), + Column: int(22), + }, + End: ast.Location{ + Line: int(1187), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(1124), - Column: int(39), + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "j", }, - File: p1, }, - Ctx: p10810, - FreeVars: ast.Identifiers{ - "i", + 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: nil, }, }, - 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: nil, + }, + }, + CommaFodder: nil, }, - Id: nil, }, - Id: nil, + Named: nil, }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ + 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(1188), + Column: int(14), + }, + End: ast.Location{ + Line: int(1194), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", + "j", + "keyF", + "lb", + "prefix", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1188), + Column: int(17), + }, + End: ast.Location{ + Line: int(1188), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "j", + "lb", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(45), + Line: int(1188), + Column: int(17), }, End: ast.Location{ - Line: int(1124), - Column: int(46), + Line: int(1188), + Column: int(18), }, File: p1, }, - Ctx: p10810, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "j", + }, }, - Value: float64(2), - OriginalString: "2", + Id: "j", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1188), + Column: int(22), + }, + End: ast.Location{ + Line: int(1188), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "lb", + }, + }, + Id: "lb", }, }, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(50), + Line: int(1189), + Column: int(11), }, End: ast.Location{ - Line: int(1124), - Column: int(77), + Line: int(1189), + Column: int(25), }, File: p1, }, - Ctx: p10810, + Fodder: ast.Fodder{}, + Ctx: p12615, FreeVars: ast.Identifiers{ - "base64_inv", + "a", "i", - "str", + "prefix", + "std", }, }, - Left: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(50), + Line: int(1189), + Column: int(11), }, End: ast.Location{ - Line: int(1124), - Column: int(72), + Line: int(1189), + Column: int(17), }, File: p1, }, - Ctx: p10810, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p12615, FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", + "prefix", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(50), - }, - End: ast.Location{ - Line: int(1124), - Column: int(60), - }, - File: p1, + Id: "prefix", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1189), + Column: int(20), }, - Ctx: p10810, - FreeVars: ast.Identifiers{ - "base64_inv", + End: ast.Location{ + Line: int(1189), + Column: int(25), }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "a", + "i", + "std", }, - Id: "base64_inv", }, - Index: &ast.Index{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(61), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1124), - Column: int(71), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10810, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", - "str", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(61), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1124), - Column: int(64), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10810, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "str", + "std", }, }, - Id: "str", + Id: "std", }, - Index: &ast.Binary{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1124), - Column: int(65), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1124), - Column: int(70), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p10810, - FreeVars: ast.Identifiers{ - "i", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(65), + 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(1189), + Column: int(20), + }, + End: ast.Location{ + Line: int(1189), + Column: int(21), + }, + File: p1, }, - End: ast.Location{ - Line: int(1124), - Column: int(66), + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p10810, - FreeVars: ast.Identifiers{ - "i", }, + Id: "a", }, - Id: "i", + CommaFodder: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(69), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1189), + Column: int(22), + }, + End: ast.Location{ + Line: int(1189), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(1124), - Column: int(70), + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "i", }, - File: p1, }, - Ctx: p10810, - FreeVars: nil, + Id: "i", }, - Value: float64(1), - OriginalString: "1", + CommaFodder: nil, }, - }, - Id: nil, - }, - Id: nil, - }, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(76), + 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: nil, + }, + }, + CommaFodder: nil, }, - End: ast.Location{ - Line: int(1124), - Column: int(77), + 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: nil, + }, + }, + CommaFodder: nil, }, - File: p1, }, - Ctx: p10810, - FreeVars: nil, + Named: nil, }, - Value: float64(4), - OriginalString: "4", - }, - }, - }, - }, - TrailingComma: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1126), - Column: int(11), - }, - End: ast.Location{ - Line: int(1133), - Column: int(44), - }, - File: p1, - }, - Ctx: p10783, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "n1", - "r", - "str", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "n2", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1127), - Column: int(13), - }, - End: ast.Location{ - Line: int(1128), - Column: int(86), + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - File: p1, - }, - Ctx: p10845, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1127), - Column: int(16), - }, - End: ast.Location{ - Line: int(1127), - Column: int(33), - }, - File: p1, - }, - Ctx: p10845, - FreeVars: ast.Identifiers{ - "i", - "str", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, }, - Left: &ast.Index{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1127), - Column: int(16), + Line: int(1191), + Column: int(11), }, End: ast.Location{ - Line: int(1127), - Column: int(26), + Line: int(1194), + Column: int(43), }, File: p1, }, - Ctx: p10845, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p12615, FreeVars: ast.Identifiers{ + "a", + "aux", + "b", "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1127), - Column: int(16), - }, - End: ast.Location{ - Line: int(1127), - Column: int(19), - }, - File: p1, - }, - Ctx: p10845, - FreeVars: ast.Identifiers{ - "str", - }, + "j", + "keyF", + "prefix", }, - Id: "str", }, - Index: &ast.Binary{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1127), - Column: int(20), + Line: int(1191), + Column: int(14), }, End: ast.Location{ - Line: int(1127), - Column: int(25), + Line: int(1191), + Column: int(38), }, File: p1, }, - Ctx: p10845, + Fodder: ast.Fodder{}, + Ctx: p12615, FreeVars: ast.Identifiers{ + "a", + "b", "i", + "j", + "keyF", }, }, - Left: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1127), - Column: int(20), + Line: int(1191), + Column: int(14), }, End: ast.Location{ - Line: int(1127), - Column: int(21), + Line: int(1191), + Column: int(24), }, File: p1, }, - Ctx: p10845, + Fodder: ast.Fodder{}, + Ctx: p12615, FreeVars: ast.Identifiers{ + "a", "i", + "keyF", }, }, - Id: "i", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(14), + }, + End: ast.Location{ + Line: int(1191), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + 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(1191), + Column: int(19), + }, + End: ast.Location{ + Line: int(1191), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12682, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(19), + }, + End: ast.Location{ + Line: int(1191), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12682, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(21), + }, + End: ast.Location{ + Line: int(1191), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12682, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(10), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1127), - Column: int(24), + Line: int(1191), + Column: int(28), }, End: ast.Location{ - Line: int(1127), - Column: int(25), + Line: int(1191), + Column: int(38), }, File: p1, }, - Ctx: p10845, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, }, - Value: float64(2), - OriginalString: "2", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(28), + }, + End: ast.Location{ + Line: int(1191), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12615, + 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(1191), + Column: int(33), + }, + End: ast.Location{ + Line: int(1191), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12694, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(33), + }, + End: ast.Location{ + Line: int(1191), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12694, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1191), + Column: int(35), + }, + End: ast.Location{ + Line: int(1191), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12694, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Id: "j", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1127), - Column: int(30), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(13), + }, + End: ast.Location{ + Line: int(1192), + Column: int(43), + }, + File: p1, }, - End: ast.Location{ - Line: int(1127), - Column: int(33), + Fodder: ast.Fodder{}, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "a", + "aux", + "i", + "j", + "prefix", }, - File: p1, }, - Ctx: p10845, - FreeVars: nil, - }, - Value: "=", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1127), - Column: int(39), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(13), + }, + End: ast.Location{ + Line: int(1192), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p12615, + FreeVars: ast.Identifiers{ + "aux", + }, + }, + Id: "aux", }, - End: ast.Location{ - Line: int(1127), - Column: int(41), + 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(1192), + Column: int(17), + }, + End: ast.Location{ + Line: int(1192), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12707, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(17), + }, + End: ast.Location{ + Line: int(1192), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12707, + 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(1192), + Column: int(21), + }, + End: ast.Location{ + Line: int(1192), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12707, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(24), + }, + End: ast.Location{ + Line: int(1192), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12707, + 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(1192), + Column: int(27), + }, + End: ast.Location{ + Line: int(1192), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12707, + FreeVars: ast.Identifiers{ + "a", + "i", + "prefix", + }, + }, + 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(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12707, + 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(1192), + Column: int(36), + }, + End: ast.Location{ + Line: int(1192), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12707, + 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(1192), + Column: int(37), + }, + End: ast.Location{ + Line: int(1192), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12722, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(37), + }, + End: ast.Location{ + Line: int(1192), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12722, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1192), + Column: int(39), + }, + End: ast.Location{ + Line: int(1192), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12722, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, + TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - Ctx: p10845, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(18), - }, - End: ast.Location{ - Line: int(1128), - Column: int(86), + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - File: p1, - }, - Ctx: p10845, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", }, - }, - Elements: ast.Nodes{ - &ast.Binary{ + BranchFalse: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(19), + Line: int(1194), + Column: int(13), }, End: ast.Location{ - Line: int(1128), - Column: int(85), + Line: int(1194), + Column: int(43), }, File: p1, }, - Ctx: p10864, + Fodder: ast.Fodder{}, + Ctx: p12615, FreeVars: ast.Identifiers{ - "base64_inv", + "aux", + "b", "i", - "str", + "j", + "prefix", }, }, - Left: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(19), + Line: int(1194), + Column: int(13), }, End: ast.Location{ - Line: int(1128), - Column: int(53), + Line: int(1194), + Column: int(16), }, File: p1, }, - Ctx: p10864, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p12615, FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", + "aux", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(20), - }, - End: ast.Location{ - Line: int(1128), - Column: int(47), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(20), - }, - End: ast.Location{ - Line: int(1128), - Column: int(42), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ + Id: "aux", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(20), + Line: int(1194), + Column: int(17), }, End: ast.Location{ - Line: int(1128), - Column: int(30), + Line: int(1194), + Column: int(18), }, File: p1, }, - Ctx: p10864, + Fodder: ast.Fodder{}, + Ctx: p12736, FreeVars: ast.Identifiers{ - "base64_inv", + "i", }, }, - Id: "base64_inv", + Id: "i", }, - Index: &ast.Index{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(31), + Line: int(1194), + Column: int(20), }, End: ast.Location{ - Line: int(1128), - Column: int(41), + Line: int(1194), + Column: int(25), }, File: p1, }, - Ctx: p10864, + Fodder: ast.Fodder{}, + Ctx: p12736, FreeVars: ast.Identifiers{ - "i", - "str", + "j", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(31), + Line: int(1194), + Column: int(20), }, End: ast.Location{ - Line: int(1128), - Column: int(34), + Line: int(1194), + Column: int(21), }, File: p1, }, - Ctx: p10864, + Fodder: ast.Fodder{}, + Ctx: p12736, FreeVars: ast.Identifiers{ - "str", + "j", }, }, - Id: "str", + Id: "j", }, - Index: &ast.Binary{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(35), + Line: int(1194), + Column: int(24), }, End: ast.Location{ - Line: int(1128), - Column: int(40), + Line: int(1194), + Column: int(25), }, File: p1, }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &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(36), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(39), - }, - End: ast.Location{ - Line: int(1128), - Column: int(40), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - Id: nil, - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(45), - }, - End: ast.Location{ - Line: int(1128), - Column: int(47), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: nil, - }, - Value: float64(15), - OriginalString: "15", - }, - }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(52), - }, - End: ast.Location{ - Line: int(1128), - Column: int(53), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", - }, - }, - Op: ast.BinaryOp(16), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(57), - }, - End: ast.Location{ - Line: int(1128), - Column: int(84), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(57), - }, - End: ast.Location{ - Line: int(1128), - Column: int(79), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(57), - }, - End: ast.Location{ - Line: int(1128), - Column: int(67), + Fodder: ast.Fodder{}, + Ctx: p12736, + FreeVars: nil, }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "base64_inv", + OriginalString: "1", }, }, - Id: "base64_inv", + CommaFodder: ast.Fodder{}, }, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(68), - }, - End: ast.Location{ - Line: int(1128), - Column: int(78), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(68), - }, - End: ast.Location{ - Line: int(1128), - Column: int(71), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Binary{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(72), + Line: int(1194), + Column: int(27), }, End: ast.Location{ - Line: int(1128), - Column: int(77), + Line: int(1194), + Column: int(42), }, File: p1, }, - Ctx: p10864, + Fodder: ast.Fodder{}, + Ctx: p12736, FreeVars: ast.Identifiers{ - "i", + "b", + "j", + "prefix", }, }, Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(72), + Line: int(1194), + Column: int(27), }, End: ast.Location{ - Line: int(1128), - Column: int(73), + Line: int(1194), + Column: int(33), }, File: p1, }, - Ctx: p10864, + Fodder: ast.Fodder{}, + Ctx: p12736, FreeVars: ast.Identifiers{ - "i", + "prefix", }, }, - Id: "i", + Id: "prefix", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + Right: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1128), - Column: int(76), + Line: int(1194), + Column: int(36), }, End: ast.Location{ - Line: int(1128), - Column: int(77), + Line: int(1194), + Column: int(42), }, File: p1, }, - Ctx: p10864, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p12736, + 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(1194), + Column: int(37), + }, + End: ast.Location{ + Line: int(1194), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12751, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1194), + Column: int(37), + }, + End: ast.Location{ + Line: int(1194), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12751, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1194), + Column: int(39), + }, + End: ast.Location{ + Line: int(1194), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12751, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Id: "j", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, }, - Value: float64(2), - OriginalString: "2", + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, }, - Id: nil, + CommaFodder: nil, }, - Id: nil, }, - Op: ast.BinaryOp(6), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1128), - Column: int(83), - }, - End: ast.Location{ - Line: int(1128), - Column: int(84), - }, - File: p1, - }, - Ctx: p10864, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", + 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(1195), + Column: int(7), + }, + End: ast.Location{ + Line: int(1195), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12578, + FreeVars: ast.Identifiers{ + "aux", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1195), + Column: int(7), + }, + End: ast.Location{ + Line: int(1195), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12578, + FreeVars: ast.Identifiers{ + "aux", + }, + }, + Id: "aux", + }, + 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(1195), + Column: int(11), + }, + End: ast.Location{ + Line: int(1195), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12764, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1195), + Column: int(14), + }, + End: ast.Location{ + Line: int(1195), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12764, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1195), + Column: int(17), + }, + End: ast.Location{ + Line: int(1195), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12764, + FreeVars: nil, + }, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + 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, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(5), + }, + End: ast.Location{ + Line: int(1203), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "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(1197), + Column: int(15), + }, + End: ast.Location{ + Line: int(1197), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12772, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(15), + }, + End: ast.Location{ + Line: int(1197), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12772, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1197), + Column: int(15), + }, + End: ast.Location{ + Line: int(1197), + 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: nil, + }, + 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(1197), + Column: int(26), + }, + End: ast.Location{ + Line: int(1197), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12781, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + 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(1197), + Column: int(11), + }, + End: ast.Location{ + Line: int(1197), + Column: int(30), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1198), + Column: int(5), + }, + End: ast.Location{ + Line: int(1203), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "merge", + "quickSort", + "std", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1198), + Column: int(8), + }, + End: ast.Location{ + Line: int(1198), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1198), + Column: int(8), + }, + End: ast.Location{ + Line: int(1198), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1198), + Column: int(8), + }, + End: ast.Location{ + Line: int(1198), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1198), + Column: int(8), + }, + End: ast.Location{ + Line: int(1198), + 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: nil, + }, + 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(1198), + Column: int(19), + }, + End: ast.Location{ + Line: int(1198), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12797, + 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(10), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1198), + Column: int(27), + }, + End: ast.Location{ + Line: int(1198), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12350, + FreeVars: nil, + }, + OriginalString: "30", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1199), + Column: int(7), + }, + End: ast.Location{ + Line: int(1199), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "quickSort", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1199), + Column: int(7), + }, + End: ast.Location{ + Line: int(1199), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12350, + 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(1199), + Column: int(17), + }, + End: ast.Location{ + Line: int(1199), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12807, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + 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(1199), + Column: int(27), + }, + End: ast.Location{ + Line: int(1199), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12807, + FreeVars: ast.Identifiers{ + "keyF", + }, + }, + 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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1201), + Column: int(7), + }, + End: ast.Location{ + Line: int(1203), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "l", + "merge", + "std", + }, + }, + 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(1201), + Column: int(19), + }, + End: ast.Location{ + Line: int(1201), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12818, + FreeVars: ast.Identifiers{ + "l", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1201), + Column: int(19), + }, + End: ast.Location{ + Line: int(1201), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12818, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1201), + Column: int(19), + }, + End: ast.Location{ + Line: int(1201), + 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: nil, + }, + 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(1201), + Column: int(29), + }, + End: ast.Location{ + Line: int(1201), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12827, + FreeVars: ast.Identifiers{ + "l", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1201), + Column: int(29), + }, + End: ast.Location{ + Line: int(1201), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12827, + FreeVars: ast.Identifiers{ + "l", + }, + }, + Id: "l", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(1), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1201), + Column: int(33), + }, + End: ast.Location{ + Line: int(1201), + Column: int(34), }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p12827, + FreeVars: nil, }, + OriginalString: "2", }, - TrailingComma: false, }, + CommaFodder: nil, }, - Fun: nil, }, + Named: nil, }, - Body: &ast.Local{ + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1201), + Column: int(13), + }, + End: ast.Location{ + Line: int(1201), + Column: int(35), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1202), + Column: int(7), + }, + End: ast.Location{ + Line: int(1203), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "merge", + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(1130), - Column: int(11), + Line: int(1202), + Column: int(20), }, End: ast.Location{ - Line: int(1133), - Column: int(44), + Line: int(1202), + Column: int(29), }, File: p1, }, - Ctx: p10783, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "n1", - "n2", - "r", - "str", + "arr", + "mid", + "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "n3", - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(13), - }, - End: ast.Location{ - Line: int(1132), - Column: int(78), - }, - File: p1, + 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), }, - Ctx: p10905, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Cond: &ast.Binary{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1131), - Column: int(16), + Line: int(1202), + Column: int(20), }, End: ast.Location{ - Line: int(1131), - Column: int(33), + Line: int(1202), + Column: int(23), }, File: p1, }, - Ctx: p10905, + Fodder: ast.Fodder{}, + Ctx: p12845, FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(16), - }, - End: ast.Location{ - Line: int(1131), - Column: int(26), - }, - File: p1, - }, - Ctx: p10905, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(16), - }, - End: ast.Location{ - Line: int(1131), - Column: int(19), - }, - File: p1, - }, - Ctx: p10905, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(20), - }, - End: ast.Location{ - Line: int(1131), - Column: int(25), - }, - File: p1, - }, - Ctx: p10905, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(20), - }, - End: ast.Location{ - Line: int(1131), - Column: int(21), - }, - File: p1, - }, - Ctx: p10905, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(24), - }, - End: ast.Location{ - Line: int(1131), - Column: int(25), - }, - File: p1, - }, - Ctx: p10905, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(30), - }, - End: ast.Location{ - Line: int(1131), - Column: int(33), - }, - File: p1, - }, - Ctx: p10905, - FreeVars: nil, + "arr", }, - Value: "=", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, + Id: "arr", }, - BranchTrue: &ast.Array{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1131), - Column: int(39), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1131), - Column: int(41), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10905, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Elements: nil, - TrailingComma: false, }, - BranchFalse: &ast.Array{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1132), - Column: int(18), + Line: int(1202), + Column: int(25), }, End: ast.Location{ - Line: int(1132), - Column: int(78), + Line: int(1202), + Column: int(28), }, File: p1, }, - Ctx: p10905, + Fodder: ast.Fodder{}, + Ctx: p12845, FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", + "mid", }, }, - Elements: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(19), - }, - End: ast.Location{ - Line: int(1132), - Column: int(77), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(19), - }, - End: ast.Location{ - Line: int(1132), - Column: int(52), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(20), - }, - End: ast.Location{ - Line: int(1132), - Column: int(46), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(20), - }, - End: ast.Location{ - Line: int(1132), - Column: int(42), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(20), - }, - End: ast.Location{ - Line: int(1132), - Column: int(30), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(31), - }, - End: ast.Location{ - Line: int(1132), - Column: int(41), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(31), - }, - End: ast.Location{ - Line: int(1132), - Column: int(34), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(35), - }, - End: ast.Location{ - Line: int(1132), - Column: int(40), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(35), - }, - End: ast.Location{ - Line: int(1132), - Column: int(36), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(39), - }, - End: ast.Location{ - Line: int(1132), - Column: int(40), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: nil, - }, - Value: float64(2), - OriginalString: "2", - }, - }, - Id: nil, - }, - Id: nil, - }, - Op: ast.BinaryOp(14), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(45), - }, - End: ast.Location{ - Line: int(1132), - Column: int(46), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - }, - Op: ast.BinaryOp(5), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(51), - }, - End: ast.Location{ - Line: int(1132), - Column: int(52), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: nil, - }, - Value: float64(6), - OriginalString: "6", - }, + 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), }, - Op: ast.BinaryOp(16), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(55), - }, - End: ast.Location{ - Line: int(1132), - Column: int(77), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(55), - }, - End: ast.Location{ - Line: int(1132), - Column: int(65), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - }, - Id: "base64_inv", - }, - Index: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(66), - }, - End: ast.Location{ - Line: int(1132), - Column: int(76), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(66), - }, - End: ast.Location{ - Line: int(1132), - Column: int(69), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(70), - }, - End: ast.Location{ - Line: int(1132), - Column: int(75), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(70), - }, - End: ast.Location{ - Line: int(1132), - Column: int(71), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(74), - }, - End: ast.Location{ - Line: int(1132), - Column: int(75), - }, - File: p1, - }, - Ctx: p10924, - FreeVars: nil, - }, - Value: float64(3), - OriginalString: "3", - }, - }, - Id: nil, - }, - Id: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - TrailingComma: false, }, + CommaFodder: nil, }, - Fun: nil, }, + Named: nil, }, - Body: &ast.Apply{ + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1202), + Column: int(13), + }, + End: ast.Location{ + Line: int(1202), + 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(1202), + Column: int(39), + }, + End: ast.Location{ + Line: int(1202), + Column: int(48), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "arr", + "mid", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1133), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1133), - Column: int(44), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10783, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "i", - "n1", - "n2", - "n3", - "r", - "str", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1133), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1133), - Column: int(14), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p10783, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Id: "aux", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1133), - Column: int(15), + Line: int(1202), + Column: int(39), }, End: ast.Location{ - Line: int(1133), - Column: int(18), + Line: int(1202), + Column: int(42), }, File: p1, }, - Ctx: p10964, + Fodder: ast.Fodder{}, + Ctx: p12860, FreeVars: ast.Identifiers{ - "str", + "arr", }, }, - Id: "str", + Id: "arr", }, - &ast.Binary{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1133), - Column: int(20), + Line: int(1202), + Column: int(43), }, End: ast.Location{ - Line: int(1133), - Column: int(25), + Line: int(1202), + Column: int(46), }, File: p1, }, - Ctx: p10964, + Fodder: ast.Fodder{}, + Ctx: p12860, FreeVars: ast.Identifiers{ - "i", + "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: nil, + }, + }, + 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: nil, + }, + }, + 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(1202), + Column: int(31), + }, + End: ast.Location{ + Line: int(1202), + Column: int(48), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1203), + Column: int(7), + }, + End: ast.Location{ + Line: int(1203), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "keyF", + "left", + "merge", + "right", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1203), + Column: int(7), + }, + End: ast.Location{ + Line: int(1203), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12350, + FreeVars: ast.Identifiers{ + "merge", + }, + }, + Id: "merge", + }, + 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(1203), + Column: int(13), + }, + End: ast.Location{ + Line: int(1203), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12873, + FreeVars: ast.Identifiers{ + "keyF", + "left", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1203), + Column: int(13), + }, + End: ast.Location{ + Line: int(1203), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12873, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1203), + Column: int(13), + }, + End: ast.Location{ + Line: int(1203), + 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: nil, + }, + 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(1203), + Column: int(22), + }, + End: ast.Location{ + Line: int(1203), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12882, + 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(1203), + Column: int(33), + }, + End: ast.Location{ + Line: int(1203), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12882, + 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(1203), + Column: int(40), + }, + End: ast.Location{ + Line: int(1203), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12873, + FreeVars: ast.Identifiers{ + "keyF", + "right", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1203), + Column: int(40), }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1133), - Column: int(20), - }, - End: ast.Location{ - Line: int(1133), - Column: int(21), - }, - File: p1, - }, - Ctx: p10964, - FreeVars: ast.Identifiers{ - "i", - }, + End: ast.Location{ + Line: int(1203), + Column: int(48), }, - Id: "i", + File: p1, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1133), - Column: int(24), - }, - End: ast.Location{ - Line: int(1133), - Column: int(25), - }, - File: p1, - }, - Ctx: p10964, - FreeVars: nil, - }, - Value: float64(4), - OriginalString: "4", + Fodder: ast.Fodder{}, + Ctx: p12873, + FreeVars: ast.Identifiers{ + "std", }, }, - &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1133), - Column: int(27), + Line: int(1203), + Column: int(40), }, End: ast.Location{ - Line: int(1133), + Line: int(1203), Column: int(43), }, File: p1, }, - Ctx: p10964, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "n1", - "n2", - "n3", - "r", + "std", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1133), - Column: int(27), - }, - End: ast.Location{ - Line: int(1133), - Column: int(38), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p10964, - FreeVars: ast.Identifiers{ - "n1", - "n2", - "r", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Binary{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1133), - Column: int(27), + Line: int(1203), + Column: int(49), }, End: ast.Location{ - Line: int(1133), - Column: int(33), + Line: int(1203), + Column: int(54), }, File: p1, }, - Ctx: p10964, + Fodder: ast.Fodder{}, + Ctx: p12896, FreeVars: ast.Identifiers{ - "n1", - "r", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1133), - Column: int(27), - }, - End: ast.Location{ - Line: int(1133), - Column: int(28), - }, - File: p1, - }, - Ctx: p10964, - FreeVars: ast.Identifiers{ - "r", - }, - }, - Id: "r", - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1133), - Column: int(31), - }, - End: ast.Location{ - Line: int(1133), - Column: int(33), - }, - File: p1, - }, - Ctx: p10964, - FreeVars: ast.Identifiers{ - "n1", - }, + "right", }, - Id: "n1", }, + Id: "right", }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1133), - Column: int(36), + Line: int(1203), + Column: int(61), }, End: ast.Location{ - Line: int(1133), - Column: int(38), + Line: int(1203), + Column: int(65), }, File: p1, }, - Ctx: p10964, + Fodder: ast.Fodder{}, + Ctx: p12896, FreeVars: ast.Identifiers{ - "n2", - }, - }, - Id: "n2", - }, - }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1133), - Column: int(41), - }, - End: ast.Location{ - Line: int(1133), - Column: int(43), + "keyF", }, - File: p1, - }, - Ctx: p10964, - FreeVars: ast.Identifiers{ - "n3", }, + Id: "keyF", }, - Id: "n3", + CommaFodder: ast.Fodder{}, }, }, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: true, + CommaFodder: nil, }, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1134), - Column: int(7), - }, - End: ast.Location{ - Line: int(1134), - Column: int(22), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "aux", - "str", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1134), - Column: int(7), - }, - End: ast.Location{ - Line: int(1134), - Column: int(10), - }, - File: p1, - }, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1134), - Column: int(11), - }, - End: ast.Location{ - Line: int(1134), - Column: int(14), - }, - File: p1, - }, - Ctx: p10991, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1134), - Column: int(16), - }, - End: ast.Location{ - Line: int(1134), - Column: int(17), - }, - File: p1, - }, - Ctx: p10991, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1134), - Column: int(19), - }, - End: ast.Location{ - Line: int(1134), - Column: int(21), - }, - File: p1, - }, - Ctx: p10991, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, - }, - }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1170), + Column: int(3), + }, + End: ast.Location{ + Line: int(1203), + Column: int(67), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -124252,12 +164002,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "base64Decode", + Value: "uniq", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -124273,191 +164025,1042 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ + "id", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", + 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(1205), + Column: int(8), + }, + End: ast.Location{ + Line: int(1205), + Column: int(11), + }, + 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(1205), + Column: int(18), + }, + End: ast.Location{ + Line: int(1205), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12906, + FreeVars: ast.Identifiers{ + "id", + }, + }, + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1205), + Column: int(13), + }, + End: ast.Location{ + Line: int(1205), + Column: int(20), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1137), + Line: int(1206), Column: int(5), }, End: ast.Location{ - Line: int(1138), - Column: int(58), + Line: int(1213), + Column: int(26), }, File: p1, }, - Ctx: p11000, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p12906, FreeVars: ast.Identifiers{ + "arr", + "keyF", "std", - "str", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "bytes", - Body: &ast.Apply{ + VarFodder: nil, + Variable: "f", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1137), - Column: int(19), + Line: int(1206), + Column: int(11), }, End: ast.Location{ - Line: int(1137), - Column: int(45), + Line: int(1212), + Column: int(16), }, File: p1, }, - Ctx: p11004, + Fodder: nil, + Ctx: p12913, FreeVars: ast.Identifiers{ + "keyF", "std", - "str", }, }, - Target: &ast.Index{ + 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(1206), + Column: int(13), + }, + End: ast.Location{ + Line: int(1206), + 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(1206), + Column: int(16), + }, + End: ast.Location{ + Line: int(1206), + Column: int(17), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1137), - Column: int(19), + Line: int(1207), + Column: int(7), }, End: ast.Location{ - Line: int(1137), - Column: int(40), + Line: int(1212), + Column: int(16), }, File: p1, }, - Ctx: p11004, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p12918, FreeVars: ast.Identifiers{ + "a", + "b", + "keyF", "std", }, }, - Target: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1137), - Column: int(19), + Line: int(1207), + Column: int(10), }, End: ast.Location{ - Line: int(1137), - Column: int(22), + Line: int(1207), + Column: int(28), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p12918, FreeVars: ast.Identifiers{ + "a", "std", }, }, - Id: "std", + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(10), + }, + End: ast.Location{ + Line: int(1207), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(10), + }, + End: ast.Location{ + Line: int(1207), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(10), + }, + End: ast.Location{ + Line: int(1207), + 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: nil, + }, + 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(1207), + Column: int(21), + }, + End: ast.Location{ + Line: int(1207), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12931, + 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.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1207), + Column: int(27), + }, + End: ast.Location{ + Line: int(1207), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: nil, + }, + OriginalString: "0", + }, }, - Index: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1208), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1208), + Column: int(12), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "b", }, - Ctx: nil, - FreeVars: nil, }, - Value: "base64DecodeBytes", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1208), + Column: int(10), + }, + End: ast.Location{ + Line: int(1208), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12939, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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(1209), + Column: int(12), + }, + End: ast.Location{ + Line: int(1212), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "a", + "b", + "keyF", + "std", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1137), - Column: int(41), + Line: int(1209), + Column: int(15), }, End: ast.Location{ - Line: int(1137), - Column: int(44), + Line: int(1209), + Column: int(52), }, File: p1, }, - Ctx: p11013, + Fodder: ast.Fodder{}, + Ctx: p12918, FreeVars: ast.Identifiers{ - "str", + "a", + "b", + "keyF", + "std", }, }, - Id: "str", + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(15), + }, + End: ast.Location{ + Line: int(1209), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "a", + "keyF", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(15), + }, + End: ast.Location{ + Line: int(1209), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + 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(1209), + Column: int(20), + }, + End: ast.Location{ + Line: int(1209), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12952, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(20), + }, + End: ast.Location{ + Line: int(1209), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12952, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(22), + }, + End: ast.Location{ + Line: int(1209), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12952, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(22), + }, + End: ast.Location{ + Line: int(1209), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12952, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(22), + }, + End: ast.Location{ + Line: int(1209), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12952, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(22), + }, + End: ast.Location{ + Line: int(1209), + 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: nil, + }, + 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(1209), + Column: int(33), + }, + End: ast.Location{ + Line: int(1209), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12967, + 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.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(38), + }, + End: ast.Location{ + Line: int(1209), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12952, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + 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(1209), + Column: int(45), + }, + End: ast.Location{ + Line: int(1209), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "b", + "keyF", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1209), + Column: int(45), + }, + End: ast.Location{ + Line: int(1209), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + 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(1209), + Column: int(50), + }, + End: ast.Location{ + Line: int(1209), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12976, + 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(1210), + Column: int(9), + }, + End: ast.Location{ + Line: int(1210), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12918, + 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(1212), + Column: int(9), + }, + End: ast.Location{ + Line: int(1212), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "a", + "b", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1212), + Column: int(9), + }, + End: ast.Location{ + Line: int(1212), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1212), + Column: int(13), + }, + End: ast.Location{ + Line: int(1212), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12918, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1212), + Column: int(14), + }, + End: ast.Location{ + Line: int(1212), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p12991, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1138), + Line: int(1213), Column: int(5), }, End: ast.Location{ - Line: int(1138), - Column: int(58), + Line: int(1213), + Column: int(26), }, File: p1, }, - Ctx: p11000, + Fodder: ast.Fodder{}, + Ctx: p12906, FreeVars: ast.Identifiers{ - "bytes", + "arr", + "f", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1138), + Line: int(1213), Column: int(5), }, End: ast.Location{ - Line: int(1138), - Column: int(13), + Line: int(1213), + Column: int(14), }, File: p1, }, - Ctx: p11000, + Fodder: ast.Fodder{}, + Ctx: p12906, FreeVars: ast.Identifiers{ "std", }, @@ -124465,17 +165068,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1138), + Line: int(1213), Column: int(5), }, End: ast.Location{ - Line: int(1138), + Line: int(1213), 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", @@ -124483,6 +165094,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -124491,304 +165103,125 @@ var _StdAst = &ast.DesugaredObject{ Line: int(0), Column: int(0), }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(14), - }, - End: ast.Location{ - Line: int(1138), - Column: int(16), - }, - File: p1, - }, - Ctx: p11024, - FreeVars: nil, - }, - Value: "", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(18), - }, - End: ast.Location{ - Line: int(1138), - Column: int(57), - }, - File: p1, - }, - Ctx: p11024, - FreeVars: ast.Identifiers{ - "bytes", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Index{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "foldl", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1138), - Column: int(18), + Line: int(1213), + Column: int(15), }, End: ast.Location{ - Line: int(1138), - Column: int(25), + Line: int(1213), + Column: int(16), }, File: p1, }, - Ctx: p11024, + Fodder: ast.Fodder{}, + Ctx: p13003, FreeVars: ast.Identifiers{ - "std", + "f", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(18), - }, - End: ast.Location{ - Line: int(1138), - Column: int(21), - }, - File: p1, + Id: "f", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1213), + Column: int(18), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1213), + Column: int(21), }, + File: p1, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p13003, + FreeVars: ast.Identifiers{ + "arr", }, - Value: "map", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "arr", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(26), - }, - End: ast.Location{ - Line: int(1138), - Column: int(49), - }, - File: p1, - }, - Ctx: p11034, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(38), - }, - End: ast.Location{ - Line: int(1138), - Column: int(49), - }, - File: p1, - }, - Ctx: p11038, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(38), - }, - End: ast.Location{ - Line: int(1138), - Column: int(46), - }, - File: p1, - }, - Ctx: p11038, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(38), - }, - End: ast.Location{ - Line: int(1138), - Column: int(41), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "char", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(47), - }, - End: ast.Location{ - Line: int(1138), - Column: int(48), - }, - File: p1, - }, - Ctx: p11047, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1213), + Column: int(23), }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1138), - Column: int(51), - }, - End: ast.Location{ - Line: int(1138), - Column: int(56), - }, - File: p1, - }, - Ctx: p11034, - FreeVars: ast.Identifiers{ - "bytes", - }, + End: ast.Location{ + Line: int(1213), + Column: int(25), }, - Id: "bytes", + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p13003, + FreeVars: nil, }, - Named: nil, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - 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(1205), + Column: int(3), + }, + End: ast.Location{ + Line: int(1213), + Column: int(26), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -124806,12 +165239,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "reverse", + Value: "set", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -124827,450 +165262,380 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ + "id", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", + 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(1215), + Column: int(7), + }, + End: ast.Location{ + Line: int(1215), + 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(1215), + Column: int(17), + }, + End: ast.Location{ + Line: int(1215), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13013, + FreeVars: ast.Identifiers{ + "id", + }, + }, + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1215), + Column: int(12), + }, + End: ast.Location{ + Line: int(1215), + Column: int(19), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1141), + Line: int(1216), Column: int(5), }, End: ast.Location{ - Line: int(1142), - Column: int(49), + Line: int(1216), + Column: int(40), }, File: p1, }, - Ctx: p11056, + Fodder: ast.Fodder{}, + Ctx: p13013, FreeVars: ast.Identifiers{ "arr", + "keyF", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "l", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(15), - }, - End: ast.Location{ - Line: int(1141), - Column: int(30), - }, - File: p1, - }, - Ctx: p11060, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(15), - }, - End: ast.Location{ - Line: int(1141), - Column: int(25), - }, - File: p1, - }, - Ctx: p11060, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(15), - }, - End: ast.Location{ - Line: int(1141), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(26), - }, - End: ast.Location{ - Line: int(1141), - Column: int(29), - }, - File: p1, - }, - Ctx: p11069, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), + Line: int(1216), Column: int(5), }, End: ast.Location{ - Line: int(1142), - Column: int(49), + Line: int(1216), + Column: int(13), }, File: p1, }, - Ctx: p11056, + Fodder: ast.Fodder{}, + Ctx: p13013, FreeVars: ast.Identifiers{ - "arr", - "l", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), + Line: int(1216), Column: int(5), }, End: ast.Location{ - Line: int(1142), - Column: int(18), + Line: int(1216), + Column: int(8), }, File: p1, }, - Ctx: p11056, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(5), - }, - End: ast.Location{ - Line: int(1142), - Column: int(8), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "uniq", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(19), - }, - End: ast.Location{ - Line: int(1142), - Column: int(20), - }, - File: p1, - }, - Ctx: p11080, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Id: "l", - }, - &ast.Function{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), - Column: int(22), + Line: int(1216), + Column: int(14), }, End: ast.Location{ - Line: int(1142), - Column: int(48), + Line: int(1216), + Column: int(33), }, File: p1, }, - Ctx: p11080, + Fodder: ast.Fodder{}, + Ctx: p13025, FreeVars: ast.Identifiers{ "arr", - "l", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + "keyF", + "std", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Index{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), - Column: int(34), + Line: int(1216), + Column: int(14), }, End: ast.Location{ - Line: int(1142), - Column: int(48), + Line: int(1216), + Column: int(22), }, File: p1, }, - Ctx: p11086, + Fodder: ast.Fodder{}, + Ctx: p13025, FreeVars: ast.Identifiers{ - "arr", - "i", - "l", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), - Column: int(34), + Line: int(1216), + Column: int(14), }, End: ast.Location{ - Line: int(1142), - Column: int(37), + Line: int(1216), + Column: int(17), }, File: p1, }, - Ctx: p11086, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", + "std", }, }, - Id: "arr", + Id: "std", }, - Index: &ast.Binary{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), - Column: int(38), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1142), - Column: int(47), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p11086, - FreeVars: ast.Identifiers{ - "i", - "l", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(38), - }, - End: ast.Location{ - Line: int(1142), - Column: int(43), - }, - File: p1, - }, - Ctx: p11086, - FreeVars: ast.Identifiers{ - "i", - "l", - }, - }, - Left: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), - Column: int(38), + Line: int(1216), + Column: int(23), }, End: ast.Location{ - Line: int(1142), - Column: int(39), + Line: int(1216), + Column: int(26), }, File: p1, }, - Ctx: p11086, + Fodder: ast.Fodder{}, + Ctx: p13034, FreeVars: ast.Identifiers{ - "l", + "arr", }, }, - Id: "l", + Id: "arr", }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1142), - Column: int(42), + Line: int(1216), + Column: int(28), }, End: ast.Location{ - Line: int(1142), - Column: int(43), + Line: int(1216), + Column: int(32), }, File: p1, }, - Ctx: p11086, + Fodder: ast.Fodder{}, + Ctx: p13034, FreeVars: ast.Identifiers{ - "i", + "keyF", }, }, - Id: "i", + Id: "keyF", }, + CommaFodder: nil, }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(46), - }, - End: ast.Location{ - Line: int(1142), - Column: int(47), - }, - File: p1, - }, - Ctx: p11086, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + }, + 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(1216), + Column: int(35), + }, + End: ast.Location{ + Line: int(1216), + Column: int(39), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13025, + FreeVars: ast.Identifiers{ + "keyF", }, - Id: nil, }, + Id: "keyF", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1215), + Column: int(3), + }, + End: ast.Location{ + Line: int(1216), + Column: int(40), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -125288,12 +165653,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "sort", + Value: "setMember", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -125309,2170 +165676,1208 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "id", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", + 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(1218), + Column: int(13), + }, + End: ast.Location{ + Line: int(1218), + Column: int(14), + }, + File: p1, + }, }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1145), - Column: int(18), - }, - End: ast.Location{ - Line: int(1145), - Column: int(20), - }, - 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(1218), + Column: int(16), + }, + End: ast.Location{ + Line: int(1218), + Column: int(19), + }, + 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(1218), + Column: int(26), }, - Ctx: p11105, - FreeVars: ast.Identifiers{ - "id", + End: ast.Location{ + Line: int(1218), + Column: int(28), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13045, + FreeVars: ast.Identifiers{ + "id", }, - Id: "id", }, + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1218), + Column: int(21), + }, + End: ast.Location{ + Line: int(1218), + Column: int(28), + }, + File: p1, }, }, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1146), + Line: int(1220), Column: int(5), }, End: ast.Location{ - Line: int(1178), - Column: int(67), + Line: int(1220), + Column: int(49), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{}, + Ctx: p13045, FreeVars: ast.Identifiers{ "arr", - "id", "keyF", "std", + "x", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "quickSort", - Body: &ast.Function{ + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1220), + Column: int(5), + }, + End: ast.Location{ + Line: int(1220), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13045, + FreeVars: ast.Identifiers{ + "arr", + "keyF", + "std", + "x", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1220), + Column: int(5), + }, + End: ast.Location{ + Line: int(1220), + Column: int(15), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13045, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1146), - Column: int(11), + Line: int(1220), + Column: int(5), }, End: ast.Location{ - Line: int(1156), - Column: int(68), + Line: int(1220), + Column: int(8), }, File: p1, }, - Ctx: p11111, - FreeVars: ast.Identifiers{ - "id", - "quickSort", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1146), - Column: int(31), - }, - End: ast.Location{ - Line: int(1146), - Column: int(33), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", + 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{ + "// TODO(dcunnin): Binary chop for O(log n) complexity", }, }, }, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1147), - Column: int(7), - }, - End: ast.Location{ - Line: int(1156), - Column: int(68), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "quickSort", - "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), }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "l", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1147), - Column: int(17), - }, - End: ast.Location{ - Line: int(1147), - Column: int(32), - }, - File: p1, - }, - Ctx: p11122, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1147), - Column: int(17), - }, - End: ast.Location{ - Line: int(1147), - Column: int(27), - }, - File: p1, - }, - Ctx: p11122, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1147), - Column: int(17), - }, - End: ast.Location{ - Line: int(1147), - Column: int(20), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1147), - Column: int(28), - }, - End: ast.Location{ - Line: int(1147), - Column: int(31), - }, - File: p1, - }, - Ctx: p11131, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Body: &ast.Conditional{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1148), - Column: int(7), + Line: int(1220), + Column: int(16), }, End: ast.Location{ - Line: int(1156), - Column: int(68), + Line: int(1220), + Column: int(44), }, File: p1, }, - Ctx: p11116, + Fodder: ast.Fodder{}, + Ctx: p13060, FreeVars: ast.Identifiers{ "arr", "keyF", - "l", - "quickSort", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1148), - Column: int(10), - }, - End: ast.Location{ - Line: int(1148), - Column: int(30), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1148), - Column: int(10), - }, - End: ast.Location{ - Line: int(1148), - Column: int(25), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1148), - Column: int(10), - }, - End: ast.Location{ - Line: int(1148), - Column: int(20), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1148), - Column: int(10), - }, - End: ast.Location{ - Line: int(1148), - Column: int(13), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1148), - Column: int(21), - }, - End: ast.Location{ - Line: int(1148), - Column: int(24), - }, - File: p1, - }, - Ctx: p11146, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(10), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1148), - Column: int(29), - }, - End: ast.Location{ - Line: int(1148), - Column: int(30), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1149), - Column: int(9), - }, - End: ast.Location{ - Line: int(1149), - Column: int(12), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - }, + "std", + "x", }, - Id: "arr", }, - BranchFalse: &ast.Local{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1151), - Column: int(9), + Line: int(1220), + Column: int(16), }, End: ast.Location{ - Line: int(1156), - Column: int(68), + Line: int(1220), + Column: int(28), }, File: p1, }, - Ctx: p11116, + Fodder: ast.Fodder{}, + Ctx: p13060, FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "quickSort", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "pos", - Body: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(21), - }, - End: ast.Location{ - Line: int(1151), - Column: int(22), - }, - File: p1, - }, - Ctx: p11155, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - Fun: nil, - }, - }, - Body: &ast.Local{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1152), - Column: int(9), + Line: int(1220), + Column: int(16), }, End: ast.Location{ - Line: int(1156), - Column: int(68), + Line: int(1220), + Column: int(19), }, File: p1, }, - Ctx: p11116, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "pos", - "quickSort", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "pivot", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(23), - }, - End: ast.Location{ - Line: int(1152), - Column: int(37), - }, - File: p1, - }, - Ctx: p11160, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "pos", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(23), - }, - End: ast.Location{ - Line: int(1152), - Column: int(27), - }, - File: p1, - }, - Ctx: p11160, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(28), - }, - End: ast.Location{ - Line: int(1152), - Column: int(36), - }, - File: p1, - }, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(28), - }, - End: ast.Location{ - Line: int(1152), - Column: int(31), - }, - File: p1, - }, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(32), - }, - End: ast.Location{ - Line: int(1152), - Column: int(35), - }, - File: p1, - }, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "pos", - }, - }, - Id: "pos", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(9), - }, - End: ast.Location{ - Line: int(1156), - Column: int(68), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "pivot", - "pos", - "quickSort", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "rest", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(22), - }, - End: ast.Location{ - Line: int(1153), - Column: int(94), - }, - File: p1, - }, - Ctx: p11176, - FreeVars: ast.Identifiers{ - "arr", - "l", - "pos", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(22), - }, - End: ast.Location{ - Line: int(1153), - Column: int(35), - }, - File: p1, - }, - Ctx: p11176, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(22), - }, - End: ast.Location{ - Line: int(1153), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(36), - }, - End: ast.Location{ - Line: int(1153), - Column: int(41), - }, - File: p1, - }, - Ctx: p11185, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(36), - }, - End: ast.Location{ - Line: int(1153), - Column: int(37), - }, - File: p1, - }, - Ctx: p11185, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Id: "l", - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(40), - }, - End: ast.Location{ - Line: int(1153), - Column: int(41), - }, - File: p1, - }, - Ctx: p11185, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(43), - }, - End: ast.Location{ - Line: int(1153), - Column: int(93), - }, - File: p1, - }, - Ctx: p11185, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(55), - }, - End: ast.Location{ - Line: int(1153), - Column: int(93), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "arr", - "i", - "pos", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(58), - }, - End: ast.Location{ - Line: int(1153), - Column: int(65), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "i", - "pos", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(58), - }, - End: ast.Location{ - Line: int(1153), - Column: int(59), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(62), - }, - End: ast.Location{ - Line: int(1153), - Column: int(65), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "pos", - }, - }, - Id: "pos", - }, - }, - BranchTrue: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(71), - }, - End: ast.Location{ - Line: int(1153), - Column: int(77), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(71), - }, - End: ast.Location{ - Line: int(1153), - Column: int(74), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(75), - }, - End: ast.Location{ - Line: int(1153), - Column: int(76), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - BranchFalse: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(83), - }, - End: ast.Location{ - Line: int(1153), - Column: int(93), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(83), - }, - End: ast.Location{ - Line: int(1153), - Column: int(86), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(87), - }, - End: ast.Location{ - Line: int(1153), - Column: int(92), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(87), - }, - End: ast.Location{ - Line: int(1153), - Column: int(88), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(91), - }, - End: ast.Location{ - Line: int(1153), - Column: int(92), - }, - File: p1, - }, - Ctx: p11194, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - Id: nil, - }, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(9), - }, - End: ast.Location{ - Line: int(1156), - Column: int(68), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "pivot", - "pos", - "quickSort", - "rest", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "left", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(22), - }, - End: ast.Location{ - Line: int(1154), - Column: int(67), - }, - File: p1, - }, - Ctx: p11221, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "rest", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(22), - }, - End: ast.Location{ - Line: int(1154), - Column: int(32), - }, - File: p1, - }, - Ctx: p11221, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(22), - }, - End: ast.Location{ - Line: int(1154), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "filter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(33), - }, - End: ast.Location{ - Line: int(1154), - Column: int(60), - }, - File: p1, - }, - Ctx: p11230, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(45), - }, - End: ast.Location{ - Line: int(1154), - Column: int(60), - }, - File: p1, - }, - Ctx: p11234, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "x", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(45), - }, - End: ast.Location{ - Line: int(1154), - Column: int(52), - }, - File: p1, - }, - Ctx: p11234, - FreeVars: ast.Identifiers{ - "keyF", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(45), - }, - End: ast.Location{ - Line: int(1154), - Column: int(49), - }, - File: p1, - }, - Ctx: p11234, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(50), - }, - End: ast.Location{ - Line: int(1154), - Column: int(51), - }, - File: p1, - }, - Ctx: p11242, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(55), - }, - End: ast.Location{ - Line: int(1154), - Column: int(60), - }, - File: p1, - }, - Ctx: p11234, - FreeVars: ast.Identifiers{ - "pivot", - }, - }, - Id: "pivot", - }, - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(62), - }, - End: ast.Location{ - Line: int(1154), - Column: int(66), - }, - File: p1, - }, - Ctx: p11230, - FreeVars: ast.Identifiers{ - "rest", - }, - }, - Id: "rest", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(9), - }, - End: ast.Location{ - Line: int(1156), - Column: int(68), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pivot", - "pos", - "quickSort", - "rest", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "right", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(23), - }, - End: ast.Location{ - Line: int(1155), - Column: int(69), - }, - File: p1, - }, - Ctx: p11252, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "rest", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(23), - }, - End: ast.Location{ - Line: int(1155), - Column: int(33), - }, - File: p1, - }, - Ctx: p11252, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(23), - }, - End: ast.Location{ - Line: int(1155), - Column: int(26), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "filter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(34), - }, - End: ast.Location{ - Line: int(1155), - Column: int(62), - }, - File: p1, - }, - Ctx: p11261, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(46), - }, - End: ast.Location{ - Line: int(1155), - Column: int(62), - }, - File: p1, - }, - Ctx: p11265, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "x", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(46), - }, - End: ast.Location{ - Line: int(1155), - Column: int(53), - }, - File: p1, - }, - Ctx: p11265, - FreeVars: ast.Identifiers{ - "keyF", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(46), - }, - End: ast.Location{ - Line: int(1155), - Column: int(50), - }, - File: p1, - }, - Ctx: p11265, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(51), - }, - End: ast.Location{ - Line: int(1155), - Column: int(52), - }, - File: p1, - }, - Ctx: p11273, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(57), - }, - End: ast.Location{ - Line: int(1155), - Column: int(62), - }, - File: p1, - }, - Ctx: p11265, - FreeVars: ast.Identifiers{ - "pivot", - }, - }, - Id: "pivot", - }, - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(64), - }, - End: ast.Location{ - Line: int(1155), - Column: int(68), - }, - File: p1, - }, - Ctx: p11261, - FreeVars: ast.Identifiers{ - "rest", - }, - }, - Id: "rest", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, + 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: nil, + }, + 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.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1220), + Column: int(29), }, - }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(9), - }, - End: ast.Location{ - Line: int(1156), - Column: int(68), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pos", - "quickSort", - "right", - }, + End: ast.Location{ + Line: int(1220), + Column: int(32), }, - Left: &ast.Binary{ + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13069, + FreeVars: ast.Identifiers{ + "x", + }, + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1156), - Column: int(9), + Line: int(1220), + Column: int(30), }, End: ast.Location{ - Line: int(1156), - Column: int(43), + Line: int(1220), + Column: int(31), }, File: p1, }, - Ctx: p11116, + Fodder: ast.Fodder{}, + Ctx: p13073, FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pos", - "quickSort", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(9), - }, - End: ast.Location{ - Line: int(1156), - Column: int(30), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "quickSort", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(9), - }, - End: ast.Location{ - Line: int(1156), - Column: int(18), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "quickSort", - }, - }, - Id: "quickSort", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(19), - }, - End: ast.Location{ - Line: int(1156), - Column: int(23), - }, - File: p1, - }, - Ctx: p11289, - FreeVars: ast.Identifiers{ - "left", - }, - }, - Id: "left", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(25), - }, - End: ast.Location{ - Line: int(1156), - Column: int(29), - }, - File: p1, - }, - Ctx: p11289, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(33), - }, - End: ast.Location{ - Line: int(1156), - Column: int(43), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - }, - Elements: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(34), - }, - End: ast.Location{ - Line: int(1156), - Column: int(42), - }, - File: p1, - }, - Ctx: p11297, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(34), - }, - End: ast.Location{ - Line: int(1156), - Column: int(37), - }, - File: p1, - }, - Ctx: p11297, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(38), - }, - End: ast.Location{ - Line: int(1156), - Column: int(41), - }, - File: p1, - }, - Ctx: p11297, - FreeVars: ast.Identifiers{ - "pos", - }, - }, - Id: "pos", - }, - Id: nil, - }, + "x", }, - TrailingComma: false, }, + Id: "x", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(46), - }, - End: ast.Location{ - Line: int(1156), - Column: int(68), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "keyF", - "quickSort", - "right", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(46), - }, - End: ast.Location{ - Line: int(1156), - Column: int(55), - }, - File: p1, - }, - Ctx: p11116, - FreeVars: ast.Identifiers{ - "quickSort", - }, - }, - Id: "quickSort", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(56), - }, - End: ast.Location{ - Line: int(1156), - Column: int(61), - }, - File: p1, - }, - Ctx: p11309, - FreeVars: ast.Identifiers{ - "right", - }, - }, - Id: "right", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1156), - Column: int(63), - }, - End: ast.Location{ - Line: int(1156), - Column: int(67), - }, - File: p1, - }, - Ctx: p11309, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + 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(1220), + Column: int(34), + }, + End: ast.Location{ + Line: int(1220), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13069, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1220), + Column: int(39), + }, + End: ast.Location{ + Line: int(1220), + Column: int(43), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13069, + FreeVars: ast.Identifiers{ + "keyF", }, }, + Id: "keyF", }, + CommaFodder: nil, }, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, }, - Fun: nil, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Body: &ast.Local{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1158), - Column: int(5), + Line: int(1220), + Column: int(48), }, End: ast.Location{ - Line: int(1178), - Column: int(67), + Line: int(1220), + Column: int(49), }, File: p1, }, - Ctx: p11105, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "quickSort", - "std", + Fodder: ast.Fodder{}, + Ctx: p13045, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1218), + Column: int(3), + }, + End: ast.Location{ + Line: int(1220), + 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: nil, + }, + 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: p11, + 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(1222), + Column: int(12), + }, + End: ast.Location{ + Line: int(1222), + Column: int(13), }, + File: p1, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "merge", - Body: &ast.Function{ + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1222), + Column: int(15), + }, + End: ast.Location{ + Line: int(1222), + 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(1222), + Column: int(23), + }, + End: ast.Location{ + Line: int(1222), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13085, + FreeVars: ast.Identifiers{ + "id", + }, + }, + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1222), + Column: int(18), + }, + End: ast.Location{ + Line: int(1222), + 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(1224), + Column: int(5), + }, + End: ast.Location{ + Line: int(1238), + Column: int(24), + }, + 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{ + "// NOTE: order matters, values in `a` win", + }, + }, + }, + Ctx: p13085, + 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(1224), + Column: int(11), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + File: p1, + }, + Fodder: nil, + Ctx: p13093, + 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(1224), + Column: int(15), + }, + End: ast.Location{ + Line: int(1224), + 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(1224), + Column: int(18), + }, + End: ast.Location{ + Line: int(1224), + 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(1224), + Column: int(21), + }, + End: ast.Location{ + Line: int(1224), + 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(1224), + Column: int(24), + }, + End: ast.Location{ + Line: int(1224), + 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(1224), + Column: int(27), + }, + End: ast.Location{ + Line: int(1224), + Column: int(30), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1158), - Column: int(11), + Line: int(1225), + Column: int(7), }, End: ast.Location{ - Line: int(1170), - Column: int(20), + Line: int(1237), + Column: int(44), }, File: p1, }, - Ctx: p11317, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13098, FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", "keyF", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(10), + }, + End: ast.Location{ + Line: int(1225), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "a", + "i", + "std", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(10), + }, + End: ast.Location{ + Line: int(1225), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + 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(1225), + Column: int(15), + }, + End: ast.Location{ + Line: int(1225), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(15), + }, + End: ast.Location{ + Line: int(1225), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1225), + Column: int(15), + }, + End: ast.Location{ + Line: int(1225), + 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: nil, + }, + 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(1225), + Column: int(26), + }, + End: ast.Location{ + Line: int(1225), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13113, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Local{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1159), - Column: int(7), + Line: int(1226), + Column: int(9), }, End: ast.Location{ - Line: int(1170), + Line: int(1226), Column: int(20), }, File: p1, }, - Ctx: p11321, + Fodder: ast.Fodder{}, + Ctx: p13098, FreeVars: ast.Identifiers{ - "a", + "acc", "b", - "keyF", + "j", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "la", - Body: &ast.Apply{ + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1226), + Column: int(9), + }, + End: ast.Location{ + Line: int(1226), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13098, + 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(1226), + Column: int(15), + }, + End: ast.Location{ + Line: int(1226), + Column: int(20), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "b", + "j", + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(1159), - Column: int(18), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1159), - Column: int(31), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p11325, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1159), - Column: int(18), + 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: nil, + }, + 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(1226), + Column: int(15), + }, + End: ast.Location{ + Line: int(1226), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1159), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p11325, - FreeVars: ast.Identifiers{ - "std", }, + Id: "b", }, - Target: &ast.Var{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1159), - Column: int(18), + Line: int(1226), + Column: int(17), }, End: ast.Location{ - Line: int(1159), - Column: int(21), + Line: int(1226), + Column: int(18), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13098, FreeVars: ast.Identifiers{ - "std", + "j", }, }, - Id: "std", + Id: "j", }, - Index: &ast.LiteralString{ + 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: nil, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -127486,398 +166891,595 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: nil, - FreeVars: nil, + Fodder: nil, + Ctx: nil, + FreeVars: 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(6), + Comment: []string{}, + }, + }, + BranchFalse: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1227), + Column: int(12), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + 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(1227), + Column: int(15), + }, + End: ast.Location{ + Line: int(1227), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "b", + "j", + "std", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1227), + Column: int(15), + }, + End: ast.Location{ + Line: int(1227), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + 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(1227), + Column: int(20), + }, + End: ast.Location{ + Line: int(1227), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1227), + Column: int(20), + }, + End: ast.Location{ + Line: int(1227), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1227), + Column: int(20), + }, + End: ast.Location{ + Line: int(1227), + 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, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1159), - Column: int(29), + Line: int(1227), + Column: int(31), }, End: ast.Location{ - Line: int(1159), - Column: int(30), + Line: int(1227), + Column: int(32), }, File: p1, }, - Ctx: p11334, + Fodder: ast.Fodder{}, + Ctx: p13150, FreeVars: ast.Identifiers{ - "a", + "b", }, }, - Id: "a", + Id: "b", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - ast.LocalBind{ - Variable: "lb", - Body: &ast.Apply{ + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1228), + Column: int(9), + }, + End: ast.Location{ + Line: int(1228), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "a", + "acc", + "i", + "std", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1228), + Column: int(9), + }, + End: ast.Location{ + Line: int(1228), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13098, + 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(1228), + Column: int(15), + }, + End: ast.Location{ + Line: int(1228), + Column: int(20), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "a", + "i", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1159), - Column: int(38), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1159), - Column: int(51), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p11337, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "b", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1159), - Column: int(38), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1159), - Column: int(48), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p11337, + Fodder: nil, + Ctx: nil, 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, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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(1228), + Column: int(15), + }, + End: ast.Location{ + Line: int(1228), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "a", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "a", }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1159), - Column: int(49), + Line: int(1228), + Column: int(17), }, End: ast.Location{ - Line: int(1159), - Column: int(50), + Line: int(1228), + Column: int(18), }, File: p1, }, - Ctx: p11346, + Fodder: ast.Fodder{}, + Ctx: p13098, FreeVars: ast.Identifiers{ - "b", + "i", }, }, - Id: "b", + 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: nil, + }, + }, + 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: nil, + }, + }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, }, - Body: &ast.Local{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1160), - Column: int(7), + Line: int(1230), + Column: int(9), }, End: ast.Location{ - Line: int(1170), - Column: int(20), + Line: int(1237), + Column: int(44), }, File: p1, }, - Ctx: p11321, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13098, FreeVars: ast.Identifiers{ "a", + "acc", + "aux", "b", + "i", + "j", "keyF", - "la", - "lb", - "std", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + VarFodder: ast.Fodder{}, + Variable: "ak", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1160), - Column: int(13), + Line: int(1230), + Column: int(20), }, End: ast.Location{ - Line: int(1169), - Column: int(43), + Line: int(1230), + Column: int(30), }, File: p1, }, - Ctx: p11352, + Fodder: ast.Fodder{}, + Ctx: p13177, FreeVars: ast.Identifiers{ "a", - "aux", - "b", - "keyF", - "la", - "lb", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ "i", - "j", - "prefix", + "keyF", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1161), - Column: int(9), + Line: int(1230), + Column: int(20), }, End: ast.Location{ - Line: int(1169), - Column: int(43), + Line: int(1230), + Column: int(24), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13177, FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - "j", "keyF", - "la", - "lb", - "prefix", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1161), - Column: int(12), - }, - End: ast.Location{ - Line: int(1161), - Column: int(19), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "i", - "la", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1161), - Column: int(12), - }, - End: ast.Location{ - Line: int(1161), - Column: int(13), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1161), - Column: int(17), - }, - End: ast.Location{ - Line: int(1161), - Column: int(19), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "la", - }, - }, - Id: "la", }, }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1162), - Column: int(11), - }, - End: ast.Location{ - Line: int(1162), - Column: int(25), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "b", - "j", - "prefix", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1162), - Column: int(11), - }, - End: ast.Location{ - Line: int(1162), - Column: int(17), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "prefix", - }, - }, - Id: "prefix", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", - }, - }, - Target: &ast.Index{ + 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(0), - Column: int(0), + Line: int(1230), + Column: int(25), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1230), + Column: int(29), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13183, FreeVars: ast.Identifiers{ - "std", + "a", + "i", }, }, Target: &ast.Var{ @@ -127885,545 +167487,689 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1230), + Column: int(25), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1230), + Column: int(26), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13183, FreeVars: ast.Identifiers{ - "std", + "a", }, }, - Id: "std", + Id: "a", }, - Index: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1230), + Column: int(27), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1230), + Column: int(28), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13183, + FreeVars: ast.Identifiers{ + "i", }, - Ctx: nil, - FreeVars: nil, }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "i", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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(1230), + Column: int(15), + }, + End: ast.Location{ + Line: int(1230), + Column: int(30), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1231), + Column: int(9), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13098, + 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(1231), + Column: int(20), + }, + End: ast.Location{ + Line: int(1231), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13194, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1231), + Column: int(20), + }, + End: ast.Location{ + Line: int(1231), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13194, + 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(1231), + Column: int(25), + }, + End: ast.Location{ + Line: int(1231), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13200, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1162), - Column: int(20), + Line: int(1231), + Column: int(25), }, End: ast.Location{ - Line: int(1162), - Column: int(21), + Line: int(1231), + Column: int(26), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13200, FreeVars: ast.Identifiers{ "b", }, }, Id: "b", }, - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1162), - Column: int(22), + Line: int(1231), + Column: int(27), }, End: ast.Location{ - Line: int(1162), - Column: int(23), + Line: int(1231), + Column: int(28), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13200, FreeVars: ast.Identifiers{ "j", }, }, Id: "j", }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(14), - }, - End: ast.Location{ - Line: int(1169), - Column: int(43), - }, - File: p1, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1231), + Column: int(15), + }, + End: ast.Location{ + Line: int(1231), + Column: int(30), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1232), + Column: int(9), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13098, + 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(1232), + Column: int(12), + }, + End: ast.Location{ + Line: int(1232), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "ak", + "bk", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1232), + Column: int(12), }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - "j", - "keyF", - "lb", - "prefix", - "std", + End: ast.Location{ + Line: int(1232), + Column: int(14), }, + File: p1, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(17), - }, - End: ast.Location{ - Line: int(1163), - Column: int(24), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "j", - "lb", - }, + Fodder: ast.Fodder{}, + Ctx: p13098, + 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(1232), + Column: int(18), }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(17), - }, - End: ast.Location{ - Line: int(1163), - Column: int(18), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", + End: ast.Location{ + Line: int(1232), + Column: int(20), }, - Op: ast.BinaryOp(12), - Right: &ast.Var{ + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "bk", + }, + }, + Id: "bk", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1233), + Column: int(11), + }, + End: ast.Location{ + Line: int(1233), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1233), + Column: int(11), + }, + 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(10), + Comment: []string{}, + }, + }, + Ctx: p13098, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1163), - Column: int(22), + Line: int(1233), + Column: int(15), }, End: ast.Location{ - Line: int(1163), - Column: int(24), + Line: int(1233), + Column: int(16), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13222, FreeVars: ast.Identifiers{ - "lb", + "a", }, }, - Id: "lb", + Id: "a", }, + CommaFodder: ast.Fodder{}, }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(11), - }, - End: ast.Location{ - Line: int(1164), - Column: int(25), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "a", - "i", - "prefix", - "std", - }, - }, - Left: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1164), - Column: int(11), + Line: int(1233), + Column: int(18), }, End: ast.Location{ - Line: int(1164), - Column: int(17), + Line: int(1233), + Column: int(19), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13222, FreeVars: ast.Identifiers{ - "prefix", + "b", }, }, - Id: "prefix", + Id: "b", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1233), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1233), + Column: int(26), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13222, FreeVars: ast.Identifiers{ - "a", "i", - "std", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1233), + Column: int(21), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1233), + Column: int(22), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13222, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - 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, + Id: "i", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1233), + Column: int(25), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1233), + Column: int(26), }, + File: p1, }, - Id: "std", + Fodder: ast.Fodder{}, + Ctx: p13222, + FreeVars: 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, - }, - Ctx: nil, - FreeVars: nil, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1233), + Column: int(28), }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(1233), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13222, + FreeVars: ast.Identifiers{ + "j", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(20), - }, - End: ast.Location{ - Line: int(1164), - Column: int(21), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "a", - }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1233), + Column: int(28), }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(22), - }, - End: ast.Location{ - Line: int(1164), - Column: int(23), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "i", - }, + End: ast.Location{ + Line: int(1233), + Column: int(29), }, - Id: "i", + File: p1, }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, + Fodder: ast.Fodder{}, + Ctx: p13222, + FreeVars: ast.Identifiers{ + "j", }, - &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, - }, - Ctx: nil, - FreeVars: nil, + }, + Id: "j", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1233), + Column: int(32), + }, + End: ast.Location{ + Line: int(1233), + Column: int(33), }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p13222, + FreeVars: nil, }, - Named: nil, + OriginalString: "1", }, - TrailingComma: false, - TailStrict: false, }, + CommaFodder: ast.Fodder{}, }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(11), - }, - End: ast.Location{ - Line: int(1169), - Column: int(43), - }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - "j", - "keyF", - "prefix", - }, - }, - Cond: &ast.Binary{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1166), - Column: int(14), + Line: int(1233), + Column: int(35), }, End: ast.Location{ - Line: int(1166), - Column: int(38), + Line: int(1233), + Column: int(47), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13222, FreeVars: ast.Identifiers{ "a", - "b", + "acc", "i", - "j", - "keyF", }, }, - Left: &ast.Apply{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1166), - Column: int(14), + Line: int(1233), + Column: int(35), }, End: ast.Location{ - Line: int(1166), - Column: int(24), + Line: int(1233), + Column: int(38), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13222, FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", + "acc", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(14), - }, - End: ast.Location{ - Line: int(1166), - Column: int(18), - }, - File: p1, + Id: "acc", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1233), + Column: int(41), }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "keyF", + End: ast.Location{ + Line: int(1233), + Column: int(47), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13222, + FreeVars: ast.Identifiers{ + "a", + "i", }, - Id: "keyF", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1166), - Column: int(19), + Line: int(1233), + Column: int(42), }, End: ast.Location{ - Line: int(1166), - Column: int(23), + Line: int(1233), + Column: int(46), }, File: p1, }, - Ctx: p11418, + Fodder: ast.Fodder{}, + Ctx: p13244, FreeVars: ast.Identifiers{ "a", "i", @@ -128432,1300 +168178,1716 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1166), - Column: int(19), + Line: int(1233), + Column: int(42), }, End: ast.Location{ - Line: int(1166), - Column: int(20), + Line: int(1233), + Column: int(43), }, File: p1, }, - Ctx: p11418, + Fodder: ast.Fodder{}, + Ctx: p13244, FreeVars: ast.Identifiers{ "a", }, }, Id: "a", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1166), - Column: int(21), + Line: int(1233), + Column: int(44), }, End: ast.Location{ - Line: int(1166), - Column: int(22), + Line: int(1233), + Column: int(45), }, File: p1, }, - Ctx: p11418, + Fodder: ast.Fodder{}, + Ctx: p13244, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, TrailingComma: false, - TailStrict: false, + CloseFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(10), - Right: &ast.Apply{ + }, + 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(1234), + Column: int(14), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + 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(1234), + Column: int(17), + }, + End: ast.Location{ + Line: int(1234), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "ak", + "bk", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1234), + Column: int(17), + }, + End: ast.Location{ + Line: int(1234), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + 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(1234), + Column: int(22), + }, + End: ast.Location{ + Line: int(1234), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "bk", + }, + }, + Id: "bk", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(11), + }, + End: ast.Location{ + Line: int(1235), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(11), + }, + End: ast.Location{ + Line: int(1235), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13098, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1166), - Column: int(28), + Line: int(1235), + Column: int(15), }, End: ast.Location{ - Line: int(1166), - Column: int(38), + Line: int(1235), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13266, + 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(1235), + Column: int(18), + }, + End: ast.Location{ + Line: int(1235), + Column: int(19), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13266, FreeVars: ast.Identifiers{ "b", - "j", - "keyF", }, }, - Target: &ast.Var{ + Id: "b", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(21), + }, + End: ast.Location{ + Line: int(1235), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13266, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1166), - Column: int(28), + Line: int(1235), + Column: int(21), }, End: ast.Location{ - Line: int(1166), - Column: int(32), + Line: int(1235), + Column: int(22), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13266, FreeVars: ast.Identifiers{ - "keyF", + "i", }, }, - Id: "keyF", + Id: "i", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(33), - }, - End: ast.Location{ - Line: int(1166), - Column: int(37), - }, - File: p1, - }, - Ctx: p11430, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(33), - }, - End: ast.Location{ - Line: int(1166), - Column: int(34), - }, - File: p1, - }, - Ctx: p11430, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(25), }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(35), - }, - End: ast.Location{ - Line: int(1166), - Column: int(36), - }, - File: p1, - }, - Ctx: p11430, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", + End: ast.Location{ + Line: int(1235), + Column: int(26), }, - Id: nil, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p13266, + FreeVars: nil, }, - Named: nil, + OriginalString: "1", }, - TrailingComma: false, - TailStrict: false, }, + CommaFodder: ast.Fodder{}, }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(13), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(28), + }, + End: ast.Location{ + Line: int(1235), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(1167), - Column: int(43), + Fodder: ast.Fodder{}, + Ctx: p13266, + FreeVars: ast.Identifiers{ + "j", }, - File: p1, - }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "a", - "aux", - "i", - "j", - "prefix", }, + Id: "j", }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1167), - Column: int(13), + Line: int(1235), + Column: int(31), }, End: ast.Location{ - Line: int(1167), - Column: int(16), + Line: int(1235), + Column: int(43), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13266, FreeVars: ast.Identifiers{ - "aux", + "a", + "acc", + "i", }, }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(17), - }, - End: ast.Location{ - Line: int(1167), - Column: int(22), - }, - File: p1, - }, - Ctx: p11442, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(17), - }, - End: ast.Location{ - Line: int(1167), - Column: int(18), - }, - File: p1, - }, - Ctx: p11442, - FreeVars: ast.Identifiers{ - "i", - }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(31), }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(21), - }, - End: ast.Location{ - Line: int(1167), - Column: int(22), - }, - File: p1, - }, - Ctx: p11442, - FreeVars: nil, + End: ast.Location{ + Line: int(1235), + Column: int(34), }, - Value: float64(1), - OriginalString: "1", + File: p1, }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(24), - }, - End: ast.Location{ - Line: int(1167), - Column: int(25), - }, - File: p1, - }, - Ctx: p11442, - FreeVars: ast.Identifiers{ - "j", - }, + Fodder: ast.Fodder{}, + Ctx: p13266, + FreeVars: ast.Identifiers{ + "acc", }, - Id: "j", }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(27), - }, - End: ast.Location{ - Line: int(1167), - Column: int(42), - }, - File: p1, + Id: "acc", + }, + 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(37), }, - Ctx: p11442, - FreeVars: ast.Identifiers{ - "a", - "i", - "prefix", + End: ast.Location{ + Line: int(1235), + Column: int(43), }, + File: p1, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(27), - }, - End: ast.Location{ - Line: int(1167), - Column: int(33), - }, - File: p1, - }, - Ctx: p11442, - FreeVars: ast.Identifiers{ - "prefix", - }, - }, - Id: "prefix", + Fodder: ast.Fodder{}, + Ctx: p13266, + FreeVars: ast.Identifiers{ + "a", + "i", }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(36), + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(38), + }, + End: ast.Location{ + Line: int(1235), + Column: int(42), + }, + File: p1, }, - End: ast.Location{ - Line: int(1167), - Column: int(42), + Fodder: ast.Fodder{}, + Ctx: p13285, + FreeVars: ast.Identifiers{ + "a", + "i", }, - File: p1, - }, - Ctx: p11442, - FreeVars: ast.Identifiers{ - "a", - "i", }, - }, - Elements: ast.Nodes{ - &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1167), - Column: int(37), + Line: int(1235), + Column: int(38), }, End: ast.Location{ - Line: int(1167), - Column: int(41), + Line: int(1235), + Column: int(39), }, File: p1, }, - Ctx: p11457, + Fodder: ast.Fodder{}, + Ctx: p13285, FreeVars: ast.Identifiers{ "a", - "i", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(37), - }, - End: ast.Location{ - Line: int(1167), - Column: int(38), - }, - File: p1, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1235), + Column: int(40), }, - Ctx: p11457, - FreeVars: ast.Identifiers{ - "a", + End: ast.Location{ + Line: int(1235), + Column: int(41), }, + File: p1, }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(39), - }, - End: ast.Location{ - Line: int(1167), - Column: int(40), - }, - File: p1, - }, - Ctx: p11457, - FreeVars: ast.Identifiers{ - "i", - }, + Fodder: ast.Fodder{}, + Ctx: p13285, + FreeVars: ast.Identifiers{ + "i", }, - Id: "i", }, - Id: nil, + Id: "i", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - TrailingComma: false, + CommaFodder: nil, }, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Named: nil, }, - TrailingComma: false, - TailStrict: true, + CommaFodder: nil, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(13), + }, + 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(1237), + Column: int(11), + }, + End: ast.Location{ + Line: int(1237), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13098, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(11), + }, + End: ast.Location{ + Line: int(1237), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13098, + 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(1237), + Column: int(15), + }, + End: ast.Location{ + Line: int(1237), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1169), - Column: int(43), + Fodder: ast.Fodder{}, + Ctx: p13299, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, }, - Ctx: p11356, - FreeVars: ast.Identifiers{ - "aux", - "b", - "i", - "j", - "prefix", + Id: "a", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(18), + }, + End: ast.Location{ + Line: int(1237), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13299, + FreeVars: ast.Identifiers{ + "b", + }, }, + Id: "b", }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1169), - Column: int(13), + Line: int(1237), + Column: int(21), }, End: ast.Location{ - Line: int(1169), - Column: int(16), + Line: int(1237), + Column: int(22), }, File: p1, }, - Ctx: p11356, + Fodder: ast.Fodder{}, + Ctx: p13299, FreeVars: ast.Identifiers{ - "aux", + "i", }, }, - Id: "aux", + Id: "i", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(17), - }, - End: ast.Location{ - Line: int(1169), - Column: int(18), - }, - File: p1, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(24), + }, + End: ast.Location{ + Line: int(1237), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13299, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(24), }, - Ctx: p11469, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(1237), + Column: int(25), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13299, + FreeVars: ast.Identifiers{ + "j", }, - Id: "i", }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(20), - }, - End: ast.Location{ - Line: int(1169), - Column: int(25), - }, - File: p1, + Id: "j", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(28), }, - Ctx: p11469, - FreeVars: ast.Identifiers{ - "j", + End: ast.Location{ + Line: int(1237), + Column: int(29), }, + File: p1, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(20), - }, - End: ast.Location{ - Line: int(1169), - Column: int(21), - }, - File: p1, - }, - Ctx: p11469, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", + Fodder: ast.Fodder{}, + Ctx: p13299, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(31), }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(24), - }, - End: ast.Location{ - Line: int(1169), - Column: int(25), - }, - File: p1, - }, - Ctx: p11469, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + End: ast.Location{ + Line: int(1237), + Column: int(43), }, + File: p1, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(27), - }, - End: ast.Location{ - Line: int(1169), - Column: int(42), - }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p13299, + FreeVars: ast.Identifiers{ + "acc", + "b", + "j", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(31), }, - Ctx: p11469, - FreeVars: ast.Identifiers{ - "b", - "j", - "prefix", + End: ast.Location{ + Line: int(1237), + Column: int(34), }, + File: p1, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(27), - }, - End: ast.Location{ - Line: int(1169), - Column: int(33), - }, - File: p1, - }, - Ctx: p11469, - FreeVars: ast.Identifiers{ - "prefix", - }, + Fodder: ast.Fodder{}, + Ctx: p13299, + 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(1237), + Column: int(37), }, - Id: "prefix", + End: ast.Location{ + Line: int(1237), + Column: int(43), + }, + File: p1, }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(36), + Fodder: ast.Fodder{}, + Ctx: p13299, + 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(1237), + Column: int(38), + }, + End: ast.Location{ + Line: int(1237), + Column: int(42), + }, + File: p1, }, - End: ast.Location{ - Line: int(1169), - Column: int(42), + Fodder: ast.Fodder{}, + Ctx: p13318, + FreeVars: ast.Identifiers{ + "b", + "j", }, - File: p1, - }, - Ctx: p11469, - FreeVars: ast.Identifiers{ - "b", - "j", }, - }, - Elements: ast.Nodes{ - &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1169), - Column: int(37), + Line: int(1237), + Column: int(38), }, End: ast.Location{ - Line: int(1169), - Column: int(41), - }, - File: p1, - }, - Ctx: p11484, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(37), - }, - End: ast.Location{ - Line: int(1169), - Column: int(38), - }, - File: p1, - }, - Ctx: p11484, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(39), - }, - End: ast.Location{ - Line: int(1169), - Column: int(40), - }, - File: p1, - }, - Ctx: p11484, - FreeVars: ast.Identifiers{ - "j", + Line: int(1237), + Column: int(39), }, - }, - Id: "j", - }, - Id: nil, - }, - }, - TrailingComma: false, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(7), - }, - End: ast.Location{ - Line: int(1170), - Column: int(20), - }, - File: p1, - }, - Ctx: p11321, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(7), - }, - End: ast.Location{ - Line: int(1170), - Column: int(10), - }, - File: p1, - }, - Ctx: p11321, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(11), - }, - End: ast.Location{ - Line: int(1170), - Column: int(12), - }, - File: p1, - }, - Ctx: p11496, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(14), - }, - End: ast.Location{ - Line: int(1170), - Column: int(15), - }, - File: p1, - }, - Ctx: p11496, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(17), - }, - End: ast.Location{ - Line: int(1170), - Column: int(19), + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13318, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1237), + Column: int(40), + }, + End: ast.Location{ + Line: int(1237), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13318, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Id: "j", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + }, + CommaFodder: nil, }, - File: p1, }, - Ctx: p11496, - FreeVars: nil, + Named: nil, }, - Elements: nil, TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, }, }, }, - Fun: 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{ + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(5), + }, + End: ast.Location{ + Line: int(1238), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13085, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1172), + Line: int(1238), Column: int(5), }, End: ast.Location{ - Line: int(1178), - Column: int(67), + Line: int(1238), + Column: int(8), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p13085, FreeVars: ast.Identifiers{ - "arr", - "keyF", - "merge", - "quickSort", - "std", + "aux", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "l", - Body: &ast.Apply{ + Id: "aux", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1172), - Column: int(15), + Line: int(1238), + Column: int(9), }, End: ast.Location{ - Line: int(1172), - Column: int(30), + Line: int(1238), + Column: int(10), }, File: p1, }, - Ctx: p11503, + Fodder: ast.Fodder{}, + Ctx: p13331, FreeVars: ast.Identifiers{ - "arr", - "std", + "a", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(15), - }, - End: ast.Location{ - Line: int(1172), - Column: int(25), - }, - File: p1, + Id: "a", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(12), }, - Ctx: p11503, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1238), + Column: int(13), }, + File: p1, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(15), - }, - End: ast.Location{ - Line: int(1172), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{}, + Ctx: p13331, + 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(1238), + Column: int(15), }, - Id: "std", + End: ast.Location{ + Line: int(1238), + Column: int(16), + }, + File: p1, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p13331, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(18), }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(1238), + Column: int(19), + }, + File: p1, }, - Id: nil, + Fodder: ast.Fodder{}, + Ctx: p13331, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(26), - }, - End: ast.Location{ - Line: int(1172), - Column: int(29), - }, - File: p1, - }, - Ctx: p11512, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1238), + Column: int(21), + }, + End: ast.Location{ + Line: int(1238), + Column: int(23), }, + File: p1, }, - Named: nil, + Fodder: ast.Fodder{}, + Ctx: p13331, + FreeVars: nil, }, + Elements: nil, TrailingComma: false, - TailStrict: false, + CloseFodder: ast.Fodder{}, }, - Fun: nil, + CommaFodder: nil, }, }, - Body: &ast.Conditional{ + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1222), + Column: int(3), + }, + End: ast.Location{ + Line: int(1238), + 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: nil, + }, + 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: p11, + 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(1240), + Column: int(12), + }, + End: ast.Location{ + Line: int(1240), + 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(1240), + Column: int(15), + }, + End: ast.Location{ + Line: int(1240), + 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(1240), + Column: int(23), + }, + End: ast.Location{ + Line: int(1240), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13343, + FreeVars: ast.Identifiers{ + "id", + }, + }, + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1240), + Column: int(18), + }, + End: ast.Location{ + Line: int(1240), + 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(1241), + Column: int(5), + }, + End: ast.Location{ + Line: int(1251), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p13343, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(5), + Line: int(1241), + Column: int(11), }, End: ast.Location{ - Line: int(1178), - Column: int(67), + Line: int(1250), + Column: int(35), }, File: p1, }, - Ctx: p11105, + Fodder: nil, + Ctx: p13350, FreeVars: ast.Identifiers{ - "arr", + "aux", "keyF", - "l", - "merge", - "quickSort", "std", }, }, - Cond: &ast.Binary{ + 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(1241), + Column: int(15), + }, + End: ast.Location{ + Line: int(1241), + 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(1241), + Column: int(18), + }, + End: ast.Location{ + Line: int(1241), + 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(1241), + Column: int(21), + }, + End: ast.Location{ + Line: int(1241), + 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(1241), + Column: int(24), + }, + End: ast.Location{ + Line: int(1241), + 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(1241), + Column: int(27), + }, + End: ast.Location{ + Line: int(1241), + Column: int(30), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(8), + Line: int(1242), + Column: int(7), }, End: ast.Location{ - Line: int(1173), - Column: int(29), + Line: int(1250), + Column: int(35), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13355, FreeVars: ast.Identifiers{ - "arr", + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", "std", }, }, - Left: &ast.Apply{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(8), + Line: int(1242), + Column: int(10), }, End: ast.Location{ - Line: int(1173), - Column: int(23), + Line: int(1242), + Column: int(50), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "arr", + "a", + "b", + "i", + "j", "std", }, }, - Target: &ast.Index{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(8), + Line: int(1242), + Column: int(10), }, End: ast.Location{ - Line: int(1173), - Column: int(18), + Line: int(1242), + Column: int(28), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ + "a", + "i", "std", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(8), + Line: int(1242), + Column: int(10), }, End: ast.Location{ - Line: int(1173), + Line: int(1242), Column: int(11), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Id: "std", + Id: "i", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1242), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1242), + Column: int(28), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13355, + FreeVars: ast.Identifiers{ + "a", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1173), - Column: int(19), + Line: int(1242), + Column: int(15), }, End: ast.Location{ - Line: int(1173), - Column: int(22), + Line: int(1242), + Column: int(25), }, File: p1, }, - Ctx: p11527, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "arr", + "std", }, }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(10), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(27), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1242), + Column: int(15), + }, + End: ast.Location{ + Line: int(1242), + 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: nil, + }, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - End: ast.Location{ - Line: int(1173), - Column: int(29), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1242), + Column: int(26), + }, + End: ast.Location{ + Line: int(1242), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13372, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p11105, - FreeVars: nil, - }, - Value: float64(30), - OriginalString: "30", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(7), - }, - End: ast.Location{ - Line: int(1174), - Column: int(32), + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - File: p1, - }, - Ctx: p11105, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "quickSort", }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(7), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(18), + Right: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1242), + Column: int(32), + }, + End: ast.Location{ + Line: int(1242), + Column: int(50), + }, + File: p1, }, - End: ast.Location{ - Line: int(1174), - Column: int(16), + Fodder: ast.Fodder{}, + Ctx: p13355, + FreeVars: ast.Identifiers{ + "b", + "j", + "std", }, - File: p1, }, - Ctx: p11105, - FreeVars: ast.Identifiers{ - "quickSort", - }, - }, - Id: "quickSort", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1174), - Column: int(17), + Line: int(1242), + Column: int(32), }, End: ast.Location{ - Line: int(1174), - Column: int(20), + Line: int(1242), + Column: int(33), }, File: p1, }, - Ctx: p11536, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - Name: "keyF", - Arg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(27), - }, - End: ast.Location{ - Line: int(1174), - Column: int(31), - }, - File: p1, - }, - Ctx: p11536, - FreeVars: ast.Identifiers{ - "keyF", - }, + "j", }, - Id: "keyF", }, + Id: "j", }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1176), - Column: int(7), - }, - End: ast.Location{ - Line: int(1178), - Column: int(67), - }, - File: p1, - }, - Ctx: p11105, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "merge", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "mid", - Body: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1176), - Column: int(19), + Line: int(1242), + Column: int(37), }, End: ast.Location{ - Line: int(1176), - Column: int(35), + Line: int(1242), + Column: int(50), }, File: p1, }, - Ctx: p11545, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "l", + "b", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1176), - Column: int(19), + Line: int(1242), + Column: int(37), }, End: ast.Location{ - Line: int(1176), - Column: int(28), + Line: int(1242), + Column: int(47), }, File: p1, }, - Ctx: p11545, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ "std", }, @@ -129733,17 +169895,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1176), - Column: int(19), + Line: int(1242), + Column: int(37), }, End: ast.Location{ - Line: int(1176), - Column: int(22), + Line: int(1242), + Column: int(40), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -129751,6 +169914,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -129765,2499 +169929,1816 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "floor", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1176), - Column: int(29), - }, - End: ast.Location{ - Line: int(1176), - Column: int(34), - }, - File: p1, - }, - Ctx: p11554, - FreeVars: ast.Identifiers{ - "l", - }, - }, - Left: &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1176), - Column: int(29), + Line: int(1242), + Column: int(48), }, End: ast.Location{ - Line: int(1176), - Column: int(30), + Line: int(1242), + Column: int(49), }, File: p1, }, - Ctx: p11554, + Fodder: ast.Fodder{}, + Ctx: p13387, FreeVars: ast.Identifiers{ - "l", - }, - }, - Id: "l", - }, - Op: ast.BinaryOp(1), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1176), - Column: int(33), - }, - End: ast.Location{ - Line: int(1176), - Column: int(34), - }, - File: p1, + "b", }, - Ctx: p11554, - FreeVars: nil, }, - Value: float64(2), - OriginalString: "2", + Id: "b", }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, }, }, - Body: &ast.Local{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1177), - Column: int(7), + Line: int(1243), + Column: int(9), }, End: ast.Location{ - Line: int(1178), - Column: int(67), + Line: int(1243), + Column: int(12), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13355, FreeVars: ast.Identifiers{ - "arr", + "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(1245), + Column: int(9), + }, + End: ast.Location{ + Line: int(1250), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13355, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", "keyF", - "merge", - "mid", - "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "left", - Body: &ast.Apply{ + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1245), + Column: int(12), + }, + End: ast.Location{ + Line: int(1245), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13355, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1245), + Column: int(12), + }, + End: ast.Location{ + Line: int(1245), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13355, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1245), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1245), + Column: int(16), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "arr", - "mid", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + "keyF", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Id: "keyF", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1177), - Column: int(20), + Line: int(1245), + Column: int(17), }, End: ast.Location{ - Line: int(1177), - Column: int(23), + Line: int(1245), + Column: int(21), }, File: p1, }, - Ctx: p11571, + Fodder: ast.Fodder{}, + Ctx: p13404, FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &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, + "a", + "i", }, - Ctx: nil, - FreeVars: nil, }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(25), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1245), + Column: int(17), + }, + End: ast.Location{ + Line: int(1245), + Column: int(18), + }, + File: p1, }, - End: ast.Location{ - Line: int(1177), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p13404, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p11571, - FreeVars: ast.Identifiers{ - "mid", }, + Id: "a", }, - Id: "mid", - }, - &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), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1245), + Column: int(19), + }, + End: ast.Location{ + Line: int(1245), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13404, + FreeVars: ast.Identifiers{ + "i", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "i", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - ast.LocalBind{ - Variable: "right", - Body: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1245), + Column: int(26), + }, + End: ast.Location{ + Line: int(1245), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13355, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1245), + Column: int(26), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1245), + Column: int(30), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "arr", - "mid", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + "keyF", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(39), - }, - End: ast.Location{ - Line: int(1177), - Column: int(42), - }, - File: p1, - }, - Ctx: p11586, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Var{ + Id: "keyF", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1177), - Column: int(43), + Line: int(1245), + Column: int(31), }, End: ast.Location{ - Line: int(1177), - Column: int(46), + Line: int(1245), + Column: int(35), }, File: p1, }, - Ctx: p11586, + Fodder: ast.Fodder{}, + Ctx: p13416, FreeVars: ast.Identifiers{ - "mid", + "b", + "j", }, }, - Id: "mid", - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1245), + Column: int(31), + }, + End: ast.Location{ + Line: int(1245), + Column: int(32), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p13416, + FreeVars: ast.Identifiers{ + "b", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "b", }, - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1245), + Column: int(33), + }, + End: ast.Location{ + Line: int(1245), + Column: int(34), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p13416, + FreeVars: ast.Identifiers{ + "j", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "j", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Body: &ast.Apply{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1178), - Column: int(7), + Line: int(1246), + Column: int(11), }, End: ast.Location{ - Line: int(1178), - Column: int(67), + Line: int(1246), + Column: int(48), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "keyF", - "left", - "merge", - "right", - "std", + "a", + "acc", + "aux", + "b", + "i", + "j", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1178), - Column: int(7), + Line: int(1246), + Column: int(11), }, End: ast.Location{ - Line: int(1178), - Column: int(12), + Line: int(1246), + Column: int(14), }, File: p1, }, - Ctx: p11105, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13355, FreeVars: ast.Identifiers{ - "merge", + "aux", }, }, - Id: "merge", + Id: "aux", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(13), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(15), + }, + End: ast.Location{ + Line: int(1246), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1178), - Column: int(38), + Fodder: ast.Fodder{}, + Ctx: p13429, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p11598, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "std", }, + Id: "a", }, - Target: &ast.Index{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1178), - Column: int(13), + Line: int(1246), + Column: int(18), }, End: ast.Location{ - Line: int(1178), + Line: int(1246), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13429, + 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(1246), Column: int(21), }, + End: ast.Location{ + Line: int(1246), + Column: int(26), + }, File: p1, }, - Ctx: p11598, + Fodder: ast.Fodder{}, + Ctx: p13429, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1178), - Column: int(13), + Line: int(1246), + Column: int(21), }, End: ast.Location{ - Line: int(1178), - Column: int(16), + Line: int(1246), + Column: int(22), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13429, FreeVars: ast.Identifiers{ - "std", + "i", }, }, - Id: "std", + Id: "i", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1246), + Column: int(25), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1246), + Column: int(26), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13429, FreeVars: nil, }, - Value: "sort", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "1", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(22), - }, - End: ast.Location{ - Line: int(1178), - Column: int(26), - }, - File: p1, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(28), + }, + End: ast.Location{ + Line: int(1246), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13429, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(28), }, - Ctx: p11607, - FreeVars: ast.Identifiers{ - "left", + End: ast.Location{ + Line: int(1246), + Column: int(29), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13429, + FreeVars: ast.Identifiers{ + "j", }, - Id: "left", }, + Id: "j", }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - Name: "keyF", - Arg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(33), - }, - End: ast.Location{ - Line: int(1178), - Column: int(37), - }, - File: p1, - }, - Ctx: p11607, - FreeVars: ast.Identifiers{ - "keyF", - }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(32), + }, + End: ast.Location{ + Line: int(1246), + Column: int(33), }, - Id: "keyF", + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p13429, + FreeVars: nil, }, + OriginalString: "1", }, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: ast.Fodder{}, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(40), - }, - End: ast.Location{ - Line: int(1178), - Column: int(66), - }, - File: p1, - }, - Ctx: p11598, - FreeVars: ast.Identifiers{ - "keyF", - "right", - "std", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1178), - Column: int(40), + Line: int(1246), + Column: int(35), }, End: ast.Location{ - Line: int(1178), - Column: int(48), + Line: int(1246), + Column: int(47), }, File: p1, }, - Ctx: p11598, + Fodder: ast.Fodder{}, + Ctx: p13429, FreeVars: ast.Identifiers{ - "std", + "a", + "acc", + "i", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1178), - Column: int(40), + Line: int(1246), + Column: int(35), }, End: ast.Location{ - Line: int(1178), - Column: int(43), + Line: int(1246), + Column: int(38), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13429, FreeVars: ast.Identifiers{ - "std", + "acc", }, }, - Id: "std", + Id: "acc", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1246), + Column: int(41), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1246), + Column: int(47), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sort", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(49), - }, - End: ast.Location{ - Line: int(1178), - Column: int(54), - }, - File: p1, - }, - Ctx: p11621, - FreeVars: ast.Identifiers{ - "right", - }, + Fodder: ast.Fodder{}, + Ctx: p13429, + FreeVars: ast.Identifiers{ + "a", + "i", }, - Id: "right", }, - }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - Name: "keyF", - Arg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(61), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(42), + }, + End: ast.Location{ + Line: int(1246), + Column: int(46), + }, + File: p1, }, - End: ast.Location{ - Line: int(1178), - Column: int(65), + Fodder: ast.Fodder{}, + Ctx: p13451, + FreeVars: ast.Identifiers{ + "a", + "i", }, - File: p1, }, - Ctx: p11621, - FreeVars: ast.Identifiers{ - "keyF", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(42), + }, + End: ast.Location{ + Line: int(1246), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13451, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1246), + Column: int(44), + }, + End: ast.Location{ + Line: int(1246), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13451, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: "keyF", + CommaFodder: nil, }, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - }, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "uniq", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(18), - }, - End: ast.Location{ - Line: int(1180), - Column: int(20), - }, - File: p1, - }, - Ctx: p11632, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", - }, - }, - }, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(5), - }, - End: ast.Location{ - Line: int(1188), - Column: int(26), - }, - File: p1, - }, - Ctx: p11632, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "f", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(11), - }, - End: ast.Location{ - Line: int(1187), - Column: int(16), - }, - File: p1, - }, - Ctx: p11638, - FreeVars: ast.Identifiers{ - "keyF", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(7), - }, - End: ast.Location{ - Line: int(1187), - Column: int(16), - }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(10), - }, - End: ast.Location{ - Line: int(1182), - Column: int(28), - }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "a", - "std", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, }, - Left: &ast.Apply{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1182), - Column: int(10), + Line: int(1247), + Column: int(14), }, End: ast.Location{ - Line: int(1182), - Column: int(23), + Line: int(1250), + Column: int(35), }, File: p1, }, - Ctx: p11642, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ "a", - "std", + "acc", + "aux", + "b", + "i", + "j", + "keyF", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1182), - Column: int(10), + Line: int(1247), + Column: int(17), }, End: ast.Location{ - Line: int(1182), - Column: int(20), + Line: int(1247), + Column: int(40), }, File: p1, }, - Ctx: p11642, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "std", + "a", + "b", + "i", + "j", + "keyF", }, }, - Target: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1182), - Column: int(10), + Line: int(1247), + Column: int(17), }, End: ast.Location{ - Line: int(1182), - Column: int(13), + Line: int(1247), + Column: int(27), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "std", + "a", + "i", + "keyF", }, }, - Id: "std", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(17), + }, + End: ast.Location{ + Line: int(1247), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13355, + 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(1247), + Column: int(22), + }, + End: ast.Location{ + Line: int(1247), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13468, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(22), + }, + End: ast.Location{ + Line: int(1247), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13468, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(24), + }, + End: ast.Location{ + Line: int(1247), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13468, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1247), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1247), + Column: int(40), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13355, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1182), - Column: int(21), + Line: int(1247), + Column: int(30), }, End: ast.Location{ - Line: int(1182), - Column: int(22), + Line: int(1247), + Column: int(34), }, File: p1, }, - Ctx: p11655, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ - "a", + "keyF", }, }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(27), - }, - End: ast.Location{ - Line: int(1182), - Column: int(28), + Id: "keyF", }, - File: p1, - }, - Ctx: p11642, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1183), - Column: int(9), - }, - End: ast.Location{ - Line: int(1183), - Column: int(12), - }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1183), - Column: int(10), - }, - End: ast.Location{ - Line: int(1183), - Column: int(11), + 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(1247), + Column: int(35), + }, + End: ast.Location{ + Line: int(1247), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13480, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(35), + }, + End: ast.Location{ + Line: int(1247), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13480, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1247), + Column: int(37), + }, + End: ast.Location{ + Line: int(1247), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13480, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Id: "j", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, }, - File: p1, - }, - Ctx: p11662, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(12), - }, - End: ast.Location{ - Line: int(1187), - Column: int(16), - }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(15), - }, - End: ast.Location{ - Line: int(1184), - Column: int(52), + Named: nil, }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Left: &ast.Apply{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(15), + Line: int(1248), + Column: int(11), }, End: ast.Location{ - Line: int(1184), - Column: int(41), + Line: int(1248), + Column: int(35), }, File: p1, }, - Ctx: p11642, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ "a", - "keyF", - "std", + "acc", + "aux", + "b", + "i", + "j", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(15), + Line: int(1248), + Column: int(11), }, End: ast.Location{ - Line: int(1184), - Column: int(19), + Line: int(1248), + Column: int(14), }, File: p1, }, - Ctx: p11642, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13355, FreeVars: ast.Identifiers{ - "keyF", + "aux", }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(20), + }, + 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(1248), + Column: int(15), + }, + End: ast.Location{ + Line: int(1248), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1184), - Column: int(40), + Fodder: ast.Fodder{}, + Ctx: p13493, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p11674, - FreeVars: ast.Identifiers{ - "a", - "std", }, + Id: "a", }, - Target: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(20), + Line: int(1248), + Column: int(18), }, End: ast.Location{ - Line: int(1184), - Column: int(21), + Line: int(1248), + Column: int(19), }, File: p1, }, - Ctx: p11674, + Fodder: ast.Fodder{}, + Ctx: p13493, FreeVars: ast.Identifiers{ - "a", + "b", }, }, - Id: "a", + Id: "b", }, - Index: &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(22), + Line: int(1248), + Column: int(21), }, End: ast.Location{ - Line: int(1184), - Column: int(39), + Line: int(1248), + Column: int(26), }, File: p1, }, - Ctx: p11674, + Fodder: ast.Fodder{}, + Ctx: p13493, FreeVars: ast.Identifiers{ - "a", - "std", + "i", }, }, - Left: &ast.Apply{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(22), + Line: int(1248), + Column: int(21), }, End: ast.Location{ - Line: int(1184), - Column: int(35), + Line: int(1248), + Column: int(22), }, File: p1, }, - Ctx: p11674, + Fodder: ast.Fodder{}, + Ctx: p13493, FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(22), - }, - End: ast.Location{ - Line: int(1184), - Column: int(32), - }, - File: p1, - }, - Ctx: p11674, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(22), - }, - End: ast.Location{ - Line: int(1184), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(33), - }, - End: ast.Location{ - Line: int(1184), - Column: int(34), - }, - File: p1, - }, - Ctx: p11689, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, + "i", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "i", }, - Op: ast.BinaryOp(4), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(38), + Line: int(1248), + Column: int(25), }, End: ast.Location{ - Line: int(1184), - Column: int(39), + Line: int(1248), + Column: int(26), }, File: p1, }, - Ctx: p11674, + Fodder: ast.Fodder{}, + Ctx: p13493, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, - Id: nil, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1248), + Column: int(28), + }, + End: ast.Location{ + Line: int(1248), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13493, + 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(1248), + Column: int(31), + }, + End: ast.Location{ + Line: int(1248), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13493, + FreeVars: ast.Identifiers{ + "acc", + }, + }, + Id: "acc", + }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, - TailStrict: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(45), + Line: int(1250), + Column: int(11), }, End: ast.Location{ - Line: int(1184), - Column: int(52), + Line: int(1250), + Column: int(35), }, File: p1, }, - Ctx: p11642, + Fodder: ast.Fodder{}, + Ctx: p13355, FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", "b", - "keyF", + "i", + "j", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1184), - Column: int(45), + Line: int(1250), + Column: int(11), }, End: ast.Location{ - Line: int(1184), - Column: int(49), + Line: int(1250), + Column: int(14), }, File: p1, }, - Ctx: p11642, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13355, FreeVars: ast.Identifiers{ - "keyF", + "aux", }, }, - Id: "keyF", + Id: "aux", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(50), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1250), + Column: int(15), + }, + End: ast.Location{ + Line: int(1250), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1184), - Column: int(51), + Fodder: ast.Fodder{}, + Ctx: p13514, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p11698, - FreeVars: ast.Identifiers{ - "b", }, + Id: "a", }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(9), - }, - End: ast.Location{ - Line: int(1185), - Column: int(10), - }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - BranchFalse: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(9), - }, - End: ast.Location{ - Line: int(1187), - Column: int(16), - }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(9), - }, - End: ast.Location{ - Line: int(1187), - Column: int(10), + CommaFodder: ast.Fodder{}, }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(13), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1250), + Column: int(18), + }, + End: ast.Location{ + Line: int(1250), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13514, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + CommaFodder: ast.Fodder{}, }, - End: ast.Location{ - Line: int(1187), - Column: int(16), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1250), + Column: int(21), + }, + End: ast.Location{ + Line: int(1250), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13514, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + CommaFodder: ast.Fodder{}, }, - File: p1, - }, - Ctx: p11642, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(14), + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1250), + Column: int(24), + }, + End: ast.Location{ + Line: int(1250), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13514, + FreeVars: ast.Identifiers{ + "j", + }, }, - End: ast.Location{ - Line: int(1187), - Column: int(15), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1250), + Column: int(24), + }, + End: ast.Location{ + Line: int(1250), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13514, + 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(1250), + Column: int(28), + }, + End: ast.Location{ + Line: int(1250), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13514, + FreeVars: nil, + }, + OriginalString: "1", }, - File: p1, }, - Ctx: p11710, - FreeVars: ast.Identifiers{ - "b", + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1250), + Column: int(31), + }, + End: ast.Location{ + Line: int(1250), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13514, + FreeVars: ast.Identifiers{ + "acc", + }, + }, + Id: "acc", }, + CommaFodder: nil, }, - Id: "b", }, + Named: nil, }, TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, }, }, }, Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ + CloseFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1188), - Column: int(5), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1188), - Column: int(26), - }, - File: p1, - }, - Ctx: p11632, - FreeVars: ast.Identifiers{ - "arr", - "f", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1188), - Column: int(5), - }, - End: ast.Location{ - Line: int(1188), - Column: int(14), - }, - File: p1, - }, - Ctx: p11632, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1188), - Column: int(5), - }, - End: ast.Location{ - Line: int(1188), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "foldl", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1188), - Column: int(15), - }, - End: ast.Location{ - Line: int(1188), - Column: int(16), - }, - File: p1, - }, - Ctx: p11721, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1188), - Column: int(18), - }, - End: ast.Location{ - Line: int(1188), - Column: int(21), - }, - File: p1, - }, - Ctx: p11721, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1188), - Column: int(23), - }, - End: ast.Location{ - Line: int(1188), - Column: int(25), - }, - File: p1, - }, - Ctx: p11721, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "set", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "arr", - }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1190), - Column: int(17), - }, - End: ast.Location{ - Line: int(1190), - Column: int(19), - }, - File: p1, - }, - Ctx: p11732, - FreeVars: ast.Identifiers{ - "id", - }, + Line: int(0), + Column: int(0), }, - Id: "id", - }, - }, - }, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(5), - }, - End: ast.Location{ - Line: int(1191), - Column: int(40), + File: nil, }, - File: p1, - }, - Ctx: p11732, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", }, }, - Target: &ast.Index{ + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1191), + Line: int(1251), Column: int(5), }, End: ast.Location{ - Line: int(1191), - Column: int(13), + Line: int(1251), + Column: int(24), }, File: p1, }, - Ctx: p11732, + Fodder: ast.Fodder{}, + Ctx: p13343, FreeVars: ast.Identifiers{ - "std", + "a", + "aux", + "b", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1191), + Line: int(1251), Column: int(5), }, End: ast.Location{ - Line: int(1191), + Line: int(1251), Column: int(8), }, File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: 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{}, }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Ctx: p13343, + FreeVars: ast.Identifiers{ + "aux", + }, }, - Value: "uniq", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "aux", }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(14), - }, - End: ast.Location{ - Line: int(1191), - Column: int(33), - }, - File: p1, - }, - Ctx: p11743, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(14), - }, - End: ast.Location{ - Line: int(1191), - Column: int(22), - }, - File: p1, - }, - Ctx: p11743, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1191), - Column: int(14), + Line: int(1251), + Column: int(9), }, End: ast.Location{ - Line: int(1191), - Column: int(17), + Line: int(1251), + Column: int(10), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13534, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "sort", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(23), - }, - End: ast.Location{ - Line: int(1191), - Column: int(26), - }, - File: p1, - }, - Ctx: p11752, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(28), - }, - End: ast.Location{ - Line: int(1191), - Column: int(32), - }, - File: p1, - }, - Ctx: p11752, - FreeVars: ast.Identifiers{ - "keyF", - }, + "a", }, - Id: "keyF", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(35), - }, - End: ast.Location{ - Line: int(1191), - Column: int(39), - }, - File: p1, - }, - Ctx: p11743, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "setMember", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", - "arr", - }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(26), - }, - End: ast.Location{ - Line: int(1193), - Column: int(28), - }, - File: p1, - }, - Ctx: p11764, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", - }, - }, - }, - }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(5), - }, - End: ast.Location{ - Line: int(1195), - Column: int(49), - }, - File: p1, - }, - Ctx: p11764, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(5), - }, - End: ast.Location{ - Line: int(1195), - Column: int(45), - }, - File: p1, - }, - Ctx: p11764, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(5), - }, - End: ast.Location{ - Line: int(1195), - Column: int(15), - }, - File: p1, - }, - Ctx: p11764, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(5), - }, - End: ast.Location{ - Line: int(1195), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), }, - File: nil, + Id: "a", }, - Ctx: nil, - FreeVars: nil, + CommaFodder: ast.Fodder{}, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(16), - }, - End: ast.Location{ - Line: int(1195), - Column: int(44), - }, - File: p1, - }, - Ctx: p11777, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1195), - Column: int(16), + Line: int(1251), + Column: int(12), }, End: ast.Location{ - Line: int(1195), - Column: int(28), + Line: int(1251), + Column: int(13), }, File: p1, }, - Ctx: p11777, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(16), - }, - End: ast.Location{ - Line: int(1195), - Column: int(19), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p13534, + FreeVars: ast.Identifiers{ + "b", }, - Value: "setInter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, + Id: "b", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(29), - }, - End: ast.Location{ - Line: int(1195), - Column: int(32), - }, - File: p1, - }, - Ctx: p11786, - FreeVars: ast.Identifiers{ - "x", - }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(15), }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(30), - }, - End: ast.Location{ - Line: int(1195), - Column: int(31), - }, - File: p1, - }, - Ctx: p11790, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, + End: ast.Location{ + Line: int(1251), + Column: int(16), }, - TrailingComma: false, + File: p1, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(34), - }, - End: ast.Location{ - Line: int(1195), - Column: int(37), - }, - File: p1, - }, - Ctx: p11786, - FreeVars: ast.Identifiers{ - "arr", - }, + Fodder: ast.Fodder{}, + Ctx: p13534, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(18), }, - Id: "arr", + End: ast.Location{ + Line: int(1251), + Column: int(19), + }, + File: p1, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(39), - }, - End: ast.Location{ - Line: int(1195), - Column: int(43), - }, - File: p1, - }, - Ctx: p11786, - FreeVars: ast.Identifiers{ - "keyF", - }, + Fodder: ast.Fodder{}, + Ctx: p13534, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1251), + Column: int(21), + }, + End: ast.Location{ + Line: int(1251), + Column: int(23), }, - Id: "keyF", + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p13534, + FreeVars: nil, }, - Named: nil, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1195), - Column: int(48), - }, - End: ast.Location{ - Line: int(1195), - Column: int(49), - }, - File: p1, - }, - Ctx: p11764, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1240), + Column: int(3), + }, + End: ast.Location{ + Line: int(1251), + Column: int(24), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -132275,12 +171756,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "setUnion", + Value: "setDiff", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -132296,60 +171779,119 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "id", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", + 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(1253), + Column: int(11), + }, + End: ast.Location{ + Line: int(1253), + Column: int(12), + }, + File: p1, + }, }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(23), - }, - End: ast.Location{ - Line: int(1197), - Column: int(25), - }, - 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(1253), + Column: int(14), + }, + End: ast.Location{ + Line: int(1253), + 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(1253), + Column: int(22), }, - Ctx: p11803, - FreeVars: ast.Identifiers{ - "id", + End: ast.Location{ + Line: int(1253), + Column: int(24), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13546, + FreeVars: ast.Identifiers{ + "id", }, - Id: "id", }, + Id: "id", + }, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1253), + Column: int(17), + }, + End: ast.Location{ + Line: int(1253), + Column: int(24), + }, + File: p1, }, }, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1199), + Line: int(1254), Column: int(5), }, End: ast.Location{ - Line: int(1213), + Line: int(1266), Column: int(24), }, File: p1, }, - Ctx: p11803, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p13546, FreeVars: ast.Identifiers{ "a", "b", @@ -132359,54 +171901,154 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "aux", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1199), + Line: int(1254), Column: int(11), }, End: ast.Location{ - Line: int(1212), - Column: int(44), + Line: int(1265), + Column: int(35), }, File: p1, }, - Ctx: p11809, + Fodder: nil, + Ctx: p13553, FreeVars: ast.Identifiers{ "aux", "keyF", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - "i", - "j", - "acc", + 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(1254), + Column: int(15), + }, + End: ast.Location{ + Line: int(1254), + 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(1254), + Column: int(18), + }, + End: ast.Location{ + Line: int(1254), + 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(1254), + Column: int(21), + }, + End: ast.Location{ + Line: int(1254), + 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(1254), + Column: int(24), + }, + End: ast.Location{ + Line: int(1254), + 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(1254), + Column: int(27), + }, + End: ast.Location{ + Line: int(1254), + Column: int(30), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(7), }, End: ast.Location{ - Line: int(1212), - Column: int(44), + Line: int(1265), + Column: int(35), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13558, FreeVars: ast.Identifiers{ "a", "acc", @@ -132421,18 +172063,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(10), }, End: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(28), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "a", "i", @@ -132442,40 +172085,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(10), }, End: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(11), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(15), }, End: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(28), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "a", "std", @@ -132484,18 +172130,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(15), }, End: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(25), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "std", }, @@ -132503,17 +172150,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(15), }, End: ast.Location{ - Line: int(1200), + Line: int(1255), Column: int(18), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -132521,6 +172169,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -132535,275 +172184,109 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1200), - Column: int(26), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1255), + Column: int(26), + }, + End: ast.Location{ + Line: int(1255), + Column: int(27), + }, + File: p1, }, - End: ast.Location{ - Line: int(1200), - Column: int(27), + Fodder: ast.Fodder{}, + Ctx: p13573, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p11828, - FreeVars: ast.Identifiers{ - "a", }, + Id: "a", }, - Id: "a", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - BranchTrue: &ast.Binary{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1201), + Line: int(1256), Column: int(9), }, End: ast.Location{ - Line: int(1201), - Column: int(20), + Line: int(1256), + Column: int(12), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13558, FreeVars: ast.Identifiers{ "acc", - "b", - "j", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1201), - Column: int(9), - }, - End: ast.Location{ - Line: int(1201), - Column: int(12), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "acc", - }, }, - Id: "acc", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "b", - "j", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1201), - Column: int(15), - }, - End: ast.Location{ - Line: int(1201), - Column: int(16), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1201), - Column: int(17), - }, - End: ast.Location{ - Line: int(1201), - Column: int(18), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(12), }, End: ast.Location{ - Line: int(1212), - Column: int(44), + Line: int(1265), + Column: int(35), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "a", "acc", @@ -132818,18 +172301,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(15), }, End: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(33), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "b", "j", @@ -132839,40 +172323,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(15), }, End: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(16), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "j", }, }, Id: "j", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(20), }, End: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(33), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "b", "std", @@ -132881,18 +172368,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(20), }, End: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(30), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "std", }, @@ -132900,17 +172388,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(20), }, End: ast.Location{ - Line: int(1202), + Line: int(1257), Column: int(23), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -132918,6 +172407,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -132932,60 +172422,72 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1202), - Column: int(31), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1257), + Column: int(31), + }, + End: ast.Location{ + Line: int(1257), + Column: int(32), + }, + File: p1, }, - End: ast.Location{ - Line: int(1202), - Column: int(32), + Fodder: ast.Fodder{}, + Ctx: p13594, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p11863, - FreeVars: ast.Identifiers{ - "b", }, + Id: "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: "", + FileName: "", Begin: ast.Location{ - Line: int(1203), + Line: int(1258), Column: int(9), }, End: ast.Location{ - Line: int(1203), + Line: int(1258), Column: int(20), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "a", "acc", @@ -132996,39 +172498,49 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1203), + Line: int(1258), Column: int(9), }, End: ast.Location{ - Line: int(1203), + Line: int(1258), Column: int(12), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13558, 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(0), - Column: int(0), + Line: int(1258), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1258), + Column: int(20), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "a", @@ -133050,6 +172562,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -133069,6 +172582,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -133076,6 +172590,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -133090,145 +172605,797 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "slice", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1203), - Column: int(15), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1258), + Column: int(15), + }, + End: ast.Location{ + Line: int(1258), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(1203), - Column: int(16), + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, }, - Ctx: p11813, - 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(1258), + Column: int(17), + }, + End: ast.Location{ + Line: int(1258), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "i", + }, }, + Id: "i", }, - Id: "a", + CommaFodder: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1203), - Column: int(17), + 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, }, - End: ast.Location{ - Line: int(1203), - Column: int(18), + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + }, + 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: 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(6), + Comment: []string{}, + }, + }, + BranchFalse: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(9), + }, + End: ast.Location{ + Line: int(1265), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13558, + 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(1260), + Column: int(12), + }, + End: ast.Location{ + Line: int(1260), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(12), + }, + End: ast.Location{ + Line: int(1260), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "a", + "i", + "keyF", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(12), + }, + End: ast.Location{ + Line: int(1260), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + 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(1260), + Column: int(17), + }, + End: ast.Location{ + Line: int(1260), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13627, + FreeVars: ast.Identifiers{ + "a", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(17), + }, + End: ast.Location{ + Line: int(1260), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13627, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(19), + }, + End: ast.Location{ + Line: int(1260), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13627, + 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(1260), + Column: int(26), + }, + End: ast.Location{ + Line: int(1260), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(26), + }, + End: ast.Location{ + Line: int(1260), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + 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(1260), + Column: int(31), + }, + End: ast.Location{ + Line: int(1260), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13639, + FreeVars: ast.Identifiers{ + "b", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(31), + }, + End: ast.Location{ + Line: int(1260), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13639, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1260), + Column: int(33), + }, + End: ast.Location{ + Line: int(1260), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13639, + 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(1261), + Column: int(11), + }, + End: ast.Location{ + Line: int(1261), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1261), + Column: int(11), + }, + End: ast.Location{ + Line: int(1261), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13558, + 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(1261), + Column: int(15), + }, + End: ast.Location{ + Line: int(1261), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + 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(1261), + Column: int(18), + }, + End: ast.Location{ + Line: int(1261), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + 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(1261), + Column: int(21), + }, + End: ast.Location{ + Line: int(1261), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1261), + Column: int(21), + }, + End: ast.Location{ + Line: int(1261), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + 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(1261), + Column: int(25), + }, + End: ast.Location{ + Line: int(1261), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1261), + Column: int(28), + }, + End: ast.Location{ + Line: int(1261), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1261), + Column: int(28), + }, + End: ast.Location{ + Line: int(1261), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + FreeVars: ast.Identifiers{ + "j", + }, }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "i", + Id: "j", }, - }, - Id: "i", - }, - &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), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1261), + Column: int(32), + }, + End: ast.Location{ + Line: int(1261), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13652, + FreeVars: nil, }, - File: nil, + OriginalString: "1", }, - Ctx: nil, - FreeVars: nil, }, + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1261), + Column: int(35), + }, + End: ast.Location{ + Line: int(1261), + Column: int(38), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p13652, + FreeVars: ast.Identifiers{ + "acc", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "acc", }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, - TailStrict: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(9), + 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(1262), + Column: int(14), + }, + End: ast.Location{ + Line: int(1265), + Column: int(35), + }, + File: p1, }, - End: ast.Location{ - Line: int(1212), - Column: int(44), + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + "keyF", }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "ak", - Body: &ast.Apply{ + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1262), + Column: int(17), + }, + End: ast.Location{ + Line: int(1262), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + "j", + "keyF", + }, + }, + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1205), - Column: int(20), + Line: int(1262), + Column: int(17), }, End: ast.Location{ - Line: int(1205), - Column: int(30), + Line: int(1262), + Column: int(27), }, File: p1, }, - Ctx: p11887, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "a", "i", @@ -133238,187 +173405,174 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1205), - Column: int(20), + Line: int(1262), + Column: int(17), }, End: ast.Location{ - Line: int(1205), - Column: int(24), + Line: int(1262), + Column: int(21), }, File: p1, }, - Ctx: p11887, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "keyF", }, }, Id: "keyF", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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(29), - }, - File: p1, - }, - Ctx: p11893, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1205), - Column: int(25), + Line: int(1262), + Column: int(22), }, End: ast.Location{ - Line: int(1205), + Line: int(1262), Column: int(26), }, File: p1, }, - Ctx: p11893, + Fodder: ast.Fodder{}, + Ctx: p13679, FreeVars: ast.Identifiers{ "a", + "i", }, }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(27), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1262), + Column: int(22), + }, + End: ast.Location{ + Line: int(1262), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(1205), - Column: int(28), + Fodder: ast.Fodder{}, + Ctx: p13679, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, }, - Ctx: p11893, - FreeVars: ast.Identifiers{ - "i", + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1262), + Column: int(24), + }, + End: ast.Location{ + Line: int(1262), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13679, + FreeVars: ast.Identifiers{ + "i", + }, }, + Id: "i", }, - Id: "i", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: nil, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(9), - }, - End: ast.Location{ - Line: int(1212), - Column: int(44), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1262), + Column: int(30), + }, + End: ast.Location{ + Line: int(1262), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "b", + "j", + "keyF", + }, }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "a", - "acc", - "ak", - "aux", - "b", - "i", - "j", - "keyF", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "bk", - Body: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1206), - Column: int(20), + Line: int(1262), + Column: int(30), }, End: ast.Location{ - Line: int(1206), - Column: int(30), + Line: int(1262), + Column: int(34), }, File: p1, }, - Ctx: p11903, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ - "b", - "j", "keyF", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(20), - }, - End: ast.Location{ - Line: int(1206), - Column: int(24), - }, - File: p1, - }, - Ctx: p11903, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + Id: "keyF", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1206), - Column: int(25), + Line: int(1262), + Column: int(35), }, End: ast.Location{ - Line: int(1206), - Column: int(29), + Line: int(1262), + Column: int(39), }, File: p1, }, - Ctx: p11909, + Fodder: ast.Fodder{}, + Ctx: p13691, FreeVars: ast.Identifiers{ "b", "j", @@ -133427,250 +173581,187 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1206), - Column: int(25), + Line: int(1262), + Column: int(35), }, End: ast.Location{ - Line: int(1206), - Column: int(26), + Line: int(1262), + Column: int(36), }, File: p1, }, - Ctx: p11909, + Fodder: ast.Fodder{}, + Ctx: p13691, FreeVars: ast.Identifiers{ "b", }, }, Id: "b", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1206), - Column: int(27), + Line: int(1262), + Column: int(37), }, End: ast.Location{ - Line: int(1206), - Column: int(28), + Line: int(1262), + Column: int(38), }, File: p1, }, - Ctx: p11909, + Fodder: ast.Fodder{}, + Ctx: p13691, FreeVars: ast.Identifiers{ "j", }, }, Id: "j", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - Fun: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, - Body: &ast.Conditional{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1207), - Column: int(9), + Line: int(1263), + Column: int(11), }, End: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(44), }, File: p1, }, - Ctx: p11813, + Fodder: ast.Fodder{}, + Ctx: p13558, FreeVars: ast.Identifiers{ "a", "acc", - "ak", "aux", "b", - "bk", "i", "j", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1207), - Column: int(12), + Line: int(1263), + Column: int(11), }, End: ast.Location{ - Line: int(1207), - Column: int(20), + Line: int(1263), + Column: int(14), }, File: p1, }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "ak", - "bk", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(12), - }, - End: ast.Location{ - Line: int(1207), - Column: int(14), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "ak", - }, - }, - Id: "ak", - }, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(18), - }, - End: ast.Location{ - Line: int(1207), - Column: int(20), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "bk", - }, - }, - Id: "bk", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(11), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - End: ast.Location{ - Line: int(1208), - Column: int(48), - }, - File: p1, }, - Ctx: p11813, + Ctx: p13558, FreeVars: ast.Identifiers{ - "a", - "acc", "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(11), - }, - End: ast.Location{ - Line: int(1208), - Column: int(14), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "aux", - }, }, - Id: "aux", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Id: "aux", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(15), }, End: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(16), }, File: p1, }, - Ctx: p11929, + Fodder: ast.Fodder{}, + Ctx: p13704, FreeVars: ast.Identifiers{ "a", }, }, Id: "a", }, - &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(18), }, End: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(19), }, File: p1, }, - Ctx: p11929, + Fodder: ast.Fodder{}, + Ctx: p13704, FreeVars: ast.Identifiers{ "b", }, }, Id: "b", }, - &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(21), }, End: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(26), }, File: p1, }, - Ctx: p11929, + Fodder: ast.Fodder{}, + Ctx: p13704, FreeVars: ast.Identifiers{ "i", }, @@ -133678,957 +173769,471 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(21), }, End: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(22), }, File: p1, }, - Ctx: p11929, + Fodder: ast.Fodder{}, + Ctx: p13704, FreeVars: ast.Identifiers{ "i", }, }, Id: "i", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(25), }, End: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(26), }, File: p1, }, - Ctx: p11929, + Fodder: ast.Fodder{}, + Ctx: p13704, FreeVars: nil, }, - Value: float64(1), OriginalString: "1", }, }, - &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1208), + Line: int(1263), Column: int(28), }, End: ast.Location{ - Line: int(1208), - Column: int(33), + Line: int(1263), + Column: int(29), }, File: p1, }, - Ctx: p11929, + Fodder: ast.Fodder{}, + Ctx: p13704, FreeVars: ast.Identifiers{ "j", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(28), - }, - End: ast.Location{ - Line: int(1208), - Column: int(29), - }, - File: p1, - }, - Ctx: p11929, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(32), - }, - End: ast.Location{ - Line: int(1208), - Column: int(33), - }, - File: p1, - }, - Ctx: p11929, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, + Id: "j", }, - &ast.Binary{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1208), - Column: int(35), + Line: int(1263), + Column: int(31), }, End: ast.Location{ - Line: int(1208), - Column: int(47), + Line: int(1263), + Column: int(43), }, File: p1, }, - Ctx: p11929, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(35), - }, - End: ast.Location{ - Line: int(1208), - Column: int(38), - }, - File: p1, - }, - Ctx: p11929, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(41), - }, - End: ast.Location{ - Line: int(1208), - Column: int(47), - }, - File: p1, - }, - Ctx: p11929, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(42), - }, - End: ast.Location{ - Line: int(1208), - Column: int(46), - }, - File: p1, - }, - Ctx: p11951, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(42), - }, - End: ast.Location{ - Line: int(1208), - Column: int(43), - }, - File: p1, - }, - Ctx: p11951, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1208), - Column: int(44), - }, - End: ast.Location{ - Line: int(1208), - Column: int(45), - }, - File: p1, - }, - Ctx: p11951, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - }, - TrailingComma: false, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(14), - }, - End: ast.Location{ - Line: int(1212), - Column: int(44), - }, - File: p1, - }, - Ctx: p11813, - 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(1209), - Column: int(17), - }, - End: ast.Location{ - Line: int(1209), - Column: int(24), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "ak", - "bk", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(17), - }, - End: ast.Location{ - Line: int(1209), - Column: int(19), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "ak", - }, - }, - Id: "ak", - }, - Op: ast.BinaryOp(9), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1209), - Column: int(22), - }, - End: ast.Location{ - Line: int(1209), - Column: int(24), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "bk", - }, - }, - Id: "bk", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(11), - }, - End: ast.Location{ - Line: int(1210), - Column: int(44), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(11), - }, - End: ast.Location{ - Line: int(1210), - Column: int(14), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(15), - }, - End: ast.Location{ - Line: int(1210), - Column: int(16), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(18), - }, - End: ast.Location{ - Line: int(1210), - Column: int(19), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(21), - }, - End: ast.Location{ - Line: int(1210), - Column: int(26), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(21), - }, - End: ast.Location{ - Line: int(1210), - Column: int(22), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(25), - }, - End: ast.Location{ - Line: int(1210), - Column: int(26), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(28), - }, - End: ast.Location{ - Line: int(1210), - Column: int(29), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(31), - }, - End: ast.Location{ - Line: int(1210), - Column: int(43), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(31), - }, - End: ast.Location{ - Line: int(1210), - Column: int(34), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(37), - }, - End: ast.Location{ - Line: int(1210), - Column: int(43), - }, - File: p1, - }, - Ctx: p11971, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(38), - }, - End: ast.Location{ - Line: int(1210), - Column: int(42), - }, - File: p1, - }, - Ctx: p11990, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(38), - }, - End: ast.Location{ - Line: int(1210), - Column: int(39), - }, - File: p1, - }, - Ctx: p11990, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1210), - Column: int(40), - }, - End: ast.Location{ - Line: int(1210), - Column: int(41), - }, - File: p1, - }, - Ctx: p11990, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - }, - TrailingComma: false, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(11), - }, - End: ast.Location{ - Line: int(1212), - Column: int(44), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(11), - }, - End: ast.Location{ - Line: int(1212), - Column: int(14), - }, - File: p1, - }, - Ctx: p11813, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(15), - }, - End: ast.Location{ - Line: int(1212), - Column: int(16), - }, - File: p1, - }, - Ctx: p12002, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(18), - }, - End: ast.Location{ - Line: int(1212), - Column: int(19), - }, - File: p1, - }, - Ctx: p12002, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(21), - }, - End: ast.Location{ - Line: int(1212), - Column: int(22), - }, - File: p1, - }, - Ctx: p12002, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(24), - }, - End: ast.Location{ - Line: int(1212), - Column: int(29), - }, - File: p1, - }, - Ctx: p12002, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(24), - }, - End: ast.Location{ - Line: int(1212), - Column: int(25), - }, - File: p1, - }, - Ctx: p12002, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - 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, - }, - Ctx: p12002, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, + Fodder: ast.Fodder{}, + Ctx: p13704, + FreeVars: ast.Identifiers{ + "a", + "acc", + "i", + }, }, - &ast.Binary{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(31), }, End: ast.Location{ - Line: int(1212), - Column: int(43), + Line: int(1263), + Column: int(34), }, File: p1, }, - Ctx: p12002, + Fodder: ast.Fodder{}, + Ctx: p13704, FreeVars: ast.Identifiers{ "acc", - "b", - "j", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(31), - }, - End: ast.Location{ - Line: int(1212), - Column: int(34), - }, - File: p1, + Id: "acc", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1263), + Column: int(37), }, - Ctx: p12002, - FreeVars: ast.Identifiers{ - "acc", + End: ast.Location{ + Line: int(1263), + Column: int(43), }, + File: p1, }, - Id: "acc", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(37), - }, - End: ast.Location{ - Line: int(1212), - Column: int(43), - }, - File: p1, - }, - Ctx: p12002, - FreeVars: ast.Identifiers{ - "b", - "j", - }, + Fodder: ast.Fodder{}, + Ctx: p13704, + FreeVars: ast.Identifiers{ + "a", + "i", }, - Elements: ast.Nodes{ - &ast.Index{ + }, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(38), }, End: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(42), }, File: p1, }, - Ctx: p12021, + Fodder: ast.Fodder{}, + Ctx: p13723, FreeVars: ast.Identifiers{ - "b", - "j", + "a", + "i", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(38), }, End: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(39), }, File: p1, }, - Ctx: p12021, + Fodder: ast.Fodder{}, + Ctx: p13723, FreeVars: ast.Identifiers{ - "b", + "a", }, }, - Id: "b", + Id: "a", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(40), }, End: ast.Location{ - Line: int(1212), + Line: int(1263), Column: int(41), }, File: p1, }, - Ctx: p12021, + Fodder: ast.Fodder{}, + Ctx: p13723, FreeVars: ast.Identifiers{ - "j", + "i", }, }, - Id: "j", + Id: "i", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + CommaFodder: nil, }, - TrailingComma: false, }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, }, - Named: 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(8), + Comment: []string{}, + }, + }, + BranchFalse: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1265), + Column: int(11), + }, + End: ast.Location{ + Line: int(1265), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13558, + FreeVars: ast.Identifiers{ + "a", + "acc", + "aux", + "b", + "i", + "j", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1265), + Column: int(11), + }, + End: ast.Location{ + Line: int(1265), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13558, + 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(1265), + Column: int(15), + }, + End: ast.Location{ + Line: int(1265), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13737, + 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(1265), + Column: int(18), + }, + End: ast.Location{ + Line: int(1265), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13737, + 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(1265), + Column: int(21), + }, + End: ast.Location{ + Line: int(1265), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13737, + 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(1265), + Column: int(24), + }, + End: ast.Location{ + Line: int(1265), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13737, + FreeVars: ast.Identifiers{ + "j", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1265), + Column: int(24), + }, + End: ast.Location{ + Line: int(1265), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13737, + 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(1265), + Column: int(28), + }, + End: ast.Location{ + Line: int(1265), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13737, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1265), + Column: int(31), + }, + End: ast.Location{ + Line: int(1265), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13737, + FreeVars: ast.Identifiers{ + "acc", + }, + }, + Id: "acc", + }, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: true, }, + Named: nil, }, + TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, }, @@ -134636,23 +174241,37 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1213), + Line: int(1266), Column: int(5), }, End: ast.Location{ - Line: int(1213), + Line: int(1266), Column: int(24), }, File: p1, }, - Ctx: p11803, + Fodder: ast.Fodder{}, + Ctx: p13546, FreeVars: ast.Identifiers{ "a", "aux", @@ -134662,137 +174281,179 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1213), + Line: int(1266), Column: int(5), }, End: ast.Location{ - Line: int(1213), + Line: int(1266), Column: int(8), }, File: p1, }, - Ctx: p11803, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p13546, FreeVars: ast.Identifiers{ "aux", }, }, Id: "aux", }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(9), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(9), + }, + End: ast.Location{ + Line: int(1266), + Column: int(10), + }, + File: p1, }, - End: ast.Location{ - Line: int(1213), - Column: int(10), + Fodder: ast.Fodder{}, + Ctx: p13757, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p12033, - FreeVars: ast.Identifiers{ - "a", }, + Id: "a", }, - Id: "a", + CommaFodder: ast.Fodder{}, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(12), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(12), + }, + End: ast.Location{ + Line: int(1266), + Column: int(13), + }, + File: p1, }, - End: ast.Location{ - Line: int(1213), - Column: int(13), + Fodder: ast.Fodder{}, + Ctx: p13757, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p12033, - FreeVars: ast.Identifiers{ - "b", }, + Id: "b", }, - Id: "b", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(15), - }, - End: ast.Location{ - Line: int(1213), - Column: int(16), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(15), + }, + End: ast.Location{ + Line: int(1266), + Column: int(16), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p13757, + FreeVars: nil, }, - Ctx: p12033, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(18), - }, - End: ast.Location{ - Line: int(1213), - Column: int(19), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(18), + }, + End: ast.Location{ + Line: int(1266), + Column: int(19), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p13757, + FreeVars: nil, }, - Ctx: p12033, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: ast.Fodder{}, }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1213), - Column: int(21), - }, - End: ast.Location{ - Line: int(1213), - Column: int(23), + ast.CommaSeparatedExpr{ + Expr: &ast.Array{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1266), + Column: int(21), + }, + End: ast.Location{ + Line: int(1266), + Column: int(23), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p13757, + FreeVars: nil, }, - Ctx: p12033, - FreeVars: nil, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Elements: nil, - TrailingComma: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, - TailStrict: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1253), + Column: int(3), + }, + End: ast.Location{ + Line: int(1266), + Column: int(24), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -134810,12 +174471,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "setInter", + Value: "mergePatch", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -134831,1953 +174494,3961 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ - "id", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "target", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1268), + Column: int(14), + }, + End: ast.Location{ + Line: int(1268), + Column: int(20), + }, + File: p1, + }, }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1215), - Column: int(23), - }, - End: ast.Location{ - Line: int(1215), - Column: int(25), - }, - File: p1, - }, - Ctx: p12046, - FreeVars: ast.Identifiers{ - "id", - }, - }, - Id: "id", + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "patch", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1268), + Column: int(22), + }, + End: ast.Location{ + Line: int(1268), + Column: int(27), }, + File: p1, }, }, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1216), + Line: int(1269), Column: int(5), }, End: ast.Location{ - Line: int(1226), - Column: int(24), + Line: int(1290), + Column: int(12), }, File: p1, }, - Ctx: p12046, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p13770, FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", + "patch", "std", + "target", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(8), + }, + End: ast.Location{ + Line: int(1269), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "patch", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1269), + Column: int(8), + }, + End: ast.Location{ + Line: int(1269), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1216), - Column: int(11), + Line: int(1269), + Column: int(8), }, End: ast.Location{ - Line: int(1225), - Column: int(35), + Line: int(1269), + Column: int(11), }, File: p1, }, - Ctx: p12052, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", - "keyF", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - "i", - "j", - "acc", + 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: nil, + }, + 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(1269), + Column: int(21), + }, + End: ast.Location{ + Line: int(1269), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13781, + FreeVars: ast.Identifiers{ + "patch", + }, + }, + Id: "patch", }, - Optional: nil, + CommaFodder: nil, }, - TrailingComma: false, + }, + 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(1270), + Column: int(7), + }, + End: ast.Location{ + Line: int(1288), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "patch", + "std", + "target", + }, + }, + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "target_object", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1217), - Column: int(7), + Line: int(1271), + Column: int(9), }, End: ast.Location{ - Line: int(1225), - Column: int(35), + Line: int(1271), + Column: int(52), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13789, FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", "std", + "target", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1217), - Column: int(10), + Line: int(1271), + Column: int(12), }, End: ast.Location{ - Line: int(1217), - Column: int(50), + Line: int(1271), + Column: int(32), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: p13789, FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", "std", + "target", }, }, - Left: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1217), - Column: int(10), + Line: int(1271), + Column: int(12), }, End: ast.Location{ - Line: int(1217), - Column: int(28), + Line: int(1271), + Column: int(24), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: p13789, FreeVars: ast.Identifiers{ - "a", - "i", "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1217), - Column: int(10), + Line: int(1271), + Column: int(12), }, End: ast.Location{ - Line: int(1217), - Column: int(11), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), + Line: int(1271), Column: int(15), }, - End: ast.Location{ - Line: int(1217), - Column: int(28), - }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(15), - }, - End: ast.Location{ - Line: int(1217), - Column: int(25), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(15), - }, - End: ast.Location{ - Line: int(1217), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(26), - }, - End: ast.Location{ - Line: int(1217), - Column: int(27), - }, - File: p1, - }, - Ctx: p12073, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(32), - }, - End: ast.Location{ - Line: int(1217), - Column: int(50), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", - }, + Id: "std", }, - Left: &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1217), - Column: int(32), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1217), - Column: int(33), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "j", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "j", + Value: "isObject", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(37), - }, - End: ast.Location{ - Line: int(1217), - Column: int(50), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(37), - }, - End: ast.Location{ - Line: int(1217), - Column: int(47), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1217), - Column: int(37), + Line: int(1271), + Column: int(25), }, End: ast.Location{ - Line: int(1217), - Column: int(40), + Line: int(1271), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p13800, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(48), - }, - End: ast.Location{ - Line: int(1217), - Column: int(49), - }, - File: p1, - }, - Ctx: p12088, - FreeVars: ast.Identifiers{ - "b", - }, + "target", }, - Id: "b", }, + Id: "target", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1218), - Column: int(9), + Line: int(1271), + Column: int(38), }, End: ast.Location{ - Line: int(1218), - Column: int(12), + Line: int(1271), + Column: int(44), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: p13789, FreeVars: ast.Identifiers{ - "acc", + "target", }, }, - Id: "acc", + Id: "target", }, - BranchFalse: &ast.Conditional{ + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1220), + Line: int(1271), + Column: int(50), + }, + End: ast.Location{ + Line: int(1271), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13789, + FreeVars: nil, + }, + Asserts: ast.Nodes{}, + Fields: ast.DesugaredObjectFields{}, + Locals: ast.LocalBinds{}, + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1270), + Column: int(13), + }, + End: ast.Location{ + Line: int(1271), + Column: int(52), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(7), + }, + End: ast.Location{ + Line: int(1288), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "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(1274), Column: int(9), }, End: ast.Location{ - Line: int(1225), - Column: int(35), + Line: int(1274), + Column: int(84), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p13811, FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", + "std", + "target_object", }, }, - Cond: &ast.Binary{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1220), + Line: int(1274), Column: int(12), }, End: ast.Location{ - Line: int(1220), - Column: int(36), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(12), - }, - End: ast.Location{ - Line: int(1220), - Column: int(22), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(12), - }, - End: ast.Location{ - Line: int(1220), - Column: int(16), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(17), - }, - End: ast.Location{ - Line: int(1220), - Column: int(21), - }, - File: p1, - }, - Ctx: p12102, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(17), - }, - End: ast.Location{ - Line: int(1220), - Column: int(18), - }, - File: p1, - }, - Ctx: p12102, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(19), - }, - End: ast.Location{ - Line: int(1220), - Column: int(20), - }, - File: p1, - }, - Ctx: p12102, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, + Line: int(1274), + Column: int(39), }, - Named: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13811, + FreeVars: ast.Identifiers{ + "std", + "target_object", }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1220), - Column: int(26), + Line: int(1274), + Column: int(12), }, End: ast.Location{ - Line: int(1220), - Column: int(36), + Line: int(1274), + Column: int(24), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: p13811, FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1220), - Column: int(26), + Line: int(1274), + Column: int(12), }, End: ast.Location{ - Line: int(1220), - Column: int(30), + Line: int(1274), + Column: int(15), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "keyF", + "std", }, }, - Id: "keyF", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1220), - Column: int(31), + Line: int(1274), + Column: int(25), }, End: ast.Location{ - Line: int(1220), - Column: int(35), + Line: int(1274), + Column: int(38), }, File: p1, }, - Ctx: p12114, + Fodder: ast.Fodder{}, + Ctx: p13822, FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(31), - }, - End: ast.Location{ - Line: int(1220), - Column: int(32), - }, - File: p1, - }, - Ctx: p12114, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(33), - }, - End: ast.Location{ - Line: int(1220), - Column: int(34), - }, - File: p1, - }, - Ctx: p12114, - FreeVars: ast.Identifiers{ - "j", - }, + "target_object", }, - Id: "j", }, - Id: nil, + Id: "target_object", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1221), - Column: int(11), + Line: int(1274), + Column: int(45), }, End: ast.Location{ - Line: int(1221), - Column: int(48), + Line: int(1274), + Column: int(76), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: p13811, FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", + "std", + "target_object", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1221), - Column: int(11), + Line: int(1274), + Column: int(45), }, End: ast.Location{ - Line: int(1221), - Column: int(14), + Line: int(1274), + Column: int(61), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: p13811, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(15), - }, - End: ast.Location{ - Line: int(1221), - Column: int(16), - }, - File: p1, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1274), + Column: int(45), }, - Ctx: p12126, - FreeVars: ast.Identifiers{ - "a", + End: ast.Location{ + Line: int(1274), + Column: int(48), }, + File: p1, }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(18), - }, - End: ast.Location{ - Line: int(1221), - Column: int(19), - }, - File: p1, - }, - Ctx: p12126, - FreeVars: ast.Identifiers{ - "b", - }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - Id: "b", }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(21), - }, - End: ast.Location{ - Line: int(1221), - Column: int(26), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p12126, - FreeVars: ast.Identifiers{ - "i", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1221), - Column: int(21), + Line: int(1274), + Column: int(62), }, End: ast.Location{ - Line: int(1221), - Column: int(22), + Line: int(1274), + Column: int(75), }, File: p1, }, - Ctx: p12126, + Fodder: ast.Fodder{}, + Ctx: p13833, FreeVars: ast.Identifiers{ - "i", + "target_object", }, }, - Id: "i", + Id: "target_object", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(25), - }, - End: ast.Location{ - Line: int(1221), - Column: int(26), - }, - File: p1, - }, - Ctx: p12126, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + 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(1274), + Column: int(82), + }, + End: ast.Location{ + Line: int(1274), + Column: int(84), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13811, + FreeVars: nil, + }, + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, + }, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1273), + Column: int(13), + }, + End: ast.Location{ + Line: int(1274), + Column: int(84), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(7), + }, + End: ast.Location{ + Line: int(1288), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "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(1276), + Column: int(27), + }, + End: ast.Location{ + Line: int(1276), + Column: int(83), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "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, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(28), - }, - End: ast.Location{ - Line: int(1221), - Column: int(33), - }, - File: p1, - }, - Ctx: p12126, - FreeVars: ast.Identifiers{ - "j", + 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), }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(28), - }, - End: ast.Location{ - Line: int(1221), - Column: int(29), - }, - File: p1, - }, - Ctx: p12126, - FreeVars: ast.Identifiers{ - "j", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "j", + File: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(32), - }, - End: ast.Location{ - Line: int(1221), - Column: int(33), - }, - File: p1, - }, - Ctx: p12126, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(35), - }, - End: ast.Location{ - Line: int(1221), - Column: int(47), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p12126, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1221), - Column: int(35), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1221), - Column: int(38), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12126, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "acc", + "patch", }, }, - Id: "acc", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(41), - }, - End: ast.Location{ - Line: int(1221), - Column: int(47), + 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, }, - File: p1, - }, - Ctx: p12126, - FreeVars: ast.Identifiers{ - "a", - "i", }, }, - Elements: ast.Nodes{ - &ast.Index{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1221), - Column: int(42), + Line: int(1276), + Column: int(66), }, End: ast.Location{ - Line: int(1221), - Column: int(46), + Line: int(1276), + Column: int(82), }, File: p1, }, - Ctx: p12148, + Fodder: ast.Fodder{}, + Ctx: p13854, FreeVars: ast.Identifiers{ - "a", - "i", + "k", + "patch", }, }, - Target: &ast.Var{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1221), - Column: int(42), + Line: int(1276), + Column: int(66), }, End: ast.Location{ - Line: int(1221), - Column: int(43), + Line: int(1276), + Column: int(74), }, File: p1, }, - Ctx: p12148, + Fodder: ast.Fodder{}, + Ctx: p13854, FreeVars: ast.Identifiers{ - "a", + "k", + "patch", }, }, - Id: "a", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(66), + }, + End: ast.Location{ + Line: int(1276), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13854, + FreeVars: ast.Identifiers{ + "patch", + }, + }, + Id: "patch", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(72), + }, + End: ast.Location{ + Line: int(1276), + Column: int(73), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13854, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Id: "k", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1221), - Column: int(44), + Line: int(1276), + Column: int(78), }, End: ast.Location{ - Line: int(1221), - Column: int(45), + Line: int(1276), + Column: int(82), }, File: p1, }, - Ctx: p12148, - FreeVars: ast.Identifiers{ - "i", + Fodder: ast.Fodder{}, + Ctx: p13854, + FreeVars: 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{ + "k", }, - Id: "i", }, - Id: nil, + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(28), + }, + End: ast.Location{ + Line: int(1276), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13867, + 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: nil, + }, + Elements: nil, + TrailingComma: false, + CloseFodder: nil, }, }, - TrailingComma: false, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1222), - Column: int(14), - }, - End: ast.Location{ - Line: int(1225), - Column: int(35), - }, - File: p1, - }, - Ctx: p12056, - 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(1222), - Column: int(17), - }, - End: ast.Location{ - Line: int(1222), - Column: int(40), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1222), - Column: int(17), - }, - End: ast.Location{ - Line: int(1222), - Column: int(27), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", }, + CommaFodder: nil, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1222), - Column: int(17), + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(39), + }, + End: ast.Location{ + Line: int(1276), + Column: int(62), + }, + File: p1, }, - End: ast.Location{ - Line: int(1222), - Column: int(21), + Fodder: ast.Fodder{}, + Ctx: p13854, + FreeVars: ast.Identifiers{ + "patch", + "std", }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "keyF", }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1222), - Column: int(22), + Line: int(1276), + Column: int(39), }, End: ast.Location{ - Line: int(1222), - Column: int(26), + Line: int(1276), + Column: int(55), }, File: p1, }, - Ctx: p12164, + Fodder: ast.Fodder{}, + Ctx: p13854, FreeVars: ast.Identifiers{ - "a", - "i", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1222), - Column: int(22), + Line: int(1276), + Column: int(39), }, End: ast.Location{ - Line: int(1222), - Column: int(23), + Line: int(1276), + Column: int(42), }, File: p1, }, - Ctx: p12164, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", + "std", }, }, - Id: "a", + Id: "std", }, - Index: &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1222), - Column: int(24), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1222), - Column: int(25), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p12164, - FreeVars: ast.Identifiers{ - "i", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "i", + 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(1276), + Column: int(56), + }, + End: ast.Location{ + Line: int(1276), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13879, + FreeVars: ast.Identifiers{ + "patch", + }, + }, + Id: "patch", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1276), + Column: int(13), + }, + End: ast.Location{ + Line: int(1276), + Column: int(83), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1277), + Column: int(7), + }, + End: ast.Location{ + Line: int(1288), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "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(1277), + Column: int(27), + }, + End: ast.Location{ + Line: int(1277), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13886, + FreeVars: ast.Identifiers{ + "patch", + "std", + "target_fields", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1222), - Column: int(30), + Line: int(1277), + Column: int(27), }, End: ast.Location{ - Line: int(1222), - Column: int(40), + Line: int(1277), + Column: int(39), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: p13886, FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1222), - Column: int(30), + Line: int(1277), + Column: int(27), }, End: ast.Location{ - Line: int(1222), - Column: int(34), + Line: int(1277), + Column: int(30), }, File: p1, }, - Ctx: p12056, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "keyF", + "std", }, }, - Id: "keyF", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "setUnion", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1222), - Column: int(35), + Line: int(1277), + Column: int(40), }, End: ast.Location{ - Line: int(1222), - Column: int(39), + Line: int(1277), + Column: int(53), }, File: p1, }, - Ctx: p12176, + Fodder: ast.Fodder{}, + Ctx: p13895, FreeVars: ast.Identifiers{ - "b", - "j", + "target_fields", }, }, - Target: &ast.Var{ + Id: "target_fields", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1277), + Column: int(55), + }, + End: ast.Location{ + Line: int(1277), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13895, + FreeVars: ast.Identifiers{ + "patch", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1222), - Column: int(35), + Line: int(1277), + Column: int(55), }, End: ast.Location{ - Line: int(1222), - Column: int(36), + Line: int(1277), + Column: int(71), }, File: p1, }, - Ctx: p12176, + Fodder: ast.Fodder{}, + Ctx: p13895, FreeVars: ast.Identifiers{ - "b", + "std", }, }, - Id: "b", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1222), - Column: int(37), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1277), + Column: int(55), + }, + End: ast.Location{ + Line: int(1277), + Column: int(58), + }, + File: p1, }, - End: ast.Location{ - Line: int(1222), - Column: int(38), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p12176, - FreeVars: ast.Identifiers{ - "j", + 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: nil, }, + Value: "objectFields", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "j", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - 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(1277), + Column: int(72), + }, + End: ast.Location{ + Line: int(1277), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13906, + 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, + 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(1277), + Column: int(13), + }, + End: ast.Location{ + Line: int(1277), + Column: int(79), + }, + File: p1, + }, + }, + }, + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1279), + Column: int(7), + }, + End: ast.Location{ + Line: int(1288), + Column: int(8), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "both_fields", + "null_fields", + "patch", + "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, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, }, - BranchTrue: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1223), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1223), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12056, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", + "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(11), - }, - End: ast.Location{ - Line: int(1223), - Column: int(14), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "aux", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "aux", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(15), - }, - End: ast.Location{ - Line: int(1223), - Column: int(16), - }, - File: p1, + 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(1279), + Column: int(7), }, - Ctx: p12188, - FreeVars: ast.Identifiers{ - "a", + End: ast.Location{ + Line: int(1288), + Column: int(8), }, + File: p1, }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(18), - }, - End: ast.Location{ - Line: int(1223), - Column: int(19), - }, - File: p1, - }, - Ctx: p12188, - FreeVars: ast.Identifiers{ - "b", - }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "both_fields", + "null_fields", + "patch", + "std", + "target_object", }, - Id: "b", }, - &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1223), - Column: int(21), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1223), - Column: int(26), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12188, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", + "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1223), - Column: int(21), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1223), - Column: int(22), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12188, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "i", + "std", }, }, - Id: "i", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1223), - Column: int(25), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1223), - Column: int(26), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12188, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(28), - }, - End: ast.Location{ - Line: int(1223), - Column: int(29), - }, - File: p1, - }, - Ctx: p12188, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(31), - }, - End: ast.Location{ - Line: int(1223), - Column: int(34), - }, - File: p1, - }, - Ctx: p12188, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(11), - }, - End: ast.Location{ - Line: int(1225), - Column: int(35), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(11), - }, - End: ast.Location{ - Line: int(1225), - Column: int(14), - }, - File: p1, - }, - Ctx: p12056, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(15), - }, - End: ast.Location{ - Line: int(1225), - Column: int(16), - }, - File: p1, - }, - Ctx: p12207, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(18), - }, - End: ast.Location{ - Line: int(1225), - Column: int(19), - }, - File: p1, - }, - Ctx: p12207, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(21), - }, - End: ast.Location{ - Line: int(1225), - Column: int(22), - }, - File: p1, - }, - Ctx: p12207, - FreeVars: ast.Identifiers{ - "i", - }, + Value: "flatMap", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "i", + RightBracketFodder: nil, + Id: nil, }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(24), - }, - End: ast.Location{ - Line: int(1225), - Column: int(29), - }, - File: p1, - }, - Ctx: p12207, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(24), + 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", + }, }, - End: ast.Location{ - Line: int(1225), - Column: int(25), + 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(1279), + Column: int(7), + }, + End: ast.Location{ + Line: int(1288), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(1), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13770, + 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(1280), + Column: int(10), + }, + End: ast.Location{ + Line: int(1280), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Id: "k", + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1281), + Column: int(11), + }, + End: ast.Location{ + Line: int(1286), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1281), + Column: int(14), + }, + End: ast.Location{ + Line: int(1281), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + 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(1281), + Column: int(15), + }, + End: ast.Location{ + Line: int(1281), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1281), + Column: int(15), + }, + End: ast.Location{ + Line: int(1281), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1281), + Column: int(15), + }, + End: ast.Location{ + Line: int(1281), + 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: nil, + }, + 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(1281), + Column: int(29), + }, + End: ast.Location{ + Line: int(1281), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13951, + 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(1281), + Column: int(36), + }, + End: ast.Location{ + Line: int(1281), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13951, + 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(1282), + Column: int(13), + }, + End: ast.Location{ + Line: int(1282), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "k", + "target_object", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1282), + Column: int(13), + }, + End: ast.Location{ + Line: int(1282), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p13938, + 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(1282), + Column: int(27), + }, + End: ast.Location{ + Line: int(1282), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + 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(1283), + Column: int(16), + }, + End: ast.Location{ + Line: int(1286), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1283), + Column: int(19), + }, + End: ast.Location{ + Line: int(1283), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + 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(1283), + Column: int(20), + }, + End: ast.Location{ + Line: int(1283), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "k", + "std", + "target_object", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1283), + Column: int(20), + }, + End: ast.Location{ + Line: int(1283), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1283), + Column: int(20), + }, + End: ast.Location{ + Line: int(1283), + 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: nil, + }, + 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(1283), + Column: int(34), + }, + End: ast.Location{ + Line: int(1283), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13976, + 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(1283), + Column: int(49), + }, + End: ast.Location{ + Line: int(1283), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13976, + 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(1284), + Column: int(13), + }, + End: ast.Location{ + Line: int(1284), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1284), + Column: int(13), + }, + End: ast.Location{ + Line: int(1284), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1284), + Column: int(13), + }, + End: ast.Location{ + Line: int(1284), + 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: nil, + }, + 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(1284), + Column: int(28), + }, + End: ast.Location{ + Line: int(1284), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13990, + FreeVars: nil, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1284), + Column: int(34), + }, + End: ast.Location{ + Line: int(1284), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13990, + FreeVars: ast.Identifiers{ + "k", + "patch", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1284), + Column: int(34), + }, + End: ast.Location{ + Line: int(1284), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13990, + FreeVars: ast.Identifiers{ + "patch", + }, + }, + Id: "patch", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1284), + Column: int(40), + }, + End: ast.Location{ + Line: int(1284), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13990, + 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(1286), + Column: int(13), + }, + End: ast.Location{ + Line: int(1286), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "k", + "patch", + "std", + "target_object", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(13), + }, + End: ast.Location{ + Line: int(1286), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13938, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(13), + }, + End: ast.Location{ + Line: int(1286), + 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: nil, + }, + 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(1286), + Column: int(28), + }, + End: ast.Location{ + Line: int(1286), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14008, + FreeVars: ast.Identifiers{ + "k", + "target_object", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(28), + }, + End: ast.Location{ + Line: int(1286), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14008, + 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(1286), + Column: int(42), + }, + End: ast.Location{ + Line: int(1286), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14008, + 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(1286), + Column: int(46), + }, + End: ast.Location{ + Line: int(1286), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14008, + FreeVars: ast.Identifiers{ + "k", + "patch", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(46), + }, + End: ast.Location{ + Line: int(1286), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14008, + FreeVars: ast.Identifiers{ + "patch", + }, + }, + Id: "patch", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1286), + Column: int(52), + }, + End: ast.Location{ + Line: int(1286), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14008, + 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(1280), + Column: int(9), + }, + End: ast.Location{ + Line: int(1286), + Column: int(55), + }, + File: p1, + }, + }, + }, + Locals: ast.LocalBinds{}, + }, + CommaFodder: nil, + }, + }, + TrailingComma: false, + CloseFodder: nil, }, - File: p1, - }, - Ctx: p12207, - FreeVars: ast.Identifiers{ - "j", }, + CommaFodder: nil, }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(28), + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(18), + }, + End: ast.Location{ + Line: int(1287), + Column: int(55), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "both_fields", + "null_fields", + "std", + }, }, - End: ast.Location{ - Line: int(1225), - Column: int(29), + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(18), + }, + End: ast.Location{ + Line: int(1287), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(18), + }, + End: ast.Location{ + Line: int(1287), + 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: nil, + }, + Value: "setDiff", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - File: p1, - }, - Ctx: p12207, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(31), - }, - End: ast.Location{ - Line: int(1225), - Column: int(34), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1287), + Column: int(30), + }, + End: ast.Location{ + Line: int(1287), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14029, + 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(1287), + Column: int(43), + }, + End: ast.Location{ + Line: int(1287), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14029, + FreeVars: ast.Identifiers{ + "null_fields", + }, + }, + Id: "null_fields", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - File: p1, - }, - Ctx: p12207, - FreeVars: ast.Identifiers{ - "acc", + CommaFodder: nil, }, }, - Id: "acc", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: true, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, }, }, - Fun: nil, }, }, - Body: &ast.Apply{ + 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(1290), + Column: int(7), + }, + End: ast.Location{ + Line: int(1290), + Column: int(12), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p13770, + FreeVars: ast.Identifiers{ + "patch", + }, + }, + Id: "patch", + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1268), + Column: int(3), + }, + End: ast.Location{ + Line: int(1290), + 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: nil, + }, + 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: p11, + 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(1292), + Column: int(16), + }, + End: ast.Location{ + Line: int(1292), + 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(1293), + Column: int(5), + }, + End: ast.Location{ + Line: int(1293), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14042, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1226), + Line: int(1293), Column: int(5), }, End: ast.Location{ - Line: int(1226), - Column: int(24), + Line: int(1293), + Column: int(23), }, File: p1, }, - Ctx: p12046, + Fodder: ast.Fodder{}, + Ctx: p14042, FreeVars: ast.Identifiers{ - "a", - "aux", - "b", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1226), + Line: int(1293), Column: int(5), }, End: ast.Location{ - Line: int(1226), + Line: int(1293), Column: int(8), }, File: p1, }, - Ctx: p12046, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Id: "aux", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1226), - Column: int(9), + Line: int(1293), + Column: int(24), }, End: ast.Location{ - Line: int(1226), - Column: int(10), + Line: int(1293), + Column: int(25), }, File: p1, }, - Ctx: p12226, + Fodder: ast.Fodder{}, + Ctx: p14052, FreeVars: ast.Identifiers{ - "a", + "o", }, }, - Id: "a", + Id: "o", }, - &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1226), - Column: int(12), + Line: int(1293), + Column: int(27), }, End: ast.Location{ - Line: int(1226), - Column: int(13), + Line: int(1293), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14052, + FreeVars: nil, + }, + 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(1292), + Column: int(3), + }, + End: ast.Location{ + Line: int(1293), + 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: nil, + }, + 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: p11, + 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(1295), + Column: int(19), + }, + End: ast.Location{ + Line: int(1295), + 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(1296), + Column: int(5), + }, + End: ast.Location{ + Line: int(1296), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14060, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1296), + Column: int(5), + }, + End: ast.Location{ + Line: int(1296), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14060, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1296), + Column: int(5), + }, + End: ast.Location{ + Line: int(1296), + 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: nil, + }, + 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(1296), + Column: int(24), + }, + End: ast.Location{ + Line: int(1296), + Column: int(25), }, File: p1, }, - Ctx: p12226, + Fodder: ast.Fodder{}, + Ctx: p14070, FreeVars: ast.Identifiers{ - "b", + "o", }, }, - Id: "b", + Id: "o", }, - &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1226), - Column: int(15), + Line: int(1296), + Column: int(27), }, End: ast.Location{ - Line: int(1226), - Column: int(16), + Line: int(1296), + Column: int(31), }, File: p1, }, - Ctx: p12226, + Fodder: ast.Fodder{}, + Ctx: p14070, FreeVars: nil, }, - Value: float64(0), - OriginalString: "0", + 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(1295), + Column: int(3), + }, + End: ast.Location{ + Line: int(1296), + 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: nil, + }, + 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: p11, + 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(1298), + Column: int(13), + }, + End: ast.Location{ + Line: int(1298), + Column: int(14), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "f", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(16), + }, + End: ast.Location{ + Line: int(1298), + 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(1299), + Column: int(5), + }, + End: ast.Location{ + Line: int(1299), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14078, + FreeVars: ast.Identifiers{ + "f", + "o", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(5), + }, + End: ast.Location{ + Line: int(1299), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14078, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(5), + }, + End: ast.Location{ + Line: int(1299), + 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, }, - &ast.LiteralNumber{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1226), - Column: int(18), + Line: int(1299), + Column: int(21), }, End: ast.Location{ - Line: int(1226), - Column: int(19), + Line: int(1299), + Column: int(22), }, File: p1, }, - Ctx: p12226, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p14088, + FreeVars: ast.Identifiers{ + "o", + }, }, - Value: float64(0), - OriginalString: "0", + Id: "o", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1299), + Column: int(24), + }, + End: ast.Location{ + Line: int(1299), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14088, + FreeVars: ast.Identifiers{ + "f", + }, + }, + Id: "f", }, - &ast.Array{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1226), - Column: int(21), + Line: int(1299), + Column: int(27), }, End: ast.Location{ - Line: int(1226), - Column: int(23), + Line: int(1299), + Column: int(32), }, File: p1, }, - Ctx: p12226, + Fodder: ast.Fodder{}, + Ctx: p14088, FreeVars: nil, }, - Elements: nil, - TrailingComma: false, + Value: false, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: true, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1298), + Column: int(3), + }, + End: ast.Location{ + Line: int(1299), + Column: int(33), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -136795,12 +178466,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "setDiff", + Value: "objectHasAll", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -136816,2170 +178489,1171 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ - "id", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", + 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(1301), + Column: int(16), + }, + End: ast.Location{ + Line: int(1301), + Column: int(17), + }, + File: p1, + }, }, - Optional: []ast.NamedParameter{ - ast.NamedParameter{ - Name: "keyF", - DefaultArg: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(22), + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "f", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1301), + Column: int(19), + }, + End: ast.Location{ + Line: int(1301), + 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(1302), + Column: int(5), + }, + End: ast.Location{ + Line: int(1302), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14098, + FreeVars: ast.Identifiers{ + "f", + "o", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(5), + }, + End: ast.Location{ + Line: int(1302), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14098, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(5), + }, + End: ast.Location{ + Line: int(1302), + 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: nil, + }, + 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(1302), + Column: int(21), + }, + End: ast.Location{ + Line: int(1302), + Column: int(22), + }, + File: p1, }, - End: ast.Location{ - Line: int(1228), - Column: int(24), + Fodder: ast.Fodder{}, + Ctx: p14108, + FreeVars: ast.Identifiers{ + "o", }, - File: p1, }, - Ctx: p12239, - FreeVars: ast.Identifiers{ - "id", + Id: "o", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1302), + Column: int(24), + }, + End: ast.Location{ + Line: int(1302), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14108, + 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(1302), + Column: int(27), + }, + End: ast.Location{ + Line: int(1302), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14108, + FreeVars: nil, }, + Value: true, }, - Id: "id", + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1301), + Column: int(3), + }, + End: ast.Location{ + Line: int(1302), + 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: nil, + }, + Value: "objectValues", + 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: p11, + 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(1304), + Column: int(16), }, + End: ast.Location{ + Line: int(1304), + Column: int(17), + }, + File: p1, }, }, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1229), + Line: int(1305), Column: int(5), }, End: ast.Location{ - Line: int(1241), - Column: int(24), + Line: int(1305), + Column: int(40), }, File: p1, }, - Ctx: p12239, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", + "o", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(11), - }, - End: ast.Location{ - Line: int(1240), - Column: int(35), - }, - File: p1, + 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), }, - Ctx: p12245, - FreeVars: ast.Identifiers{ - "aux", - "keyF", - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - "i", - "j", - "acc", + 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), }, - Optional: nil, + File: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1230), - Column: int(7), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1240), - Column: int(35), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12249, + Fodder: nil, + Ctx: nil, 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(1230), - Column: int(10), - }, - End: ast.Location{ - Line: int(1230), - Column: int(28), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1230), - Column: int(10), - }, - End: ast.Location{ - Line: int(1230), - Column: int(11), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1230), - Column: int(15), - }, - End: ast.Location{ - Line: int(1230), - Column: int(28), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1230), - Column: int(15), - }, - End: ast.Location{ - Line: int(1230), - Column: int(25), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1230), - Column: int(15), - }, - End: ast.Location{ - Line: int(1230), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1230), - Column: int(26), - }, - End: ast.Location{ - Line: int(1230), - Column: int(27), - }, - File: p1, - }, - Ctx: p12264, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1231), - Column: int(9), - }, - End: ast.Location{ - Line: int(1231), - Column: int(12), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "acc", - }, + "o", }, - Id: "acc", }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: nil, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "k", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1232), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1240), - Column: int(35), - }, - File: p1, - }, - Ctx: p12249, - 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(1232), - Column: int(15), - }, - End: ast.Location{ - Line: int(1232), - Column: int(33), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1232), - Column: int(15), - }, - End: ast.Location{ - Line: int(1232), - Column: int(16), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(8), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1232), - Column: int(20), - }, - End: ast.Location{ - Line: int(1232), - Column: int(33), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1232), - Column: int(20), - }, - End: ast.Location{ - Line: int(1232), - Column: int(30), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1232), - Column: int(20), - }, - End: ast.Location{ - Line: int(1232), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1232), - Column: int(31), - }, - End: ast.Location{ - Line: int(1232), - Column: int(32), - }, - File: p1, - }, - Ctx: p12283, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1233), - Column: int(9), - }, - End: ast.Location{ - Line: int(1233), - Column: int(20), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - "std", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1233), - Column: int(9), - }, - End: ast.Location{ - Line: int(1233), - Column: int(12), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "a", - "i", - "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, - }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "slice", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1233), - Column: int(15), - }, - End: ast.Location{ - Line: int(1233), - Column: int(16), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1233), - Column: int(17), - }, - End: ast.Location{ - Line: int(1233), - Column: int(18), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - &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, - }, - Ctx: nil, - FreeVars: nil, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(9), - }, - End: ast.Location{ - Line: int(1240), - Column: int(35), - }, - File: p1, - }, - Ctx: p12249, - 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(1235), - Column: int(12), - }, - End: ast.Location{ - Line: int(1235), - Column: int(36), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(12), - }, - End: ast.Location{ - Line: int(1235), - Column: int(22), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(12), - }, - End: ast.Location{ - Line: int(1235), - Column: int(16), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(17), - }, - End: ast.Location{ - Line: int(1235), - Column: int(21), - }, - File: p1, - }, - Ctx: p12313, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &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(18), - }, - File: p1, - }, - Ctx: p12313, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(19), - }, - End: ast.Location{ - Line: int(1235), - Column: int(20), - }, - File: p1, - }, - Ctx: p12313, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(26), - }, - End: ast.Location{ - Line: int(1235), - Column: int(36), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(26), - }, - End: ast.Location{ - Line: int(1235), - Column: int(30), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(31), - }, - End: ast.Location{ - Line: int(1235), - Column: int(35), - }, - File: p1, - }, - Ctx: p12325, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1235), - Column: int(31), - }, - End: ast.Location{ - Line: int(1235), - Column: int(32), - }, - File: p1, - }, - Ctx: p12325, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - Index: &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(34), - }, - File: p1, - }, - Ctx: p12325, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(11), - }, - End: ast.Location{ - Line: int(1236), - Column: int(39), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(11), - }, - End: ast.Location{ - Line: int(1236), - Column: int(14), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(15), - }, - End: ast.Location{ - Line: int(1236), - Column: int(16), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(18), - }, - End: ast.Location{ - Line: int(1236), - Column: int(19), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(21), - }, - End: ast.Location{ - Line: int(1236), - Column: int(26), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(21), - }, - End: ast.Location{ - Line: int(1236), - Column: int(22), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(25), - }, - End: ast.Location{ - Line: int(1236), - Column: int(26), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(28), - }, - End: ast.Location{ - Line: int(1236), - Column: int(33), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(28), - }, - End: ast.Location{ - Line: int(1236), - Column: int(29), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(32), - }, - End: ast.Location{ - Line: int(1236), - Column: int(33), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(35), - }, - End: ast.Location{ - Line: int(1236), - Column: int(38), - }, - File: p1, - }, - Ctx: p12337, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - }, - Named: nil, + Line: int(0), + Column: int(0), }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(14), - }, - End: ast.Location{ - Line: int(1240), - Column: int(35), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, + 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), }, - Cond: &ast.Binary{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1237), - Column: int(17), + Line: int(1305), + Column: int(6), }, End: ast.Location{ - Line: int(1237), - Column: int(40), + Line: int(1305), + Column: int(10), }, File: p1, }, - Ctx: p12249, + Fodder: ast.Fodder{}, + Ctx: p14132, FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", + "k", + "o", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1237), - Column: int(17), + Line: int(1305), + Column: int(6), }, End: ast.Location{ - Line: int(1237), - Column: int(27), + Line: int(1305), + Column: int(7), }, File: p1, }, - Ctx: p12249, + Fodder: ast.Fodder{}, + Ctx: p14132, FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(17), - }, - End: ast.Location{ - Line: int(1237), - Column: int(21), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(22), - }, - End: ast.Location{ - Line: int(1237), - Column: int(26), - }, - File: p1, - }, - Ctx: p12363, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(22), - }, - End: ast.Location{ - Line: int(1237), - Column: int(23), - }, - File: p1, - }, - Ctx: p12363, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(24), - }, - End: ast.Location{ - Line: int(1237), - Column: int(25), - }, - File: p1, - }, - Ctx: p12363, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, + "o", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "o", }, - Op: ast.BinaryOp(9), - Right: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1237), - Column: int(30), + Line: int(1305), + Column: int(8), }, End: ast.Location{ - Line: int(1237), - Column: int(40), + Line: int(1305), + Column: int(9), }, File: p1, }, - Ctx: p12249, + Fodder: ast.Fodder{}, + Ctx: p14132, FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(30), - }, - End: ast.Location{ - Line: int(1237), - Column: int(34), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "keyF", - }, - }, - Id: "keyF", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(35), - }, - End: ast.Location{ - Line: int(1237), - Column: int(39), - }, - File: p1, - }, - Ctx: p12375, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(35), - }, - End: ast.Location{ - Line: int(1237), - Column: int(36), - }, - File: p1, - }, - Ctx: p12375, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(37), - }, - End: ast.Location{ - Line: int(1237), - Column: int(38), - }, - File: p1, - }, - Ctx: p12375, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Id: nil, - }, + "k", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "k", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(11), - }, - End: ast.Location{ - Line: int(1238), - Column: int(44), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, + 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(1305), + Column: int(20), + }, + End: ast.Location{ + Line: int(1305), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14139, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1305), + Column: int(20), + }, + End: ast.Location{ + Line: int(1305), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14139, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1305), + Column: int(20), }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(11), - }, - End: ast.Location{ - Line: int(1238), - Column: int(14), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", + End: ast.Location{ + Line: int(1305), + Column: int(23), }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(15), - }, - End: ast.Location{ - Line: int(1238), - Column: int(16), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(18), - }, - End: ast.Location{ - Line: int(1238), - Column: int(19), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(21), - }, - End: ast.Location{ - Line: int(1238), - Column: int(26), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(21), - }, - End: ast.Location{ - Line: int(1238), - Column: int(22), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(25), - }, - End: ast.Location{ - Line: int(1238), - Column: int(26), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(28), - }, - End: ast.Location{ - Line: int(1238), - Column: int(29), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(31), - }, - End: ast.Location{ - Line: int(1238), - Column: int(43), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(31), - }, - End: ast.Location{ - Line: int(1238), - Column: int(34), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(37), - }, - End: ast.Location{ - Line: int(1238), - Column: int(43), - }, - File: p1, - }, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Elements: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(38), - }, - End: ast.Location{ - Line: int(1238), - Column: int(42), - }, - File: p1, - }, - Ctx: p12406, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(38), - }, - End: ast.Location{ - Line: int(1238), - Column: int(39), - }, - File: p1, - }, - Ctx: p12406, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(40), - }, - End: ast.Location{ - Line: int(1238), - Column: int(41), - }, - File: p1, - }, - Ctx: p12406, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - }, - TrailingComma: false, - }, - }, - }, - Named: nil, + File: 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), }, - TrailingComma: false, - TailStrict: true, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, }, - BranchFalse: &ast.Apply{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1240), - Column: int(11), + Line: int(1305), + Column: int(37), }, End: ast.Location{ - Line: int(1240), - Column: int(35), + Line: int(1305), + Column: int(38), }, File: p1, }, - Ctx: p12249, + Fodder: ast.Fodder{}, + Ctx: p14148, FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(11), - }, - End: ast.Location{ - Line: int(1240), - Column: int(14), - }, - File: p1, - }, - Ctx: p12249, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(15), - }, - End: ast.Location{ - Line: int(1240), - Column: int(16), - }, - File: p1, - }, - Ctx: p12418, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(18), - }, - End: ast.Location{ - Line: int(1240), - Column: int(19), - }, - File: p1, - }, - Ctx: p12418, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(21), - }, - End: ast.Location{ - Line: int(1240), - Column: int(22), - }, - File: p1, - }, - Ctx: p12418, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(24), - }, - End: ast.Location{ - Line: int(1240), - Column: int(29), - }, - File: p1, - }, - Ctx: p12418, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(24), - }, - End: ast.Location{ - Line: int(1240), - Column: int(25), - }, - File: p1, - }, - Ctx: p12418, - FreeVars: ast.Identifiers{ - "j", - }, - }, - Id: "j", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(28), - }, - End: ast.Location{ - Line: int(1240), - Column: int(29), - }, - File: p1, - }, - Ctx: p12418, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(31), - }, - End: ast.Location{ - Line: int(1240), - Column: int(34), - }, - File: p1, - }, - Ctx: p12418, - FreeVars: ast.Identifiers{ - "acc", - }, - }, - Id: "acc", - }, + "o", }, - Named: nil, }, - TrailingComma: false, - TailStrict: true, + Id: "o", }, + CommaFodder: nil, }, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Fun: nil, }, + Named: nil, }, - Body: &ast.Apply{ + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1304), + Column: int(3), + }, + End: ast.Location{ + Line: int(1305), + 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), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "objectValuesAll", + 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: p11, + 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(1307), + Column: int(19), + }, + End: ast.Location{ + Line: int(1307), + 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(1308), + Column: int(5), + }, + End: ast.Location{ + Line: int(1308), + Column: int(43), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "o", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1241), - Column: int(5), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1241), - Column: int(24), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12239, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", - "aux", - "b", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1241), - Column: int(5), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1241), - Column: int(8), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12239, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Id: "aux", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1241), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1241), - Column: int(10), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12437, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", + "o", }, }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1241), - Column: int(12), + 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, }, - End: ast.Location{ - Line: int(1241), - Column: int(13), + }, + }, + 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", }, - File: p1, }, - Ctx: p12437, - FreeVars: ast.Identifiers{ - "b", + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(6), + }, + End: ast.Location{ + Line: int(1308), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14169, + FreeVars: ast.Identifiers{ + "k", + "o", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(6), + }, + End: ast.Location{ + Line: int(1308), + Column: int(7), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14169, + FreeVars: ast.Identifiers{ + "o", + }, + }, + Id: "o", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(8), + }, + End: ast.Location{ + Line: int(1308), + Column: int(9), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14169, + FreeVars: ast.Identifiers{ + "k", + }, + }, + Id: "k", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, }, + TrailingComma: false, + CloseFodder: nil, }, - Id: "b", }, - &ast.LiteralNumber{ + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1241), - Column: int(15), + Line: int(1308), + Column: int(20), }, End: ast.Location{ - Line: int(1241), - Column: int(16), + Line: int(1308), + Column: int(42), }, File: p1, }, - Ctx: p12437, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p14176, + FreeVars: ast.Identifiers{ + "o", + "std", + }, }, - Value: float64(0), - OriginalString: "0", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1241), - Column: int(18), + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(20), + }, + End: ast.Location{ + Line: int(1308), + Column: int(39), + }, + File: p1, }, - End: ast.Location{ - Line: int(1241), - Column: int(19), + Fodder: ast.Fodder{}, + Ctx: p14176, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p12437, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1241), - Column: int(21), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1308), + Column: int(20), + }, + End: ast.Location{ + Line: int(1308), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - End: ast.Location{ - Line: int(1241), - 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: nil, + }, + 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(1308), + Column: int(40), + }, + End: ast.Location{ + Line: int(1308), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14185, + FreeVars: ast.Identifiers{ + "o", + }, + }, + Id: "o", + }, + CommaFodder: nil, }, - File: p1, }, - Ctx: p12437, - FreeVars: nil, + Named: nil, }, - Elements: nil, TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: true, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1307), + Column: int(3), + }, + End: ast.Location{ + Line: int(1308), + Column: int(43), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -138997,12 +179671,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "mergePatch", + Value: "equals", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -139018,539 +179694,905 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "target", - "patch", + 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(1310), + Column: int(10), + }, + End: ast.Location{ + Line: int(1310), + Column: int(11), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "b", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1310), + Column: int(13), + }, + End: ast.Location{ + Line: int(1310), + Column: int(14), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1244), + Line: int(1311), Column: int(5), }, End: ast.Location{ - Line: int(1265), - Column: int(12), + Line: int(1344), + Column: int(34), }, File: p1, }, - Ctx: p12449, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p14193, FreeVars: ast.Identifiers{ - "patch", + "a", + "b", "std", - "target", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(8), - }, - End: ast.Location{ - Line: int(1244), - Column: int(35), - }, - File: p1, - }, - Ctx: p12449, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(8), - }, - End: ast.Location{ - Line: int(1244), - Column: int(23), - }, - File: p1, - }, - Ctx: p12449, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - }, - Target: &ast.Index{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "ta", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1244), - Column: int(8), + Line: int(1311), + Column: int(16), }, End: ast.Location{ - Line: int(1244), - Column: int(16), + Line: int(1311), + Column: int(27), }, File: p1, }, - Ctx: p12449, + Fodder: ast.Fodder{}, + Ctx: p14197, FreeVars: ast.Identifiers{ + "a", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1244), - Column: int(8), + Line: int(1311), + Column: int(16), }, End: ast.Location{ - Line: int(1244), - Column: int(11), + Line: int(1311), + Column: int(24), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14197, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1311), + Column: int(16), + }, + End: ast.Location{ + Line: int(1311), + Column: int(19), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1244), - Column: int(17), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1244), - Column: int(22), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12462, - FreeVars: ast.Identifiers{ - "patch", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1311), + Column: int(25), + }, + End: ast.Location{ + Line: int(1311), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14206, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", }, + CommaFodder: nil, }, - Id: "patch", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(27), - }, - End: ast.Location{ - Line: int(1244), - Column: int(35), - }, - File: p1, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1311), + Column: int(11), }, - Ctx: p12449, - FreeVars: nil, + End: ast.Location{ + Line: int(1311), + Column: int(27), + }, + File: p1, }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - BranchTrue: &ast.Local{ + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1245), - Column: int(7), + Line: int(1312), + Column: int(5), }, End: ast.Location{ - Line: int(1263), - Column: int(8), + Line: int(1344), + Column: int(34), }, File: p1, }, - Ctx: p12449, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p14193, FreeVars: ast.Identifiers{ - "patch", + "a", + "b", "std", - "target", + "ta", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "target_object", - Body: &ast.Conditional{ + VarFodder: ast.Fodder{}, + Variable: "tb", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1246), - Column: int(9), + Line: int(1312), + Column: int(16), }, End: ast.Location{ - Line: int(1246), - Column: int(60), + Line: int(1312), + Column: int(27), }, File: p1, }, - Ctx: p12469, + Fodder: ast.Fodder{}, + Ctx: p14213, FreeVars: ast.Identifiers{ + "b", "std", - "target", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1246), - Column: int(12), + Line: int(1312), + Column: int(16), }, End: ast.Location{ - Line: int(1246), - Column: int(40), + Line: int(1312), + Column: int(24), }, File: p1, }, - Ctx: p12469, + Fodder: ast.Fodder{}, + Ctx: p14213, FreeVars: ast.Identifiers{ "std", - "target", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1246), - Column: int(12), + Line: int(1312), + Column: int(16), }, End: ast.Location{ - Line: int(1246), - Column: int(28), + Line: int(1312), + Column: int(19), }, File: p1, }, - Ctx: p12469, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "target", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(12), - }, - End: ast.Location{ - Line: int(1246), - Column: int(20), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p12469, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1246), - Column: int(12), + Line: int(1312), + Column: int(25), }, End: ast.Location{ - Line: int(1246), - Column: int(15), + Line: int(1312), + Column: int(26), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14222, FreeVars: ast.Identifiers{ - "std", + "b", }, }, - Id: "std", + Id: "b", }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + 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(1312), + Column: int(11), + }, + End: ast.Location{ + Line: int(1312), + Column: int(27), + }, + File: p1, + }, + }, + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(5), + }, + End: ast.Location{ + Line: int(1344), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + "ta", + "tb", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(8), + }, + End: ast.Location{ + Line: int(1313), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + 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(1313), + Column: int(9), + }, + End: ast.Location{ + Line: int(1313), + Column: int(36), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "std", + "ta", + "tb", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(9), }, - Id: nil, + End: ast.Location{ + Line: int(1313), + Column: int(28), + }, + File: p1, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(21), - }, - End: ast.Location{ - Line: int(1246), - Column: int(27), - }, - File: p1, - }, - Ctx: p12482, - FreeVars: ast.Identifiers{ - "target", - }, - }, - Id: "target", + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(9), + }, + End: ast.Location{ + Line: int(1313), + Column: int(12), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "std", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1246), - Column: int(32), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1246), - Column: int(40), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12469, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "object", + Value: "primitiveEquals", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(46), - }, - End: ast.Location{ - Line: int(1246), - Column: int(52), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &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(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14238, + FreeVars: ast.Identifiers{ + "ta", + }, + }, + Id: "ta", }, - File: p1, - }, - Ctx: p12469, - FreeVars: ast.Identifiers{ - "target", + CommaFodder: ast.Fodder{}, }, - }, - Id: "target", - }, - BranchFalse: &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(58), - }, - End: ast.Location{ - Line: int(1246), - Column: int(60), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1313), + Column: int(33), + }, + End: ast.Location{ + Line: int(1313), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14238, + FreeVars: ast.Identifiers{ + "tb", + }, + }, + Id: "tb", }, - File: p1, + CommaFodder: nil, }, - Ctx: p12469, - FreeVars: nil, }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(7), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1314), + Column: int(7), + }, + End: ast.Location{ + Line: int(1314), + Column: int(12), + }, + File: p1, }, - End: ast.Location{ - Line: int(1263), - Column: int(8), + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, }, - File: p1, + Ctx: p14193, + FreeVars: nil, }, - Ctx: p12449, - FreeVars: ast.Identifiers{ - "patch", - "std", - "target_object", + Value: false, + }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "target_fields", - Body: &ast.Conditional{ + BranchFalse: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1316), + Column: int(7), + }, + End: ast.Location{ + Line: int(1344), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + "ta", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1316), + Column: int(10), + }, + End: ast.Location{ + Line: int(1316), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "std", + "ta", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(9), + Line: int(1316), + Column: int(10), }, End: ast.Location{ - Line: int(1249), - Column: int(92), + Line: int(1316), + Column: int(29), }, File: p1, }, - Ctx: p12492, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ "std", - "target_object", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(12), + Line: int(1316), + Column: int(10), }, End: ast.Location{ - Line: int(1249), - Column: int(47), + Line: int(1316), + Column: int(13), }, File: p1, }, - Ctx: p12492, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "target_object", }, }, - Left: &ast.Apply{ + 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: nil, + }, + 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(1316), + Column: int(30), + }, + End: ast.Location{ + Line: int(1316), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14257, + 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(1316), + Column: int(34), + }, + End: ast.Location{ + Line: int(1316), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14257, + FreeVars: nil, + }, + 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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(9), + }, + End: ast.Location{ + Line: int(1328), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + }, + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "la", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(12), + Line: int(1317), + Column: int(20), }, End: ast.Location{ - Line: int(1249), - Column: int(35), + Line: int(1317), + Column: int(33), }, File: p1, }, - Ctx: p12492, + Fodder: ast.Fodder{}, + Ctx: p14265, FreeVars: ast.Identifiers{ + "a", "std", - "target_object", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(12), + Line: int(1317), + Column: int(20), }, End: ast.Location{ - Line: int(1249), - Column: int(20), + Line: int(1317), + Column: int(30), }, File: p1, }, - Ctx: p12492, + Fodder: ast.Fodder{}, + Ctx: p14265, FreeVars: ast.Identifiers{ "std", }, @@ -139558,17 +180600,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(12), + Line: int(1317), + Column: int(20), }, End: ast.Location{ - Line: int(1249), - Column: int(15), + Line: int(1317), + Column: int(23), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -139576,6 +180619,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -139590,1081 +180634,1907 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(21), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(31), + }, + End: ast.Location{ + Line: int(1317), + Column: int(32), + }, + File: p1, }, - End: ast.Location{ - Line: int(1249), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p14274, + FreeVars: ast.Identifiers{ + "a", }, - File: p1, - }, - Ctx: p12505, - FreeVars: ast.Identifiers{ - "target_object", }, + Id: "a", }, - Id: "target_object", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(39), - }, - End: ast.Location{ - Line: int(1249), - Column: int(47), - }, - File: p1, - }, - Ctx: p12492, - FreeVars: nil, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1317), + Column: int(15), }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(1317), + Column: int(33), + }, + File: p1, }, }, - BranchTrue: &ast.Apply{ + }, + Body: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(9), + }, + End: ast.Location{ + Line: int(1328), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "la", + "std", + }, + }, + Cond: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(53), + Line: int(1318), + Column: int(12), }, End: ast.Location{ - Line: int(1249), - Column: int(84), + Line: int(1318), + Column: int(51), }, File: p1, }, - Ctx: p12492, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ + "b", + "la", "std", - "target_object", }, }, - Target: &ast.Index{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(53), + Line: int(1318), + Column: int(13), }, End: ast.Location{ - Line: int(1249), - Column: int(69), + Line: int(1318), + Column: int(51), }, File: p1, }, - Ctx: p12492, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ + "b", + "la", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(53), + Line: int(1318), + Column: int(13), }, End: ast.Location{ - Line: int(1249), - Column: int(56), + Line: int(1318), + Column: int(32), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(13), + }, + End: ast.Location{ + Line: int(1318), + Column: int(16), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(70), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1249), - Column: int(83), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1318), + Column: int(33), + }, + End: ast.Location{ + Line: int(1318), + Column: int(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14290, + FreeVars: ast.Identifiers{ + "la", + }, + }, + Id: "la", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(37), + }, + End: ast.Location{ + Line: int(1318), + Column: int(50), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14290, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(37), + }, + End: ast.Location{ + Line: int(1318), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14290, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1318), + Column: int(37), + }, + End: ast.Location{ + Line: int(1318), + 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: nil, + }, + 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(1318), + Column: int(48), + }, + End: ast.Location{ + Line: int(1318), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14301, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p12517, - FreeVars: ast.Identifiers{ - "target_object", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, - Id: "target_object", }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - BranchFalse: &ast.Array{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1249), - Column: int(90), + Line: int(1319), + Column: int(11), }, End: ast.Location{ - Line: int(1249), - Column: int(92), + Line: int(1319), + Column: int(16), }, File: p1, }, - Ctx: p12492, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p14193, FreeVars: nil, }, - Elements: nil, - TrailingComma: false, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(7), + Value: false, }, - End: ast.Location{ - Line: int(1263), - Column: int(8), + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, - File: p1, - }, - Ctx: p12449, - FreeVars: ast.Identifiers{ - "patch", - "std", - "target_fields", - "target_object", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "null_fields", - Body: &ast.Apply{ + BranchFalse: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1321), + Column: int(11), }, End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Line: int(1328), + Column: int(23), }, + File: p1, }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - Id: "std", }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "la", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + 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(0), - Column: int(0), + Line: int(1321), + Column: int(17), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1327), + Column: int(31), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: nil, + Ctx: p14311, FreeVars: ast.Identifiers{ - "patch", + "aux", + "la", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", + 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(1321), + Column: int(21), + }, + End: ast.Location{ + Line: int(1321), + 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(1321), + Column: int(24), + }, + End: ast.Location{ + Line: int(1321), + 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(1321), + Column: int(27), + }, + End: ast.Location{ + Line: int(1321), + Column: int(28), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1322), + Column: int(13), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1327), + Column: int(31), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p14316, FreeVars: ast.Identifiers{ - "k", - "patch", + "a", + "aux", + "b", + "i", + "la", }, }, Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1251), - Column: int(66), + Line: int(1322), + Column: int(16), }, End: ast.Location{ - Line: int(1251), - Column: int(82), + Line: int(1322), + Column: int(23), }, File: p1, }, - Ctx: p12537, + Fodder: ast.Fodder{}, + Ctx: p14316, FreeVars: ast.Identifiers{ - "k", - "patch", + "i", + "la", }, }, - Left: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1251), - Column: int(66), + Line: int(1322), + Column: int(16), }, End: ast.Location{ - Line: int(1251), - Column: int(74), + Line: int(1322), + Column: int(17), }, File: p1, }, - Ctx: p12537, + Fodder: ast.Fodder{}, + Ctx: p14316, FreeVars: ast.Identifiers{ - "k", - "patch", + "i", }, }, - Target: &ast.Var{ + Id: "i", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(8), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1322), + Column: int(21), + }, + End: ast.Location{ + Line: int(1322), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "la", + }, + }, + Id: "la", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1323), + Column: int(15), + }, + End: ast.Location{ + Line: int(1323), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p14316, + FreeVars: nil, + }, + 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(1324), + Column: int(18), + }, + End: ast.Location{ + Line: int(1327), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1324), + Column: int(21), + }, + End: ast.Location{ + Line: int(1324), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "a", + "b", + "i", + }, + }, + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1251), - Column: int(66), + Line: int(1324), + Column: int(21), }, End: ast.Location{ - Line: int(1251), - Column: int(71), + Line: int(1324), + Column: int(25), }, File: p1, }, - Ctx: p12537, + Fodder: ast.Fodder{}, + Ctx: p14316, FreeVars: ast.Identifiers{ - "patch", + "a", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1324), + Column: int(21), + }, + End: ast.Location{ + Line: int(1324), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1324), + Column: int(23), + }, + End: ast.Location{ + Line: int(1324), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "i", + }, }, + Id: "i", }, - Id: "patch", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1251), - Column: int(72), + Line: int(1324), + Column: int(29), }, End: ast.Location{ - Line: int(1251), - Column: int(73), + Line: int(1324), + Column: int(33), }, File: p1, }, - Ctx: p12537, + Fodder: ast.Fodder{}, + Ctx: p14316, FreeVars: ast.Identifiers{ - "k", + "b", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1324), + Column: int(29), + }, + End: ast.Location{ + Line: int(1324), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1324), + Column: int(31), + }, + End: ast.Location{ + Line: int(1324), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "i", + }, }, + Id: "i", }, - Id: "k", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Id: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1251), - Column: int(78), + Line: int(1325), + Column: int(15), }, End: ast.Location{ - Line: int(1251), - Column: int(82), + Line: int(1325), + Column: int(20), }, File: p1, }, - Ctx: p12537, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p14316, FreeVars: nil, }, + Value: false, }, - }, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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(1327), + Column: int(15), + }, + End: ast.Location{ + Line: int(1327), + Column: int(31), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p14316, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", }, - }, - Elements: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1251), - Column: int(28), + Line: int(1327), + Column: int(15), }, End: ast.Location{ - Line: int(1251), - Column: int(29), + Line: int(1327), + Column: int(18), }, File: p1, }, - Ctx: p12550, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p14316, FreeVars: ast.Identifiers{ - "k", + "aux", }, }, - Id: "k", + Id: "aux", }, - }, - TrailingComma: false, - }, - 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), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(19), + }, + End: ast.Location{ + Line: int(1327), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14353, + 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(1327), + Column: int(22), + }, + End: ast.Location{ + Line: int(1327), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14353, + 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(1327), + Column: int(25), + }, + End: ast.Location{ + Line: int(1327), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14353, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1327), + Column: int(25), + }, + End: ast.Location{ + Line: int(1327), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14353, + 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(1327), + Column: int(29), + }, + End: ast.Location{ + Line: int(1327), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14353, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: nil, + }, }, - File: nil, + Named: nil, }, - Ctx: nil, - FreeVars: nil, + TrailingComma: false, + TailStrict: true, + FodderRight: ast.Fodder{}, + TailStrictFodder: ast.Fodder{}, }, - Elements: nil, - TrailingComma: false, }, }, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(39), - }, - End: ast.Location{ - Line: int(1251), - Column: int(62), - }, - File: p1, + 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(1328), + Column: int(11), + }, + End: ast.Location{ + Line: int(1328), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(11), }, - Ctx: p12537, - FreeVars: ast.Identifiers{ - "patch", - "std", + End: ast.Location{ + Line: int(1328), + Column: int(14), }, + File: p1, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(39), - }, - End: ast.Location{ - Line: int(1251), - Column: int(55), - }, - File: p1, - }, - Ctx: p12537, - FreeVars: ast.Identifiers{ - "std", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, }, - Target: &ast.Var{ + }, + Ctx: p14193, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1251), - Column: int(39), + Line: int(1328), + Column: int(15), }, End: ast.Location{ - Line: int(1251), - Column: int(42), + Line: int(1328), + Column: int(16), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14369, FreeVars: ast.Identifiers{ - "std", + "a", }, }, - Id: "std", + Id: "a", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1328), + Column: int(18), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1328), + Column: int(19), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14369, + FreeVars: ast.Identifiers{ + "b", }, - Ctx: nil, - FreeVars: nil, }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "b", }, - Id: nil, + CommaFodder: ast.Fodder{}, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(56), - }, - End: ast.Location{ - Line: int(1251), - Column: int(61), - }, - File: p1, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1328), + Column: int(21), }, - Ctx: p12562, - FreeVars: ast.Identifiers{ - "patch", + End: ast.Location{ + Line: int(1328), + Column: int(22), }, + File: p1, }, - Id: "patch", + Fodder: ast.Fodder{}, + Ctx: p14369, + FreeVars: nil, }, + OriginalString: "0", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, - Fun: nil, }, }, - Body: &ast.Local{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1252), - Column: int(7), + Line: int(1329), + Column: int(12), }, End: ast.Location{ - Line: int(1263), - Column: int(8), + Line: int(1344), + Column: int(34), }, File: p1, }, - Ctx: p12449, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ - "null_fields", - "patch", + "a", + "b", "std", - "target_fields", - "target_object", + "ta", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "both_fields", - Body: &ast.Apply{ + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1329), + Column: int(15), + }, + End: ast.Location{ + Line: int(1329), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "std", + "ta", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1329), + Column: int(15), + }, + End: ast.Location{ + Line: int(1329), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1252), - Column: int(27), + Line: int(1329), + Column: int(15), }, End: ast.Location{ - Line: int(1252), - Column: int(79), + Line: int(1329), + Column: int(18), }, File: p1, }, - Ctx: p12568, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "patch", "std", - "target_fields", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(27), - }, - End: ast.Location{ - Line: int(1252), - Column: int(39), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p12568, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1252), - Column: int(27), + Line: int(1329), + Column: int(35), }, End: ast.Location{ - Line: int(1252), - Column: int(30), + Line: int(1329), + Column: int(37), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14386, FreeVars: ast.Identifiers{ - "std", + "ta", }, }, - Id: "std", + Id: "ta", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1329), + Column: int(39), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1329), + Column: int(47), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14386, FreeVars: nil, }, - Value: "setUnion", + Value: "object", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + }, + 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(1330), + Column: int(9), + }, + End: ast.Location{ + Line: int(1342), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, + }, + 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(1330), + Column: int(24), + }, + End: ast.Location{ + Line: int(1330), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14394, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1330), + Column: int(24), + }, + End: ast.Location{ + Line: int(1330), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14394, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1252), - Column: int(40), + Line: int(1330), + Column: int(24), }, End: ast.Location{ - Line: int(1252), - Column: int(53), + Line: int(1330), + Column: int(27), }, File: p1, }, - Ctx: p12577, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "target_fields", + "std", }, }, - Id: "target_fields", + Id: "std", }, - &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1252), - Column: int(55), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1252), - Column: int(78), + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1330), + Column: int(41), + }, + End: ast.Location{ + Line: int(1330), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14403, + FreeVars: ast.Identifiers{ + "a", + }, + }, + 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(1330), + Column: int(15), + }, + End: ast.Location{ + Line: int(1330), + Column: int(43), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1331), + Column: int(9), + }, + End: ast.Location{ + Line: int(1342), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p14193, + 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(1331), + Column: int(25), + }, + End: ast.Location{ + Line: int(1331), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14410, + FreeVars: ast.Identifiers{ + "fields", + "std", + }, + }, + Target: &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(35), }, File: p1, }, - Ctx: p12577, + Fodder: ast.Fodder{}, + Ctx: p14410, FreeVars: ast.Identifiers{ - "patch", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1252), - Column: int(55), + Line: int(1331), + Column: int(25), }, End: ast.Location{ - Line: int(1252), - Column: int(71), + Line: int(1331), + Column: int(28), }, File: p1, }, - Ctx: p12577, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(55), - }, - End: ast.Location{ - Line: int(1252), - Column: int(58), - }, - File: p1, - }, - 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), }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: nil, + File: nil, }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: nil, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1252), - Column: int(72), + Line: int(1331), + Column: int(36), }, End: ast.Location{ - Line: int(1252), - Column: int(77), + Line: int(1331), + Column: int(42), }, File: p1, }, - Ctx: p12588, + Fodder: ast.Fodder{}, + Ctx: p14419, FreeVars: ast.Identifiers{ - "patch", + "fields", }, }, - Id: "patch", + Id: "fields", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "both_fields", - "null_fields", - "patch", - "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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + Fun: nil, + CloseFodder: ast.Fodder{}, LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1331), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1331), + Column: int(43), }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + File: p1, }, }, - Id: "std", }, - Index: &ast.LiteralString{ + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1332), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1342), + Column: int(23), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "fields", + "lfields", + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "$objectFlatMerge", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1332), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1332), + Column: int(41), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ - "both_fields", - "null_fields", - "patch", + "b", + "fields", "std", - "target_object", }, }, - Target: &ast.Index{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1332), + Column: int(12), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1332), + Column: int(18), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14193, + 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(1332), + Column: int(22), + }, + End: ast.Location{ + Line: int(1332), + Column: int(41), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ + "b", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1332), + Column: int(22), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1332), + Column: int(38), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14193, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1332), + Column: int(22), + }, + End: ast.Location{ + Line: int(1332), + Column: int(25), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -140678,1664 +182548,1208 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "patch", - "std", - "target_object", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "k", - }, - Optional: nil, + FreeVars: nil, }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Elements: ast.Nodes{ - &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(7), - }, - End: ast.Location{ - Line: int(1263), - Column: int(8), - }, - File: p1, + 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(1332), + Column: int(39), }, - Ctx: p12449, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", + End: ast.Location{ + Line: int(1332), + Column: int(40), }, + File: p1, }, - 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(1255), - Column: int(10), - }, - End: ast.Location{ - Line: int(1255), - Column: int(11), - }, - File: p1, - }, - Ctx: p12449, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(11), - }, - End: ast.Location{ - Line: int(1261), - Column: int(55), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(14), - }, - End: ast.Location{ - Line: int(1256), - Column: int(38), - }, - File: p1, - }, - Ctx: p12618, - 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(1256), - Column: int(15), - }, - End: ast.Location{ - Line: int(1256), - Column: int(38), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(15), - }, - End: ast.Location{ - Line: int(1256), - Column: int(28), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(15), - }, - End: ast.Location{ - Line: int(1256), - Column: int(18), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectHas", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(29), - }, - End: ast.Location{ - Line: int(1256), - Column: int(34), - }, - File: p1, - }, - Ctx: p12631, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(36), - }, - End: ast.Location{ - Line: int(1256), - Column: int(37), - }, - File: p1, - }, - Ctx: p12631, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(13), - }, - End: ast.Location{ - Line: int(1257), - Column: int(29), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - "target_object", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(13), - }, - End: ast.Location{ - Line: int(1257), - Column: int(26), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1257), - Column: int(27), - }, - End: ast.Location{ - Line: int(1257), - Column: int(28), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(16), - }, - End: ast.Location{ - Line: int(1261), - Column: int(55), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Cond: &ast.Unary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(19), - }, - End: ast.Location{ - Line: int(1258), - Column: int(51), - }, - File: p1, - }, - Ctx: p12618, - 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(1258), - Column: int(20), - }, - End: ast.Location{ - Line: int(1258), - Column: int(51), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - "std", - "target_object", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(20), - }, - End: ast.Location{ - Line: int(1258), - Column: int(33), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(20), - }, - End: ast.Location{ - Line: int(1258), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectHas", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(34), - }, - End: ast.Location{ - Line: int(1258), - Column: int(47), - }, - File: p1, - }, - Ctx: p12654, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(49), - }, - End: ast.Location{ - Line: int(1258), - Column: int(50), - }, - File: p1, - }, - Ctx: p12654, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(13), - }, - End: ast.Location{ - Line: int(1259), - Column: int(43), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(13), - }, - End: ast.Location{ - Line: int(1259), - Column: int(27), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(13), - }, - End: ast.Location{ - Line: int(1259), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mergePatch", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(28), - }, - End: ast.Location{ - Line: int(1259), - Column: int(32), - }, - File: p1, - }, - Ctx: p12667, - FreeVars: nil, - }, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(34), - }, - End: ast.Location{ - Line: int(1259), - Column: int(42), - }, - File: p1, - }, - Ctx: p12667, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(34), - }, - End: ast.Location{ - Line: int(1259), - Column: int(39), - }, - File: p1, - }, - Ctx: p12667, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(40), - }, - End: ast.Location{ - Line: int(1259), - Column: int(41), - }, - File: p1, - }, - Ctx: p12667, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(13), - }, - End: ast.Location{ - Line: int(1261), - Column: int(55), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(13), - }, - End: ast.Location{ - Line: int(1261), - Column: int(27), - }, - File: p1, - }, - Ctx: p12618, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(13), - }, - End: ast.Location{ - Line: int(1261), - Column: int(16), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "mergePatch", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(28), - }, - End: ast.Location{ - Line: int(1261), - Column: int(44), - }, - File: p1, - }, - Ctx: p12683, - FreeVars: ast.Identifiers{ - "k", - "target_object", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(28), - }, - End: ast.Location{ - Line: int(1261), - Column: int(41), - }, - File: p1, - }, - Ctx: p12683, - FreeVars: ast.Identifiers{ - "target_object", - }, - }, - Id: "target_object", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(42), - }, - End: ast.Location{ - Line: int(1261), - Column: int(43), - }, - File: p1, - }, - Ctx: p12683, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(46), - }, - End: ast.Location{ - Line: int(1261), - Column: int(54), - }, - File: p1, - }, - Ctx: p12683, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(46), - }, - End: ast.Location{ - Line: int(1261), - Column: int(51), - }, - File: p1, - }, - Ctx: p12683, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1261), - Column: int(52), - }, - End: ast.Location{ - Line: int(1261), - Column: int(53), - }, - File: p1, - }, - Ctx: p12683, - FreeVars: ast.Identifiers{ - "k", - }, - }, - Id: "k", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: true, - }, - }, - }, - PlusSuper: false, - }, + Fodder: ast.Fodder{}, + Ctx: p14437, + FreeVars: ast.Identifiers{ + "b", }, - Locals: ast.LocalBinds{}, }, + Id: "b", }, - TrailingComma: false, + CommaFodder: nil, }, }, - &ast.Apply{ + 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(1333), + Column: int(11), + }, + End: ast.Location{ + Line: int(1333), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p14193, + FreeVars: nil, + }, + 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(1335), + Column: int(11), + }, + End: ast.Location{ + Line: int(1342), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p14193, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1262), - Column: int(18), + Line: int(1335), + Column: int(17), }, End: ast.Location{ - Line: int(1262), - Column: int(55), + Line: int(1341), + Column: int(31), }, File: p1, }, - Ctx: p12449, + Fodder: nil, + Ctx: p14447, FreeVars: ast.Identifiers{ - "both_fields", - "null_fields", - "std", + "aux", + "fields", + "lfields", }, }, - Target: &ast.Index{ + 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(1335), + Column: int(21), + }, + End: ast.Location{ + Line: int(1335), + 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(1335), + Column: int(24), + }, + End: ast.Location{ + Line: int(1335), + 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(1335), + Column: int(27), + }, + End: ast.Location{ + Line: int(1335), + Column: int(28), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1262), - Column: int(18), + Line: int(1336), + Column: int(13), }, End: ast.Location{ - Line: int(1262), - Column: int(29), + Line: int(1341), + Column: int(31), }, File: p1, }, - Ctx: p12449, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(12), + Comment: []string{}, + }, + }, + Ctx: p14452, FreeVars: ast.Identifiers{ - "std", + "a", + "aux", + "b", + "fields", + "i", + "lfields", }, }, - Target: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1262), - Column: int(18), + Line: int(1336), + Column: int(16), }, End: ast.Location{ - Line: int(1262), - Column: int(21), + Line: int(1336), + Column: int(28), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14452, FreeVars: ast.Identifiers{ - "std", + "i", + "lfields", }, }, - Id: "std", + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1336), + Column: int(16), + }, + End: ast.Location{ + Line: int(1336), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + 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(1336), + Column: int(21), + }, + End: ast.Location{ + Line: int(1336), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "lfields", + }, + }, + Id: "lfields", + }, }, - Index: &ast.LiteralString{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1337), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1337), + Column: int(19), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p14452, FreeVars: nil, }, - Value: "setDiff", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Value: true, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + 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(1338), + Column: int(18), + }, + End: ast.Location{ + Line: int(1341), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "fields", + "i", + }, + }, + Cond: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1262), - Column: int(30), + Line: int(1338), + Column: int(21), }, End: ast.Location{ - Line: int(1262), - Column: int(41), + Line: int(1338), + Column: int(54), }, File: p1, }, - Ctx: p12704, + Fodder: ast.Fodder{}, + Ctx: p14452, FreeVars: ast.Identifiers{ - "both_fields", + "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(1338), + Column: int(31), + }, + End: ast.Location{ + Line: int(1338), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14469, + FreeVars: ast.Identifiers{ + "fields", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(31), + }, + End: ast.Location{ + Line: int(1338), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14469, + FreeVars: ast.Identifiers{ + "fields", + }, + }, + Id: "fields", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(38), + }, + End: ast.Location{ + Line: int(1338), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14469, + 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(1338), + Column: int(27), + }, + End: ast.Location{ + Line: int(1338), + Column: int(40), + }, + File: p1, + }, + }, + }, + Body: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(42), + }, + End: ast.Location{ + Line: int(1338), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "a", + "b", + "f", + }, + }, + Left: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(42), + }, + End: ast.Location{ + Line: int(1338), + Column: int(46), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "a", + "f", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(42), + }, + End: ast.Location{ + Line: int(1338), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(44), + }, + End: ast.Location{ + Line: int(1338), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + 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(1338), + Column: int(50), + }, + End: ast.Location{ + Line: int(1338), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "b", + "f", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(50), + }, + End: ast.Location{ + Line: int(1338), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1338), + Column: int(52), + }, + End: ast.Location{ + Line: int(1338), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "f", + }, + }, + Id: "f", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, }, - Id: "both_fields", }, - &ast.Var{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1262), - Column: int(43), + Line: int(1339), + Column: int(15), }, End: ast.Location{ - Line: int(1262), - Column: int(54), + Line: int(1339), + Column: int(20), }, File: p1, }, - Ctx: p12704, - FreeVars: ast.Identifiers{ - "null_fields", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, }, + Ctx: p14452, + FreeVars: nil, }, - Id: "null_fields", + Value: false, }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1265), - Column: int(7), - }, - End: ast.Location{ - Line: int(1265), - Column: int(12), - }, - File: p1, - }, - Ctx: p12449, - FreeVars: ast.Identifiers{ - "patch", - }, - }, - Id: "patch", - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "o", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(5), - }, - End: ast.Location{ - Line: int(1268), - Column: int(33), - }, - File: p1, - }, - Ctx: p12715, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(5), - }, - End: ast.Location{ - Line: int(1268), - Column: int(23), - }, - File: p1, - }, - Ctx: p12715, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(5), - }, - End: ast.Location{ - Line: int(1268), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFieldsEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(24), - }, - End: ast.Location{ - Line: int(1268), - Column: int(25), - }, - File: p1, - }, - Ctx: p12724, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1268), - Column: int(27), - }, - End: ast.Location{ - Line: int(1268), - Column: int(32), - }, - File: p1, - }, - Ctx: p12724, - FreeVars: nil, - }, - Value: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFieldsAll", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "o", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(5), - }, - End: ast.Location{ - Line: int(1271), - Column: int(32), - }, - File: p1, - }, - Ctx: p12732, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(5), - }, - End: ast.Location{ - Line: int(1271), - Column: int(23), - }, - File: p1, - }, - Ctx: p12732, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(5), - }, - End: ast.Location{ - Line: int(1271), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFieldsEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(24), - }, - End: ast.Location{ - Line: int(1271), - Column: int(25), - }, - File: p1, - }, - Ctx: p12741, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(27), - }, - End: ast.Location{ - Line: int(1271), - Column: int(31), - }, - File: p1, - }, - Ctx: p12741, - FreeVars: nil, - }, - Value: true, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectHas", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "o", - "f", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(5), - }, - End: ast.Location{ - Line: int(1274), - Column: int(33), - }, - File: p1, - }, - Ctx: p12749, - FreeVars: ast.Identifiers{ - "f", - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(5), - }, - End: ast.Location{ - Line: int(1274), - Column: int(20), - }, - File: p1, - }, - Ctx: p12749, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(5), - }, - End: ast.Location{ - Line: int(1274), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectHasEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(21), - }, - End: ast.Location{ - Line: int(1274), - Column: int(22), + 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(1341), + Column: int(15), + }, + End: ast.Location{ + Line: int(1341), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14452, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(15), + }, + End: ast.Location{ + Line: int(1341), + Column: int(18), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(14), + Comment: []string{}, + }, + }, + Ctx: p14452, + 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(1341), + Column: int(19), + }, + End: ast.Location{ + Line: int(1341), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14499, + 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(1341), + Column: int(22), + }, + End: ast.Location{ + Line: int(1341), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14499, + 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(1341), + Column: int(25), + }, + End: ast.Location{ + Line: int(1341), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14499, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1341), + Column: int(25), + }, + End: ast.Location{ + Line: int(1341), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14499, + 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(1341), + Column: int(29), + }, + End: ast.Location{ + Line: int(1341), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14499, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + 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(1342), + Column: int(11), + }, + End: ast.Location{ + Line: int(1342), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "aux", + "b", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1342), + Column: int(11), + }, + End: ast.Location{ + Line: int(1342), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p14193, + 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(1342), + Column: int(15), + }, + End: ast.Location{ + Line: int(1342), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14515, + 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(1342), + Column: int(18), + }, + End: ast.Location{ + Line: int(1342), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14515, + 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(1342), + Column: int(21), + }, + End: ast.Location{ + Line: int(1342), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14515, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, }, - File: p1, - }, - Ctx: p12758, - FreeVars: ast.Identifiers{ - "o", }, - }, - Id: "o", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(24), - }, - End: ast.Location{ - Line: int(1274), - Column: int(25), + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - File: p1, - }, - Ctx: p12758, - FreeVars: ast.Identifiers{ - "f", }, - }, - Id: "f", - }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(27), + BranchFalse: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1344), + Column: int(9), + }, + End: ast.Location{ + Line: int(1344), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "a", + "b", + "std", + }, }, - End: ast.Location{ - Line: int(1274), - Column: int(32), + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1344), + Column: int(9), + }, + End: ast.Location{ + Line: int(1344), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14193, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1344), + Column: int(9), + }, + End: ast.Location{ + Line: int(1344), + 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: nil, + }, + Value: "primitiveEquals", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - File: p1, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1344), + Column: int(29), + }, + End: ast.Location{ + Line: int(1344), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14531, + 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(1344), + Column: int(32), + }, + End: ast.Location{ + Line: int(1344), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14531, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Ctx: p12758, - FreeVars: nil, }, - Value: false, }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1310), + Column: int(3), + }, + End: ast.Location{ + Line: int(1344), + Column: int(34), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -142353,12 +183767,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "objectHasAll", + Value: "resolvePath", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -142374,284 +183790,126 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "o", - "f", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "f", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1277), - Column: int(5), + Line: int(1347), + Column: int(15), }, End: ast.Location{ - Line: int(1277), - Column: int(32), + Line: int(1347), + Column: int(16), }, File: p1, }, - Ctx: p12768, - FreeVars: ast.Identifiers{ - "f", - "o", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(5), - }, - End: ast.Location{ - Line: int(1277), - Column: int(20), - }, - File: p1, - }, - Ctx: p12768, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(5), - }, - End: ast.Location{ - Line: int(1277), - Column: int(8), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectHasEx", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(21), - }, - End: ast.Location{ - Line: int(1277), - Column: int(22), - }, - File: p1, - }, - Ctx: p12777, - FreeVars: ast.Identifiers{ - "o", - }, - }, - Id: "o", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(24), - }, - End: ast.Location{ - Line: int(1277), - Column: int(25), - }, - File: p1, - }, - Ctx: p12777, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "r", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(18), }, - &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(27), - }, - End: ast.Location{ - Line: int(1277), - Column: int(31), - }, - File: p1, - }, - Ctx: p12777, - FreeVars: nil, - }, - Value: true, + End: ast.Location{ + Line: int(1347), + Column: int(19), }, + File: p1, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "equals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - }, - Optional: nil, - }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1280), + Line: int(1348), Column: int(5), }, End: ast.Location{ - Line: int(1313), - Column: int(34), + Line: int(1349), + Column: int(80), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p14541, FreeVars: ast.Identifiers{ - "a", - "b", + "f", + "r", "std", }, }, Binds: ast.LocalBinds{ ast.LocalBind{ - Variable: "ta", + VarFodder: ast.Fodder{}, + Variable: "arr", + EqFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1280), - Column: int(16), + Line: int(1348), + Column: int(17), }, End: ast.Location{ - Line: int(1280), - Column: int(27), + Line: int(1348), + Column: int(34), }, File: p1, }, - Ctx: p12791, + Fodder: ast.Fodder{}, + Ctx: p14545, FreeVars: ast.Identifiers{ - "a", + "f", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1280), - Column: int(16), + Line: int(1348), + Column: int(17), }, End: ast.Location{ - Line: int(1280), - Column: int(24), + Line: int(1348), + Column: int(26), }, File: p1, }, - Ctx: p12791, + Fodder: ast.Fodder{}, + Ctx: p14545, FreeVars: ast.Identifiers{ "std", }, @@ -142659,17 +183917,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1280), - Column: int(16), + Line: int(1348), + Column: int(17), }, End: ast.Location{ - Line: int(1280), - Column: int(19), + Line: int(1348), + Column: int(20), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -142677,6 +183936,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -142691,600 +183951,1198 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "split", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1280), - Column: int(25), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(27), + }, + End: ast.Location{ + Line: int(1348), + Column: int(28), + }, + File: p1, }, - End: ast.Location{ - Line: int(1280), - Column: int(26), + Fodder: ast.Fodder{}, + Ctx: p14554, + FreeVars: ast.Identifiers{ + "f", }, - File: p1, }, - Ctx: p12800, - FreeVars: ast.Identifiers{ - "a", + Id: "f", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1348), + Column: int(30), + }, + End: ast.Location{ + Line: int(1348), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14554, + FreeVars: nil, }, + Value: "/", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - 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(1348), + Column: int(11), + }, + End: ast.Location{ + Line: int(1348), + Column: int(34), + }, + File: p1, + }, }, }, - Body: &ast.Local{ + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1281), + Line: int(1349), Column: int(5), }, End: ast.Location{ - Line: int(1313), - Column: int(34), + Line: int(1349), + Column: int(80), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: p14541, FreeVars: ast.Identifiers{ - "a", - "b", + "arr", + "r", "std", - "ta", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "tb", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1281), - Column: int(16), - }, - End: ast.Location{ - Line: int(1281), - Column: int(27), - }, - File: p1, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(5), + }, + End: ast.Location{ + Line: int(1349), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14541, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(5), }, - Ctx: p12806, - FreeVars: ast.Identifiers{ - "b", - "std", + End: ast.Location{ + Line: int(1349), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, }, }, - Target: &ast.Index{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1281), - Column: int(16), + Line: int(1349), + Column: int(14), }, End: ast.Location{ - Line: int(1281), - Column: int(24), + Line: int(1349), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14567, + FreeVars: nil, + }, + 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(1349), + Column: int(19), + }, + End: ast.Location{ + Line: int(1349), + Column: int(79), }, File: p1, }, - Ctx: p12806, + Fodder: ast.Fodder{}, + Ctx: p14567, FreeVars: ast.Identifiers{ + "arr", + "r", "std", }, }, - Target: &ast.Var{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1281), - Column: int(16), + Line: int(1349), + Column: int(19), }, End: ast.Location{ - Line: int(1281), - Column: int(19), + Line: int(1349), + Column: int(73), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14567, FreeVars: ast.Identifiers{ + "arr", "std", }, }, - Id: "std", + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(19), + }, + End: ast.Location{ + Line: int(1349), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14567, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(19), + }, + End: ast.Location{ + Line: int(1349), + 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: nil, + }, + 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.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(33), + }, + End: ast.Location{ + Line: int(1349), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14579, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(33), + }, + End: ast.Location{ + Line: int(1349), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14579, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(33), + }, + End: ast.Location{ + Line: int(1349), + Column: int(43), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14579, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(33), + }, + End: ast.Location{ + Line: int(1349), + 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: nil, + }, + 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(1349), + Column: int(44), + }, + End: ast.Location{ + Line: int(1349), + Column: int(47), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14590, + 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(4), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(51), + }, + End: ast.Location{ + Line: int(1349), + Column: int(52), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14579, + FreeVars: nil, + }, + OriginalString: "1", + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Function{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(54), + }, + End: ast.Location{ + Line: int(1349), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14579, + 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(1349), + Column: int(63), + }, + End: ast.Location{ + Line: int(1349), + 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(1349), + Column: int(66), + }, + End: ast.Location{ + Line: int(1349), + Column: int(72), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14597, + FreeVars: ast.Identifiers{ + "arr", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(66), + }, + End: ast.Location{ + Line: int(1349), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14597, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(70), + }, + End: ast.Location{ + Line: int(1349), + Column: int(71), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14597, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1349), + Column: int(76), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1349), + Column: int(79), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14567, + FreeVars: ast.Identifiers{ + "r", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1281), - Column: int(25), - }, - End: ast.Location{ - Line: int(1281), - Column: int(26), + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1349), + Column: int(77), + }, + End: ast.Location{ + Line: int(1349), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14607, + FreeVars: ast.Identifiers{ + "r", + }, }, - File: p1, - }, - Ctx: p12815, - FreeVars: ast.Identifiers{ - "b", + Id: "r", }, + CommaFodder: nil, }, - Id: "b", }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, - Fun: nil, }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1347), + Column: int(3), + }, + End: ast.Location{ + Line: int(1349), + 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: nil, + }, + 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: p11, + FreeVars: ast.Identifiers{ + "$", + "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(1351), + Column: int(9), + }, + End: ast.Location{ + Line: int(1351), + Column: int(10), + }, + File: p1, }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(5), - }, - End: ast.Location{ - Line: int(1313), - Column: int(34), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - "tb", - }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1352), + Column: int(5), }, - Cond: &ast.Unary{ + End: ast.Location{ + Line: int(1368), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "$", + "a", + "std", + }, + }, + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: nil, + Variable: "isContent", + EqFodder: nil, + Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1282), - Column: int(8), + Line: int(1352), + Column: int(11), }, End: ast.Location{ - Line: int(1282), - Column: int(36), + Line: int(1360), + Column: int(13), }, File: p1, }, - Ctx: p12787, + Fodder: nil, + Ctx: p14619, FreeVars: ast.Identifiers{ "std", - "ta", - "tb", }, }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ + 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(1352), + Column: int(21), + }, + End: ast.Location{ + Line: int(1352), + Column: int(22), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1282), - Column: int(9), + Line: int(1353), + Column: int(7), }, End: ast.Location{ - Line: int(1282), - Column: int(36), + Line: int(1360), + Column: int(13), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p14624, FreeVars: ast.Identifiers{ + "b", "std", - "ta", - "tb", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1282), - Column: int(9), + Line: int(1353), + Column: int(10), }, End: ast.Location{ - Line: int(1282), - Column: int(28), + Line: int(1353), + Column: int(19), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ - "std", + "b", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1282), - Column: int(9), + Line: int(1353), + Column: int(10), }, End: ast.Location{ - Line: int(1282), - Column: int(12), + Line: int(1353), + Column: int(11), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ - "std", + "b", }, }, - Id: "std", + Id: "b", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralNull{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1353), + Column: int(15), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1353), + Column: int(19), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: nil, }, - Value: "primitiveEquals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(29), - }, - End: ast.Location{ - Line: int(1282), - Column: int(31), - }, - File: p1, - }, - Ctx: p12830, - FreeVars: ast.Identifiers{ - "ta", - }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralBoolean{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1354), + Column: int(9), + }, + End: ast.Location{ + Line: int(1354), + Column: int(14), }, - Id: "ta", + File: p1, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(33), - }, - End: ast.Location{ - Line: int(1282), - Column: int(35), - }, - File: p1, - }, - Ctx: p12830, - FreeVars: ast.Identifiers{ - "tb", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, - Id: "tb", }, + Ctx: p14624, + FreeVars: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1283), - Column: int(7), - }, - End: ast.Location{ - Line: int(1283), - Column: int(12), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: nil, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(7), - }, - End: ast.Location{ - Line: int(1313), - Column: int(34), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", + Value: false, }, - }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(10), - }, - End: ast.Location{ - Line: int(1285), - Column: int(42), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "std", - "ta", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Target: &ast.Index{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1285), - Column: int(10), + Line: int(1355), + Column: int(12), }, End: ast.Location{ - Line: int(1285), - Column: int(29), + Line: int(1360), + Column: int(13), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ + "b", "std", }, }, - Target: &ast.Var{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1285), - Column: int(10), + Line: int(1355), + Column: int(15), }, End: ast.Location{ - Line: int(1285), - Column: int(13), + Line: int(1355), + Column: int(29), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ + "b", "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "primitiveEquals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1285), - Column: int(30), + Line: int(1355), + Column: int(15), }, End: ast.Location{ - Line: int(1285), - Column: int(32), + Line: int(1355), + Column: int(26), }, File: p1, }, - Ctx: p12846, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ - "ta", + "std", }, }, - Id: "ta", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(34), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1355), + Column: int(15), + }, + End: ast.Location{ + Line: int(1355), + Column: int(18), + }, + File: p1, }, - End: ast.Location{ - Line: int(1285), - Column: int(41), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p12846, - FreeVars: nil, + Id: "std", }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(9), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "isArray", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - End: ast.Location{ - Line: int(1297), - Column: int(23), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1355), + Column: int(27), + }, + End: ast.Location{ + Line: int(1355), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14645, + FreeVars: ast.Identifiers{ + "b", + }, + }, + Id: "b", + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "la", - Body: &ast.Apply{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1356), + Column: int(9), + }, + End: ast.Location{ + Line: int(1356), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14624, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1286), - Column: int(20), + Line: int(1356), + Column: int(9), }, End: ast.Location{ - Line: int(1286), - Column: int(33), + Line: int(1356), + Column: int(22), }, File: p1, }, - Ctx: p12853, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ - "a", + "b", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1286), - Column: int(20), + Line: int(1356), + Column: int(9), }, End: ast.Location{ - Line: int(1286), - Column: int(30), + Line: int(1356), + Column: int(19), }, File: p1, }, - Ctx: p12853, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ "std", }, @@ -143292,17 +185150,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1286), - Column: int(20), + Line: int(1356), + Column: int(9), }, End: ast.Location{ - Line: int(1286), - Column: int(23), + Line: int(1356), + 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", @@ -143310,6 +185176,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -143324,127 +185191,143 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(31), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1356), + Column: int(20), + }, + End: ast.Location{ + Line: int(1356), + Column: int(21), + }, + File: p1, }, - End: ast.Location{ - Line: int(1286), - Column: int(32), + Fodder: ast.Fodder{}, + Ctx: p14659, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, - }, - Ctx: p12862, - FreeVars: ast.Identifiers{ - "a", }, + Id: "b", }, - Id: "a", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(9), - }, - End: ast.Location{ - Line: int(1297), - Column: int(23), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), + Right: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1356), + Column: int(25), + }, + End: ast.Location{ + Line: int(1356), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14624, + FreeVars: nil, }, - File: p1, + OriginalString: "0", }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "la", - "std", + }, + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Cond: &ast.Unary{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1287), + Line: int(1357), Column: int(12), }, End: ast.Location{ - Line: int(1287), - Column: int(51), + Line: int(1360), + Column: int(13), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ "b", - "la", "std", }, }, - Op: ast.UnaryOp(0), - Expr: &ast.Apply{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1287), - Column: int(13), + Line: int(1357), + Column: int(15), }, End: ast.Location{ - Line: int(1287), - Column: int(51), + Line: int(1357), + Column: int(30), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ "b", - "la", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1287), - Column: int(13), + Line: int(1357), + Column: int(15), }, End: ast.Location{ - Line: int(1287), - Column: int(32), + Line: int(1357), + Column: int(27), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: p14624, FreeVars: ast.Identifiers{ "std", }, @@ -143452,17 +185335,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1287), - Column: int(13), + Line: int(1357), + Column: int(15), }, End: ast.Location{ - Line: int(1287), - Column: int(16), + Line: int(1357), + Column: int(18), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -143470,6 +185354,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -143484,1364 +185369,1360 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "primitiveEquals", + Value: "isObject", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(33), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1357), + Column: int(28), + }, + End: ast.Location{ + Line: int(1357), + Column: int(29), + }, + File: p1, }, - End: ast.Location{ - Line: int(1287), - Column: int(35), + Fodder: ast.Fodder{}, + Ctx: p14674, + FreeVars: ast.Identifiers{ + "b", }, - File: p1, }, - Ctx: p12877, - FreeVars: ast.Identifiers{ - "la", + 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(1358), + Column: int(9), + }, + End: ast.Location{ + Line: int(1358), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14624, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(9), + }, + End: ast.Location{ + Line: int(1358), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14624, + FreeVars: ast.Identifiers{ + "b", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1358), + Column: int(9), + }, + End: ast.Location{ + Line: int(1358), + Column: int(19), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14624, + FreeVars: ast.Identifiers{ + "std", }, - Id: "la", }, - &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1287), - Column: int(37), + Line: int(1358), + Column: int(9), }, End: ast.Location{ - Line: int(1287), - Column: int(50), + Line: int(1358), + Column: int(12), }, File: p1, }, - Ctx: p12877, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: nil, FreeVars: ast.Identifiers{ - "b", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(37), - }, - End: ast.Location{ - Line: int(1287), - Column: int(47), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p12877, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1287), - Column: int(37), + Line: int(1358), + Column: int(20), }, End: ast.Location{ - Line: int(1287), - Column: int(40), + Line: int(1358), + Column: int(21), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14688, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "b", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "b", }, - Id: nil, + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(48), - }, - End: ast.Location{ - Line: int(1287), - Column: int(49), - }, - File: p1, - }, - Ctx: p12888, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: 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(1358), + Column: int(25), }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(1358), + Column: int(26), + }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p14624, + FreeVars: nil, }, - Named: nil, + OriginalString: "0", }, - TrailingComma: false, - TailStrict: false, + }, + 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(1360), + Column: int(9), + }, + End: ast.Location{ + Line: int(1360), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p14624, + FreeVars: nil, + }, + Value: true, }, }, - BranchTrue: &ast.LiteralBoolean{ + }, + }, + }, + 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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(5), + }, + End: ast.Location{ + Line: int(1368), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "$", + "a", + "isContent", + "std", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(8), + }, + End: ast.Location{ + Line: int(1361), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(8), + }, + End: ast.Location{ + Line: int(1361), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1361), + Column: int(8), + }, + End: ast.Location{ + Line: int(1361), + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1288), - Column: int(11), + Line: int(1361), + Column: int(20), }, End: ast.Location{ - Line: int(1288), - Column: int(16), + Line: int(1361), + Column: int(21), }, File: p1, }, - Ctx: p12787, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p14706, + FreeVars: ast.Identifiers{ + "a", + }, }, - Value: false, + Id: "a", }, - BranchFalse: &ast.Local{ + 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(1362), + Column: int(7), + }, + End: ast.Location{ + Line: int(1362), + Column: int(57), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "a", + "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, + }, + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1290), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1297), - Column: int(23), + 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(1362), + Column: int(35), + }, + End: ast.Location{ + Line: int(1362), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "$", + "isContent", + "x", + }, }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "la", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1290), - Column: int(17), + Line: int(1362), + Column: int(35), }, End: ast.Location{ - Line: int(1296), - Column: int(31), + Line: int(1362), + Column: int(44), }, File: p1, }, - Ctx: p12895, + Fodder: ast.Fodder{}, + Ctx: p14615, FreeVars: ast.Identifiers{ - "aux", - "la", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - "i", + "isContent", }, - Optional: nil, }, - TrailingComma: false, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(13), - }, - End: ast.Location{ - Line: int(1296), - Column: int(31), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - "la", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(16), - }, - End: ast.Location{ - Line: int(1291), - Column: int(23), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "i", - "la", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(16), - }, - End: ast.Location{ - Line: int(1291), - Column: int(17), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(21), - }, - End: ast.Location{ - Line: int(1291), - Column: int(23), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "la", - }, - }, - Id: "la", - }, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1292), - Column: int(15), - }, - End: ast.Location{ - Line: int(1292), - Column: int(19), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: nil, - }, - Value: true, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(18), - }, - End: ast.Location{ - Line: int(1296), - Column: int(31), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - }, - Cond: &ast.Binary{ + Id: "isContent", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1293), - Column: int(21), + Line: int(1362), + Column: int(45), }, End: ast.Location{ - Line: int(1293), - Column: int(33), + Line: int(1362), + Column: int(55), }, File: p1, }, - Ctx: p12899, + Fodder: ast.Fodder{}, + Ctx: p14727, FreeVars: ast.Identifiers{ - "a", - "b", - "i", + "$", + "x", }, }, - Left: &ast.Index{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1293), - Column: int(21), + Line: int(1362), + Column: int(45), }, End: ast.Location{ - Line: int(1293), - Column: int(25), + Line: int(1362), + Column: int(52), }, File: p1, }, - Ctx: p12899, + Fodder: ast.Fodder{}, + Ctx: p14727, FreeVars: ast.Identifiers{ - "a", - "i", + "$", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1293), - Column: int(21), + Line: int(1362), + Column: int(45), }, End: ast.Location{ - Line: int(1293), - Column: int(22), + Line: int(1362), + Column: int(46), }, File: p1, }, - Ctx: p12899, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", + "$", }, }, - Id: "a", + Id: "$", }, - Index: &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1293), - Column: int(23), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1293), - Column: int(24), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "i", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "i", + Value: "prune", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(29), - }, - End: ast.Location{ - Line: int(1293), - Column: int(33), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "b", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(29), - }, - End: ast.Location{ - Line: int(1293), - Column: int(30), - }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(31), - }, - End: ast.Location{ - Line: int(1293), - Column: int(32), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(53), + }, + End: ast.Location{ + Line: int(1362), + Column: int(54), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14736, + FreeVars: ast.Identifiers{ + "x", + }, }, - File: p1, - }, - Ctx: p12899, - FreeVars: ast.Identifiers{ - "i", + Id: "x", }, + CommaFodder: nil, }, - Id: "i", }, - Id: nil, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1294), - Column: int(15), - }, - End: ast.Location{ - Line: int(1294), - Column: int(20), - }, - File: p1, + 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(1362), + Column: int(8), }, - Ctx: p12899, - FreeVars: nil, + End: ast.Location{ + Line: int(1362), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14742, + FreeVars: ast.Identifiers{ + "std", + "x", }, - Value: false, }, - BranchFalse: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1296), - Column: int(15), + Line: int(1362), + Column: int(8), }, End: ast.Location{ - Line: int(1296), - Column: int(31), + Line: int(1362), + Column: int(17), }, File: p1, }, - Ctx: p12899, + Fodder: ast.Fodder{}, + Ctx: p14742, FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1296), - Column: int(15), + Line: int(1362), + Column: int(8), }, End: ast.Location{ - Line: int(1296), - Column: int(18), + Line: int(1362), + Column: int(11), }, File: p1, }, - Ctx: p12899, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "aux", + "std", }, }, - Id: "aux", + Id: "std", }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(19), - }, - End: ast.Location{ - Line: int(1296), - Column: int(20), - }, - File: p1, - }, - Ctx: p12931, - FreeVars: ast.Identifiers{ - "a", - }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(22), - }, - End: ast.Location{ - Line: int(1296), - Column: int(23), - }, - File: p1, - }, - Ctx: p12931, - FreeVars: ast.Identifiers{ - "b", - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: "b", + File: nil, }, - &ast.Binary{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1296), - Column: int(25), + Line: int(1362), + Column: int(18), }, End: ast.Location{ - Line: int(1296), - Column: int(30), + Line: int(1362), + Column: int(19), }, File: p1, }, - Ctx: p12931, + Fodder: ast.Fodder{}, + Ctx: p14751, FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &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(26), - }, - File: p1, - }, - Ctx: p12931, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1296), - Column: int(29), - }, - End: ast.Location{ - Line: int(1296), - Column: int(30), - }, - File: p1, - }, - Ctx: p12931, - FreeVars: nil, + "x", }, - Value: float64(1), - OriginalString: "1", }, + Id: "x", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: true, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, + CommaFodder: nil, }, }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(11), - }, - End: ast.Location{ - Line: int(1297), - Column: int(23), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, + TrailingComma: false, + CloseFodder: nil, }, - Target: &ast.Var{ + ElseFodder: nil, + BranchFalse: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1297), - Column: int(11), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1297), - Column: int(14), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "aux", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Id: "aux", + Elements: nil, + TrailingComma: false, + CloseFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(15), - }, - End: ast.Location{ - Line: int(1297), - Column: int(16), - }, - File: p1, - }, - Ctx: p12946, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(18), - }, - End: ast.Location{ - Line: int(1297), - Column: int(19), - }, - File: p1, - }, - Ctx: p12946, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(21), - }, - End: ast.Location{ - Line: int(1297), - Column: int(22), - }, - File: p1, - }, - Ctx: p12946, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, + }, + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1362), + Column: int(30), }, - Named: nil, + End: ast.Location{ + Line: int(1362), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "a", }, - TrailingComma: false, - TailStrict: false, }, + Id: "a", }, + CommaFodder: nil, }, }, - BranchFalse: &ast.Conditional{ + 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(1363), + Column: int(10), + }, + End: ast.Location{ + Line: int(1368), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "$", + "a", + "isContent", + "std", + }, + }, + Cond: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1363), + Column: int(13), + }, + End: ast.Location{ + Line: int(1363), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "a", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1298), - Column: int(12), + Line: int(1363), + Column: int(13), }, End: ast.Location{ - Line: int(1313), - Column: int(34), + Line: int(1363), + Column: int(25), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: p14615, FreeVars: ast.Identifiers{ - "a", - "b", "std", - "ta", }, }, - Cond: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1298), - Column: int(15), + Line: int(1363), + Column: int(13), }, End: ast.Location{ - Line: int(1298), - Column: int(48), + Line: int(1363), + Column: int(16), }, File: p1, }, - Ctx: p12787, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", - "ta", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(15), - }, - End: ast.Location{ - Line: int(1298), - Column: int(34), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Target: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1298), - Column: int(15), + Line: int(1363), + Column: int(26), }, End: ast.Location{ - Line: int(1298), - Column: int(18), + Line: int(1363), + Column: int(27), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14768, FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, + "a", }, - Ctx: nil, - FreeVars: nil, }, - Value: "primitiveEquals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "a", }, - Id: nil, + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(35), - }, - End: ast.Location{ - Line: int(1298), - Column: int(37), - }, - File: p1, - }, - Ctx: p12962, - FreeVars: ast.Identifiers{ - "ta", - }, - }, - Id: "ta", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(39), - }, - End: ast.Location{ - Line: int(1298), - Column: int(47), - }, - File: p1, - }, - Ctx: p12962, - FreeVars: nil, - }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, + }, + 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(1363), + Column: int(34), + }, + End: ast.Location{ + Line: int(1367), + Column: int(6), + }, + File: p1, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "$", + "a", + "isContent", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Named: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - TrailingComma: false, - TailStrict: false, }, - BranchTrue: &ast.Local{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1299), - Column: int(9), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1311), - Column: int(23), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12787, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "a", - "b", "std", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "fields", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(24), - }, - End: ast.Location{ - Line: int(1299), - Column: int(43), - }, - File: p1, - }, - Ctx: p12969, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(24), - }, - End: ast.Location{ - Line: int(1299), - Column: int(40), - }, - File: p1, - }, - Ctx: p12969, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(24), - }, - End: ast.Location{ - Line: int(1299), - Column: int(27), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(41), - }, - End: ast.Location{ - Line: int(1299), - Column: int(42), - }, - File: p1, - }, - Ctx: p12978, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(9), - }, - End: ast.Location{ - Line: int(1311), - Column: int(23), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "std", + Id: "std", + }, + LeftBracketFodder: nil, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "lfields", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(25), - }, - End: ast.Location{ - Line: int(1300), - Column: int(43), - }, - File: p1, - }, - Ctx: p12984, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(25), - }, - End: ast.Location{ - Line: int(1300), - Column: int(35), - }, - File: p1, - }, - Ctx: p12984, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(25), - }, - End: ast.Location{ - Line: int(1300), - Column: int(28), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(36), - }, - End: ast.Location{ - Line: int(1300), - Column: int(42), - }, - File: p1, - }, - Ctx: p12993, - FreeVars: ast.Identifiers{ - "fields", - }, - }, - Id: "fields", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Body: &ast.Conditional{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1301), - Column: int(9), + Line: int(1363), + Column: int(34), }, End: ast.Location{ - Line: int(1311), - Column: int(23), + Line: int(1367), + Column: int(6), }, File: p1, }, - Ctx: p12787, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "$", "a", - "b", - "fields", - "lfields", + "isContent", "std", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1301), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1301), - Column: int(41), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12787, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "b", - "fields", "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1301), - Column: int(12), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1301), - Column: int(18), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p12787, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "fields", + "std", }, }, - Id: "fields", + Id: "std", }, - Op: ast.BinaryOp(13), - Right: &ast.Apply{ + LeftBracketFodder: nil, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1301), - Column: int(22), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1301), - Column: int(41), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "b", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(22), - }, - End: ast.Location{ - Line: int(1301), - Column: int(38), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(22), - }, - End: ast.Location{ - Line: int(1301), - Column: int(25), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ + 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: "", @@ -144855,930 +186736,787 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: nil, + FreeVars: ast.Identifiers{ + "$", + "a", + "isContent", + "std", + }, }, - Value: "objectFields", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ + ParenLeftFodder: nil, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: nil, + Name: "x", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1301), - Column: int(39), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1301), - Column: int(40), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p13010, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(11), - }, - End: ast.Location{ - Line: int(1302), - Column: int(16), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: nil, - }, - Value: false, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1304), - Column: int(11), - }, - End: ast.Location{ - Line: int(1311), - Column: int(23), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "lfields", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "aux", - Body: &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1304), - Column: int(17), - }, - End: ast.Location{ - Line: int(1310), - Column: int(31), + File: nil, }, - File: p1, - }, - Ctx: p13017, - FreeVars: ast.Identifiers{ - "aux", - "fields", - "lfields", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - "b", - "i", }, - Optional: nil, }, TrailingComma: false, + ParenRightFodder: nil, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1305), - Column: int(13), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1310), - Column: int(31), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p13021, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ + "$", "a", - "aux", - "b", - "fields", - "i", - "lfields", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(16), - }, - End: ast.Location{ - Line: int(1305), - Column: int(28), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "i", - "lfields", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(16), - }, - End: ast.Location{ - Line: int(1305), - Column: int(17), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(8), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(21), - }, - End: ast.Location{ - Line: int(1305), - Column: int(28), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "lfields", - }, - }, - Id: "lfields", - }, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1306), - Column: int(15), - }, - End: ast.Location{ - Line: int(1306), - Column: int(19), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: nil, + "isContent", + "std", + "x", }, - Value: true, }, - BranchFalse: &ast.Conditional{ + Cond: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1307), - Column: int(18), + Line: int(1366), + Column: int(10), }, End: ast.Location{ - Line: int(1310), - Column: int(31), + Line: int(1366), + Column: int(36), }, File: p1, }, - Ctx: p13021, + Fodder: ast.Fodder{}, + Ctx: p14615, FreeVars: ast.Identifiers{ "a", - "aux", - "b", - "fields", - "i", + "isContent", + "std", + "x", }, }, - Cond: &ast.Local{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1307), - Column: int(21), + Line: int(1366), + Column: int(10), }, End: ast.Location{ - Line: int(1307), - Column: int(54), + Line: int(1366), + Column: int(19), }, File: p1, }, - Ctx: p13021, + Fodder: ast.Fodder{}, + Ctx: p14615, FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "i", + "isContent", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "f", - Body: &ast.Index{ + Id: "isContent", + }, + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1307), - Column: int(31), + Line: int(1366), + Column: int(20), }, End: ast.Location{ - Line: int(1307), - Column: int(40), + Line: int(1366), + Column: int(35), }, File: p1, }, - Ctx: p13036, + Fodder: ast.Fodder{}, + Ctx: p14797, FreeVars: ast.Identifiers{ - "fields", - "i", + "a", + "std", + "x", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1307), - Column: int(31), + Line: int(1366), + Column: int(20), }, End: ast.Location{ - Line: int(1307), - Column: int(37), + Line: int(1366), + Column: int(29), }, File: p1, }, - Ctx: p13036, + Fodder: ast.Fodder{}, + Ctx: p14797, FreeVars: ast.Identifiers{ - "fields", + "std", }, }, - Id: "fields", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(38), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(20), + }, + End: ast.Location{ + Line: int(1366), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(1307), - Column: int(39), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: p1, }, - Ctx: p13036, - FreeVars: ast.Identifiers{ - "i", + 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: nil, }, + Value: "prune", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Id: "i", + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - 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(1366), + Column: int(30), + }, + End: ast.Location{ + Line: int(1366), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14806, + FreeVars: ast.Identifiers{ + "a", + "x", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(30), + }, + End: ast.Location{ + Line: int(1366), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14806, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1366), + Column: int(32), + }, + End: ast.Location{ + Line: int(1366), + Column: int(33), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14806, + FreeVars: ast.Identifiers{ + "x", + }, + }, + Id: "x", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, + CommaFodder: nil, }, }, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(42), - }, - End: ast.Location{ - Line: int(1307), - Column: int(54), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "a", - "b", - "f", - }, + 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), }, - Left: &ast.Index{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1307), - Column: int(42), + Line: int(1363), + Column: int(34), }, End: ast.Location{ - Line: int(1307), - Column: int(46), + Line: int(1367), + Column: int(6), }, File: p1, }, - Ctx: p13021, + Fodder: ast.Fodder{}, + Ctx: p14615, FreeVars: ast.Identifiers{ + "$", "a", - "f", + "x", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(42), - }, - End: ast.Location{ - Line: int(1307), - Column: int(43), + 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(1364), + Column: int(8), + }, + End: ast.Location{ + Line: int(1364), + Column: int(9), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "x", + }, }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "a", + Id: "x", }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(44), - }, - End: ast.Location{ - Line: int(1307), - Column: int(45), + Body: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1364), + Column: int(12), + }, + End: ast.Location{ + Line: int(1364), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14821, + FreeVars: ast.Identifiers{ + "$", + "a", + "x", + }, }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - Id: nil, - }, - Op: ast.BinaryOp(13), - Right: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(50), - }, - End: ast.Location{ - Line: int(1307), - Column: int(54), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "b", - "f", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(50), + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1364), + Column: int(12), + }, + End: ast.Location{ + Line: int(1364), + Column: int(19), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14821, + FreeVars: ast.Identifiers{ + "$", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1364), + Column: int(12), + }, + End: ast.Location{ + Line: int(1364), + 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: nil, + }, + Value: "prune", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - End: ast.Location{ - Line: int(1307), - Column: int(51), + 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(1364), + Column: int(20), + }, + End: ast.Location{ + Line: int(1364), + Column: int(24), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14830, + FreeVars: ast.Identifiers{ + "a", + "x", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1364), + Column: int(20), + }, + End: ast.Location{ + Line: int(1364), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14830, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1364), + Column: int(22), + }, + End: ast.Location{ + Line: int(1364), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14830, + FreeVars: ast.Identifiers{ + "x", + }, + }, + Id: "x", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, + }, + CommaFodder: nil, + }, + }, + Named: nil, }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "b", + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - }, - Id: "b", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1307), - Column: int(52), + Line: int(1364), + Column: int(7), }, End: ast.Location{ - Line: int(1307), - Column: int(53), + Line: int(1364), + Column: int(25), }, File: p1, }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "f", - }, }, - Id: "f", - }, - Id: nil, - }, - }, - }, - BranchTrue: &ast.LiteralBoolean{ - 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, + Locals: ast.LocalBinds{}, }, - Ctx: p13021, - FreeVars: nil, + CommaFodder: nil, }, - Value: false, }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(15), - }, - End: ast.Location{ - Line: int(1310), - Column: int(31), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(15), - }, - End: ast.Location{ - Line: int(1310), - Column: int(18), - }, - File: p1, - }, - Ctx: p13021, - FreeVars: ast.Identifiers{ - "aux", - }, + 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), }, - Id: "aux", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(19), - }, - End: ast.Location{ - Line: int(1310), - Column: int(20), - }, - File: p1, - }, - Ctx: p13063, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(22), - }, - End: ast.Location{ - Line: int(1310), - Column: int(23), - }, - File: p1, - }, - Ctx: p13063, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(25), - }, - End: ast.Location{ - Line: int(1310), - Column: int(30), - }, - File: p1, - }, - Ctx: p13063, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(25), - }, - End: ast.Location{ - Line: int(1310), - Column: int(26), - }, - File: p1, - }, - Ctx: p13063, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Op: ast.BinaryOp(3), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(29), - }, - End: ast.Location{ - Line: int(1310), - Column: int(30), - }, - File: p1, - }, - Ctx: p13063, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Named: nil, + File: nil, }, - TrailingComma: false, - TailStrict: true, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, + Elements: nil, + TrailingComma: false, + CloseFodder: nil, }, }, }, - Fun: nil, - }, - }, - Body: &ast.Apply{ - 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, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - }, - 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(14), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "aux", - }, - }, - Id: "aux", + CommaFodder: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(15), - }, - End: ast.Location{ - Line: int(1311), - Column: int(16), - }, - File: p1, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1365), + Column: int(16), }, - Ctx: p13078, - FreeVars: ast.Identifiers{ - "a", + End: ast.Location{ + Line: int(1365), + Column: int(35), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "a", + "std", }, - Id: "a", }, - &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1311), - Column: int(18), + Line: int(1365), + Column: int(16), }, End: ast.Location{ - Line: int(1311), - Column: int(19), + Line: int(1365), + Column: int(32), }, File: p1, }, - Ctx: p13078, + Fodder: ast.Fodder{}, + Ctx: p14615, FreeVars: ast.Identifiers{ - "b", + "std", }, }, - Id: "b", - }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(21), - }, - End: ast.Location{ - Line: int(1311), - Column: int(22), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1365), + Column: int(16), + }, + End: ast.Location{ + Line: int(1365), + Column: int(19), + }, + File: p1, }, - File: p1, - }, - Ctx: p13078, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(9), - }, - End: ast.Location{ - Line: int(1313), - Column: int(34), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(9), - }, - End: ast.Location{ - Line: int(1313), - Column: int(28), - }, - File: p1, - }, - Ctx: p12787, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(9), - }, - End: ast.Location{ - Line: int(1313), - Column: int(12), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "primitiveEquals", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: p13092, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(32), - }, - End: ast.Location{ - Line: int(1313), - Column: int(33), + 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: nil, + }, + 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(1365), + Column: int(33), + }, + End: ast.Location{ + Line: int(1365), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14846, + FreeVars: ast.Identifiers{ + "a", + }, + }, + Id: "a", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - File: p1, - }, - Ctx: p13092, - FreeVars: ast.Identifiers{ - "b", + CommaFodder: nil, }, }, - Id: "b", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - Named: nil, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, + }, + ElseFodder: ast.Fodder{}, + BranchFalse: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1368), + Column: int(7), + }, + End: ast.Location{ + Line: int(1368), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - TrailingComma: false, - TailStrict: false, + }, + Ctx: p14615, + FreeVars: ast.Identifiers{ + "a", }, }, + Id: "a", }, }, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1351), + Column: int(3), + }, + End: ast.Location{ + Line: int(1368), + Column: int(8), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -145796,12 +187534,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "resolvePath", + Value: "findSubstr", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -145817,78 +187557,345 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "f", - "r", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "pat", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(14), + }, + End: ast.Location{ + Line: int(1370), + Column: int(17), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "str", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1370), + Column: int(19), + }, + End: ast.Location{ + Line: int(1370), + Column: int(22), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Local{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1317), + Line: int(1371), Column: int(5), }, End: ast.Location{ - Line: int(1318), - Column: int(80), + Line: int(1381), + Column: int(91), }, File: p1, }, - Ctx: p13101, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p14857, FreeVars: ast.Identifiers{ - "f", - "r", + "pat", "std", + "str", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "arr", - Body: &ast.Apply{ + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1371), + Column: int(8), + }, + End: ast.Location{ + Line: int(1371), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1371), + Column: int(9), + }, + End: ast.Location{ + Line: int(1371), + Column: int(26), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1317), - Column: int(17), + Line: int(1371), + Column: int(9), }, End: ast.Location{ - Line: int(1317), - Column: int(34), + Line: int(1371), + Column: int(21), }, File: p1, }, - Ctx: p13105, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "f", + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1371), + Column: int(9), + }, + End: ast.Location{ + Line: int(1371), + 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: nil, + }, + 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(1371), + Column: int(22), + }, + End: ast.Location{ + Line: int(1371), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14870, + FreeVars: ast.Identifiers{ + "pat", + }, + }, + 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(1372), + Column: int(7), + }, + End: ast.Location{ + Line: int(1372), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1372), + Column: int(13), + }, + End: ast.Location{ + Line: int(1372), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", + "std", + }, + }, + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1372), + Column: int(13), + }, + End: ast.Location{ + Line: int(1372), + Column: int(66), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: nil, + }, + Value: "findSubstr 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(1372), + Column: int(69), + }, + End: ast.Location{ + Line: int(1372), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1317), - Column: int(17), + Line: int(1372), + Column: int(69), }, End: ast.Location{ - Line: int(1317), - Column: int(26), + Line: int(1372), + Column: int(77), }, File: p1, }, - Ctx: p13105, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ "std", }, @@ -145896,17 +187903,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1317), - Column: int(17), + Line: int(1372), + Column: int(69), }, End: ast.Location{ - Line: int(1317), - Column: int(20), + Line: int(1372), + Column: int(72), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -145914,6 +187922,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -145928,1771 +187937,1189 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "split", + Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(27), - }, - End: ast.Location{ - Line: int(1317), - Column: int(28), - }, - File: p1, - }, - Ctx: p13114, - FreeVars: ast.Identifiers{ - "f", - }, - }, - Id: "f", - }, - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(30), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1372), + Column: int(78), + }, + End: ast.Location{ + Line: int(1372), + Column: int(81), + }, + File: p1, }, - End: ast.Location{ - Line: int(1317), - Column: int(33), + Fodder: ast.Fodder{}, + Ctx: p14887, + FreeVars: ast.Identifiers{ + "pat", }, - File: p1, }, - Ctx: p13114, - FreeVars: nil, + Id: "pat", }, - Value: "/", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Fun: nil, }, }, - Body: &ast.Apply{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1318), - Column: int(5), + Line: int(1373), + Column: int(10), }, End: ast.Location{ - Line: int(1318), - Column: int(80), + Line: int(1381), + Column: int(91), }, File: p1, }, - Ctx: p13101, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "arr", - "r", + "pat", "std", + "str", }, }, - Target: &ast.Index{ + Cond: &ast.Unary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1318), - Column: int(5), + Line: int(1373), + Column: int(13), }, End: ast.Location{ - Line: int(1318), - Column: int(13), + Line: int(1373), + Column: int(31), }, File: p1, }, - Ctx: p13101, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ "std", + "str", }, }, - Target: &ast.Var{ + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1318), - Column: int(5), + Line: int(1373), + Column: int(14), }, End: ast.Location{ - Line: int(1318), - Column: int(8), + Line: int(1373), + Column: int(31), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ "std", + "str", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "join", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1318), + Line: int(1373), Column: int(14), }, End: ast.Location{ - Line: int(1318), - Column: int(17), - }, - File: p1, - }, - Ctx: p13126, - FreeVars: nil, - }, - Value: "/", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(19), - }, - End: ast.Location{ - Line: int(1318), - Column: int(79), + Line: int(1373), + Column: int(26), }, File: p1, }, - Ctx: p13126, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "arr", - "r", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1318), - Column: int(19), + Line: int(1373), + Column: int(14), }, End: ast.Location{ - Line: int(1318), - Column: int(73), + Line: int(1373), + Column: int(17), }, File: p1, }, - Ctx: p13126, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(19), - }, - End: ast.Location{ - Line: int(1318), - Column: int(32), - }, - File: p1, - }, - Ctx: p13126, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(19), - }, - End: ast.Location{ - Line: int(1318), - Column: int(22), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "makeArray", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(33), - }, - End: ast.Location{ - Line: int(1318), - Column: int(52), - }, - File: p1, - }, - Ctx: p13138, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(33), - }, - End: ast.Location{ - Line: int(1318), - Column: int(48), - }, - File: p1, - }, - Ctx: p13138, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(33), - }, - End: ast.Location{ - Line: int(1318), - Column: int(43), - }, - File: p1, - }, - Ctx: p13138, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(33), - }, - End: ast.Location{ - Line: int(1318), - Column: int(36), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(44), - }, - End: ast.Location{ - Line: int(1318), - Column: int(47), - }, - File: p1, - }, - Ctx: p13149, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(51), - }, - End: ast.Location{ - Line: int(1318), - Column: int(52), - }, - File: p1, - }, - Ctx: p13138, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, - }, - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(54), - }, - End: ast.Location{ - Line: int(1318), - Column: int(72), - }, - File: p1, - }, - Ctx: p13138, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(66), - }, - End: ast.Location{ - Line: int(1318), - Column: int(72), - }, - File: p1, - }, - Ctx: p13156, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(66), - }, - End: ast.Location{ - Line: int(1318), - Column: int(69), - }, - File: p1, - }, - Ctx: p13156, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(70), - }, - End: ast.Location{ - Line: int(1318), - Column: int(71), - }, - File: p1, - }, - Ctx: p13156, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Array{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1318), - Column: int(76), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1318), - Column: int(79), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p13126, - FreeVars: ast.Identifiers{ - "r", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Elements: ast.Nodes{ - &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1318), - Column: int(77), + Line: int(1373), + Column: int(27), }, End: ast.Location{ - Line: int(1318), - Column: int(78), + Line: int(1373), + Column: int(30), }, File: p1, }, - Ctx: p13166, + Fodder: ast.Fodder{}, + Ctx: p14903, FreeVars: ast.Identifiers{ - "r", + "str", }, }, - Id: "r", + Id: "str", }, + CommaFodder: nil, }, - TrailingComma: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - }, - PlusSuper: false, - }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - 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, - }, - Ctx: p8, - FreeVars: ast.Identifiers{ - "$", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "a", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(5), - }, - End: ast.Location{ - Line: int(1339), - Column: int(8), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(7), + }, + End: ast.Location{ + Line: int(1374), + Column: int(83), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "std", + "str", + }, }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "$", - "a", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "isContent", - Body: &ast.Function{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1321), - Column: int(11), + Line: int(1374), + Column: int(13), }, End: ast.Location{ - Line: int(1330), - Column: int(13), + Line: int(1374), + Column: int(83), }, File: p1, }, - Ctx: p13177, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ "std", + "str", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "b", + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(13), + }, + End: ast.Location{ + Line: int(1374), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: nil, }, - Optional: nil, + Value: "findSubstr second parameter should be a string, got ", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - TrailingComma: false, - Body: &ast.Local{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1322), - Column: int(7), + Line: int(1374), + Column: int(70), }, End: ast.Location{ - Line: int(1330), - Column: int(13), + Line: int(1374), + Column: int(83), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "b", "std", + "str", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "t", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1322), - Column: int(17), - }, - End: ast.Location{ - Line: int(1322), - Column: int(28), - }, - File: p1, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(70), + }, + End: ast.Location{ + Line: int(1374), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1374), + Column: int(70), }, - Ctx: p13185, - FreeVars: ast.Identifiers{ - "b", - "std", + End: ast.Location{ + Line: int(1374), + Column: int(73), }, + File: p1, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1322), - Column: int(17), - }, - End: ast.Location{ - Line: int(1322), - Column: int(25), - }, - File: p1, - }, - Ctx: p13185, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1322), - Column: int(17), - }, - End: ast.Location{ - Line: int(1322), - Column: int(20), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", + 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), }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(0), + Column: int(0), }, - Id: nil, + File: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1322), - Column: int(26), - }, - End: ast.Location{ - Line: int(1322), - Column: int(27), - }, - File: p1, - }, - Ctx: p13194, - FreeVars: ast.Identifiers{ - "b", - }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(1374), + Column: int(79), }, - Id: "b", + End: ast.Location{ + Line: int(1374), + Column: int(82), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14920, + FreeVars: ast.Identifiers{ + "str", }, }, - Named: nil, + Id: "str", }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, - Fun: nil, }, + Named: nil, }, - Body: &ast.Conditional{ + 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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1376), + Column: int(7), + }, + End: ast.Location{ + Line: int(1381), + Column: int(91), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", + "std", + "str", + }, + }, + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "pat_len", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1323), - Column: int(7), + Line: int(1376), + Column: int(23), }, End: ast.Location{ - Line: int(1330), - Column: int(13), + Line: int(1376), + Column: int(38), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14928, FreeVars: ast.Identifiers{ - "b", + "pat", "std", - "t", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1323), - Column: int(10), + Line: int(1376), + Column: int(23), }, End: ast.Location{ - Line: int(1323), - Column: int(19), + Line: int(1376), + Column: int(33), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14928, FreeVars: ast.Identifiers{ - "b", + "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1323), - Column: int(10), + Line: int(1376), + Column: int(23), }, End: ast.Location{ - Line: int(1323), - Column: int(11), + Line: int(1376), + Column: int(26), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "b", + "std", }, }, - Id: "b", + Id: "std", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNull{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1323), - Column: int(15), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1323), - Column: int(19), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p13181, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, + Value: "length", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1324), - Column: int(9), - }, - End: ast.Location{ - Line: int(1324), - Column: int(14), + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1376), + Column: int(34), + }, + End: ast.Location{ + Line: int(1376), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14937, + FreeVars: ast.Identifiers{ + "pat", + }, + }, + Id: "pat", }, - File: p1, + CommaFodder: nil, }, - Ctx: p13181, - FreeVars: nil, }, - Value: false, + Named: nil, }, - BranchFalse: &ast.Conditional{ + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1376), + Column: int(13), + }, + End: ast.Location{ + Line: int(1376), + Column: int(38), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1377), + Column: int(7), + }, + End: ast.Location{ + Line: int(1381), + Column: int(91), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "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: "", + FileName: "", Begin: ast.Location{ - Line: int(1325), - Column: int(12), + Line: int(1377), + Column: int(23), }, End: ast.Location{ - Line: int(1330), - Column: int(13), + Line: int(1377), + Column: int(38), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14944, FreeVars: ast.Identifiers{ - "b", "std", - "t", + "str", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1325), - Column: int(15), + Line: int(1377), + Column: int(23), }, End: ast.Location{ - Line: int(1325), - Column: int(27), + Line: int(1377), + Column: int(33), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14944, FreeVars: ast.Identifiers{ - "t", + "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1325), - Column: int(15), + Line: int(1377), + Column: int(23), }, End: ast.Location{ - Line: int(1325), - Column: int(16), + Line: int(1377), + Column: int(26), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "t", + "std", }, }, - Id: "t", + Id: "std", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1325), - Column: int(20), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1325), - Column: int(27), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p13181, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "array", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.Binary{ + FodderLeft: ast.Fodder{}, + Arguments: ast.Arguments{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1377), + Column: int(34), + }, + End: ast.Location{ + Line: int(1377), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14953, + 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(1377), + Column: int(13), + }, + End: ast.Location{ + Line: int(1377), + Column: int(38), + }, + 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(1381), + Column: int(91), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", + "pat_len", + "std", + "str", + "str_len", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1378), + Column: int(10), + }, + End: ast.Location{ + Line: int(1378), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat_len", + "str_len", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1378), + Column: int(10), + }, + End: ast.Location{ + Line: int(1378), + Column: int(38), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat_len", + "str_len", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1326), - Column: int(9), + Line: int(1378), + Column: int(10), }, End: ast.Location{ - Line: int(1326), - Column: int(26), + Line: int(1378), + Column: int(22), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "b", - "std", + "pat_len", }, }, - Left: &ast.Apply{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1326), - Column: int(9), + Line: int(1378), + Column: int(10), }, End: ast.Location{ - Line: int(1326), - Column: int(22), + Line: int(1378), + Column: int(17), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1326), - Column: int(9), - }, - End: ast.Location{ - Line: int(1326), - Column: int(19), - }, - File: p1, - }, - Ctx: p13181, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1326), - Column: int(9), - }, - End: ast.Location{ - Line: int(1326), - Column: int(12), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1326), - Column: int(20), - }, - End: ast.Location{ - Line: int(1326), - Column: int(21), - }, - File: p1, - }, - Ctx: p13222, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, + "pat_len", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "pat_len", }, - Op: ast.BinaryOp(7), + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1326), - Column: int(25), + Line: int(1378), + Column: int(21), }, End: ast.Location{ - Line: int(1326), - Column: int(26), + Line: int(1378), + Column: int(22), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, - BranchFalse: &ast.Conditional{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(18), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1327), - Column: int(12), + Line: int(1378), + Column: int(26), }, End: ast.Location{ - Line: int(1330), - Column: int(13), + Line: int(1378), + Column: int(38), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "b", - "std", - "t", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(15), - }, - End: ast.Location{ - Line: int(1327), - Column: int(28), - }, - File: p1, - }, - Ctx: p13181, - FreeVars: ast.Identifiers{ - "t", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(15), - }, - End: ast.Location{ - Line: int(1327), - Column: int(16), - }, - File: p1, - }, - Ctx: p13181, - FreeVars: ast.Identifiers{ - "t", - }, - }, - Id: "t", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(20), - }, - End: ast.Location{ - Line: int(1327), - Column: int(28), - }, - File: p1, - }, - Ctx: p13181, - FreeVars: nil, - }, - Value: "object", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + "str_len", }, }, - BranchTrue: &ast.Binary{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1328), - Column: int(9), + Line: int(1378), + Column: int(26), }, End: ast.Location{ - Line: int(1328), - Column: int(26), + Line: int(1378), + Column: int(33), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(9), - }, - End: ast.Location{ - Line: int(1328), - Column: int(22), - }, - File: p1, - }, - Ctx: p13181, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(9), - }, - End: ast.Location{ - Line: int(1328), - Column: int(19), - }, - File: p1, - }, - Ctx: p13181, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(9), - }, - End: ast.Location{ - Line: int(1328), - Column: int(12), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(20), - }, - End: ast.Location{ - Line: int(1328), - Column: int(21), - }, - File: p1, - }, - Ctx: p13243, - FreeVars: ast.Identifiers{ - "b", - }, - }, - Id: "b", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(7), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(25), - }, - End: ast.Location{ - Line: int(1328), - Column: int(26), - }, - File: p1, - }, - Ctx: p13181, - FreeVars: nil, + "str_len", }, - Value: float64(0), - OriginalString: "0", }, + Id: "str_len", }, - BranchFalse: &ast.LiteralBoolean{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1330), - Column: int(9), + Line: int(1378), + Column: int(37), }, End: ast.Location{ - Line: int(1330), - Column: int(13), + Line: int(1378), + Column: int(38), }, File: p1, }, - Ctx: p13181, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: nil, }, - Value: true, - }, - }, - }, - }, - }, - }, - Fun: nil, - }, - }, - Body: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(5), - }, - End: ast.Location{ - Line: int(1339), - Column: int(8), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", - }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "t", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(15), - }, - End: ast.Location{ - Line: int(1331), - Column: int(26), - }, - File: p1, - }, - Ctx: p13251, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(15), - }, - End: ast.Location{ - Line: int(1331), - Column: int(23), + OriginalString: "0", }, - File: p1, - }, - Ctx: p13251, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(18), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1331), - Column: int(15), + Line: int(1378), + Column: int(42), }, End: ast.Location{ - Line: int(1331), - Column: int(18), + Line: int(1378), + Column: int(59), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "std", + "pat_len", + "str_len", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1378), + Column: int(42), + }, + End: ast.Location{ + Line: int(1378), + Column: int(49), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat_len", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "pat_len", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1331), - Column: int(24), + Line: int(1378), + Column: int(52), }, End: ast.Location{ - Line: int(1331), - Column: int(25), + Line: int(1378), + Column: int(59), }, File: p1, }, - Ctx: p13260, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "a", + "str_len", }, }, - Id: "a", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Fun: nil, - }, - }, - Body: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1332), - Column: int(5), - }, - End: ast.Location{ - Line: int(1339), - Column: int(8), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", - "t", - }, - }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1332), - Column: int(8), - }, - End: ast.Location{ - Line: int(1332), - Column: int(20), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "t", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1332), - Column: int(8), - }, - End: ast.Location{ - Line: int(1332), - Column: int(9), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "t", - }, - }, - Id: "t", - }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1332), - Column: int(13), - }, - End: ast.Location{ - Line: int(1332), - Column: int(20), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: nil, - }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "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), + Id: "str_len", }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", }, }, - Target: &ast.Var{ + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1379), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1379), + Column: int(11), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, }, + Ctx: p14857, + FreeVars: nil, }, - Id: "std", + Elements: nil, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - Index: &ast.LiteralString{ + 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(0), - Column: int(0), + Line: int(1381), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1381), + Column: int(91), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14857, + FreeVars: ast.Identifiers{ + "pat", + "pat_len", + "std", + "str", + "str_len", }, - Ctx: nil, - FreeVars: nil, }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1381), + Column: int(9), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1381), + Column: int(19), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p14857, FreeVars: ast.Identifiers{ - "$", - "isContent", "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1381), + Column: int(9), + }, + End: ast.Location{ + Line: int(1381), + 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", + }, }, - Optional: nil, + Id: "std", }, - TrailingComma: false, - Body: &ast.Conditional{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -147706,118 +189133,159 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "std", - "x", - }, + FreeVars: nil, }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(35), - }, - End: ast.Location{ - Line: int(1333), - Column: int(56), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "x", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(35), + Line: int(1381), + Column: int(20), }, End: ast.Location{ - Line: int(1333), - Column: int(44), + Line: int(1381), + Column: int(57), }, File: p1, }, - Ctx: p13173, + Fodder: ast.Fodder{}, + Ctx: p14991, FreeVars: ast.Identifiers{ - "isContent", + "pat", + "pat_len", + "std", + "str", }, }, - Id: "isContent", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + 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(1381), + Column: int(29), + }, + End: ast.Location{ + Line: int(1381), + 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(1381), + Column: int(32), + }, + End: ast.Location{ + Line: int(1381), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14995, + FreeVars: ast.Identifiers{ + "i", + "pat", + "pat_len", + "std", + "str", + }, + }, + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(45), + Line: int(1381), + Column: int(32), }, End: ast.Location{ - Line: int(1333), - Column: int(55), + Line: int(1381), + Column: int(50), }, File: p1, }, - Ctx: p13288, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "$", - "x", + "i", + "pat_len", + "std", + "str", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(45), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1333), - Column: int(52), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p13288, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ - "$", + "std", }, }, Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(45), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1333), - Column: int(46), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "$", + "std", }, }, - Id: "$", + Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -147832,1043 +189300,1346 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "prune", + Value: "slice", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(53), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1381), + Column: int(32), + }, + End: ast.Location{ + Line: int(1381), + Column: int(35), + }, + File: p1, }, - End: ast.Location{ - Line: int(1333), - Column: int(54), + Fodder: ast.Fodder{}, + Ctx: p14995, + FreeVars: ast.Identifiers{ + "str", }, - File: p1, }, - Ctx: p13297, - FreeVars: ast.Identifiers{ - "x", + Id: "str", + }, + CommaFodder: nil, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1381), + Column: int(36), + }, + End: ast.Location{ + Line: int(1381), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14995, + 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(1381), + Column: int(38), + }, + End: ast.Location{ + Line: int(1381), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14995, + FreeVars: ast.Identifiers{ + "i", + "pat_len", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1381), + Column: int(38), + }, + End: ast.Location{ + Line: int(1381), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14995, + 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(1381), + Column: int(42), + }, + End: ast.Location{ + Line: int(1381), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14995, + 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: nil, }, }, - Id: "x", + 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(1381), + Column: int(54), + }, + End: ast.Location{ + Line: int(1381), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p14995, + FreeVars: ast.Identifiers{ + "pat", + }, + }, + Id: "pat", }, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: ast.Fodder{}, }, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1381), + Column: int(59), + }, + End: ast.Location{ + Line: int(1381), + Column: int(90), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p14991, + FreeVars: ast.Identifiers{ + "pat_len", + "std", + "str_len", }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "x", }, - }, - Elements: ast.Nodes{ - &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(8), + Line: int(1381), + Column: int(59), }, End: ast.Location{ - Line: int(1333), - Column: int(20), + Line: int(1381), + Column: int(68), }, File: p1, }, - Ctx: p13303, + Fodder: ast.Fodder{}, + Ctx: p14991, FreeVars: ast.Identifiers{ "std", - "x", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(8), + Line: int(1381), + Column: int(59), }, End: ast.Location{ - Line: int(1333), - Column: int(17), + Line: int(1381), + Column: int(62), }, File: p1, }, - Ctx: p13303, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(8), - }, - End: ast.Location{ - Line: int(1333), - Column: int(11), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: 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), + 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(1381), + Column: int(69), + }, + End: ast.Location{ + Line: int(1381), + Column: int(70), + }, + File: p1, }, - File: nil, + Fodder: ast.Fodder{}, + Ctx: p15027, + FreeVars: nil, }, - Ctx: nil, - FreeVars: nil, + OriginalString: "0", }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(18), + Line: int(1381), + Column: int(72), }, End: ast.Location{ - Line: int(1333), - Column: int(19), + Line: int(1381), + Column: int(89), }, File: p1, }, - Ctx: p13312, + Fodder: ast.Fodder{}, + Ctx: p15027, FreeVars: ast.Identifiers{ - "x", + "pat_len", + "str_len", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1381), + Column: int(72), + }, + End: ast.Location{ + Line: int(1381), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15027, + FreeVars: ast.Identifiers{ + "str_len", + }, + }, + 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(1381), + Column: int(82), + }, + End: ast.Location{ + Line: int(1381), + Column: int(89), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15027, + FreeVars: ast.Identifiers{ + "pat_len", + }, }, + Id: "pat_len", }, - Id: "x", }, + CommaFodder: nil, }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - TrailingComma: false, - }, - 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, + Named: nil, }, - Ctx: nil, - FreeVars: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Elements: nil, - 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(1370), + Column: int(3), + }, + End: ast.Location{ + Line: int(1381), + 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: nil, + }, + 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: p11, + 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(1383), + Column: int(8), + }, + End: ast.Location{ + Line: int(1383), + 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(1383), + Column: int(15), + }, + End: ast.Location{ + Line: int(1383), + 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(1384), + Column: int(5), + }, + End: ast.Location{ + Line: int(1387), + Column: int(81), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "arr", + "std", + "value", + }, + }, + Cond: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(8), + }, + End: ast.Location{ + Line: int(1384), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Op: ast.UnaryOp(0), + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(9), + }, + End: ast.Location{ + Line: int(1384), + Column: int(25), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(9), + }, + End: ast.Location{ + Line: int(1384), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1384), + Column: int(9), + }, + End: ast.Location{ + Line: int(1384), + 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, }, - &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1333), - Column: int(30), + Line: int(1384), + Column: int(21), }, End: ast.Location{ - Line: int(1333), - Column: int(31), + Line: int(1384), + Column: int(24), }, File: p1, }, - Ctx: p13173, + Fodder: ast.Fodder{}, + Ctx: p15053, FreeVars: ast.Identifiers{ - "a", + "arr", }, }, - Id: "a", + Id: "arr", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - BranchFalse: &ast.Conditional{ + 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(1385), + Column: int(7), + }, + End: ast.Location{ + Line: int(1385), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1385), + Column: int(13), + }, + End: ast.Location{ + Line: int(1385), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1334), - Column: int(10), + Line: int(1385), + Column: int(13), }, End: ast.Location{ - Line: int(1339), - Column: int(8), + Line: int(1385), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15040, + FreeVars: nil, + }, + 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(1385), + Column: int(64), + }, + End: ast.Location{ + Line: int(1385), + Column: int(77), }, File: p1, }, - Ctx: p13173, + Fodder: ast.Fodder{}, + Ctx: p15040, FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", + "arr", "std", - "t", }, }, - Cond: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1334), - Column: int(13), + Line: int(1385), + Column: int(64), }, End: ast.Location{ - Line: int(1334), - Column: int(26), + Line: int(1385), + Column: int(72), }, File: p1, }, - Ctx: p13173, + Fodder: ast.Fodder{}, + Ctx: p15040, FreeVars: ast.Identifiers{ - "t", + "std", }, }, - Left: &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1334), - Column: int(13), + Line: int(1385), + Column: int(64), }, End: ast.Location{ - Line: int(1334), - Column: int(14), + Line: int(1385), + Column: int(67), }, File: p1, }, - Ctx: p13173, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "t", + "std", }, }, - Id: "t", + Id: "std", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralString{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1334), - Column: int(18), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1334), - Column: int(26), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p13173, + Fodder: nil, + Ctx: nil, FreeVars: nil, }, - Value: "object", + Value: "type", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - BranchTrue: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), + FodderLeft: ast.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(73), + }, + End: ast.Location{ + Line: int(1385), + Column: int(76), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15070, + FreeVars: ast.Identifiers{ + "arr", + }, + }, + Id: "arr", }, - File: nil, + CommaFodder: nil, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", + }, + 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(1387), + Column: int(7), + }, + End: ast.Location{ + Line: int(1387), + Column: int(81), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "arr", + "std", + "value", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(7), + }, + End: ast.Location{ + Line: int(1387), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15040, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(7), + }, + End: ast.Location{ + Line: int(1387), + Column: int(10), }, + File: p1, }, - Target: &ast.Index{ + 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: nil, + }, + 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(0), - Column: int(0), + Line: int(1387), + Column: int(18), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(45), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15083, FreeVars: ast.Identifiers{ - "std", + "arr", + "value", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ + 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(0), - Column: int(0), + Line: int(1387), + Column: int(27), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(28), }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + File: p1, }, }, - Id: "std", }, - Index: &ast.LiteralString{ + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(45), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15087, + FreeVars: ast.Identifiers{ + "arr", + "i", + "value", }, - Ctx: nil, - FreeVars: nil, }, - Value: "$objectFlatMerge", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ + Left: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(36), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15087, FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", + "arr", + "i", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(30), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1387), + Column: int(33), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15087, FreeVars: ast.Identifiers{ - "std", + "arr", }, }, - 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, + Id: "arr", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(34), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(1387), + Column: int(35), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15087, + FreeVars: ast.Identifiers{ + "i", }, - Id: "std", }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, + 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(1387), + Column: int(40), }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + End: ast.Location{ + Line: int(1387), + Column: int(45), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15087, + FreeVars: ast.Identifiers{ + "value", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", - }, - Optional: nil, - }, - TrailingComma: false, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", - "x", - }, + Id: "value", + }, + }, + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(47), + }, + End: ast.Location{ + Line: int(1387), + Column: int(80), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15083, + FreeVars: ast.Identifiers{ + "arr", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(47), + }, + End: ast.Location{ + Line: int(1387), + Column: int(56), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15083, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(47), + }, + End: ast.Location{ + Line: int(1387), + 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: nil, + }, + 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(1387), + Column: int(57), }, - Cond: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(10), - }, - End: ast.Location{ - Line: int(1337), - Column: int(36), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "a", - "isContent", - "std", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(10), - }, - End: ast.Location{ - Line: int(1337), - Column: int(19), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "isContent", - }, - }, - Id: "isContent", - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(20), - }, - End: ast.Location{ - Line: int(1337), - Column: int(35), - }, - File: p1, - }, - Ctx: p13351, - FreeVars: ast.Identifiers{ - "a", - "std", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(20), - }, - End: ast.Location{ - Line: int(1337), - Column: int(29), - }, - File: p1, - }, - Ctx: p13351, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(20), - }, - End: ast.Location{ - Line: int(1337), - Column: int(23), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(30), - }, - End: ast.Location{ - Line: int(1337), - Column: int(34), - }, - File: p1, - }, - Ctx: p13360, - FreeVars: ast.Identifiers{ - "a", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(30), - }, - End: ast.Location{ - Line: int(1337), - Column: int(31), - }, - File: p1, - }, - Ctx: p13360, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(32), - }, - End: ast.Location{ - Line: int(1337), - Column: int(33), - }, - File: p1, - }, - Ctx: p13360, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, + End: ast.Location{ + Line: int(1387), + Column: int(58), }, - 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, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - }, - Elements: ast.Nodes{ - &ast.DesugaredObject{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1334), - Column: int(32), - }, - End: ast.Location{ - Line: int(1338), - Column: int(6), - }, - File: p1, - }, - Ctx: p13173, - 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(1335), - Column: int(8), - }, - End: ast.Location{ - Line: int(1335), - Column: int(9), - }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(12), - }, - End: ast.Location{ - Line: int(1335), - Column: int(25), - }, - File: p1, - }, - Ctx: p13375, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(12), - }, - End: ast.Location{ - Line: int(1335), - Column: int(19), - }, - File: p1, - }, - Ctx: p13375, - FreeVars: ast.Identifiers{ - "$", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(12), - }, - End: ast.Location{ - Line: int(1335), - Column: int(13), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - }, - }, - Id: "$", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "prune", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(20), - }, - End: ast.Location{ - Line: int(1335), - Column: int(24), - }, - File: p1, - }, - Ctx: p13384, - FreeVars: ast.Identifiers{ - "a", - "x", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(20), - }, - End: ast.Location{ - Line: int(1335), - Column: int(21), - }, - File: p1, - }, - Ctx: p13384, - FreeVars: ast.Identifiers{ - "a", - }, - }, - Id: "a", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(22), - }, - End: ast.Location{ - Line: int(1335), - Column: int(23), - }, - File: p1, - }, - Ctx: p13384, - FreeVars: ast.Identifiers{ - "x", - }, - }, - Id: "x", - }, - Id: nil, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - }, - }, - TrailingComma: false, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15106, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(60), }, - 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, - }, - Ctx: nil, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, + End: ast.Location{ + Line: int(1387), + Column: int(79), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15106, + FreeVars: ast.Identifiers{ + "arr", + "std", }, }, - &ast.Apply{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1336), - Column: int(16), + Line: int(1387), + Column: int(60), }, End: ast.Location{ - Line: int(1336), - Column: int(35), + Line: int(1387), + Column: int(75), }, File: p1, }, - Ctx: p13173, + Fodder: ast.Fodder{}, + Ctx: p15106, FreeVars: ast.Identifiers{ - "a", + "arr", "std", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1336), - Column: int(16), + Line: int(1387), + Column: int(60), }, End: ast.Location{ - Line: int(1336), - Column: int(32), + Line: int(1387), + Column: int(70), }, File: p1, }, - Ctx: p13173, + Fodder: ast.Fodder{}, + Ctx: p15106, FreeVars: ast.Identifiers{ "std", }, @@ -148876,17 +190647,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1336), - Column: int(16), + Line: int(1387), + Column: int(60), }, End: ast.Location{ - Line: int(1336), - Column: int(19), + Line: int(1387), + Column: int(63), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -148894,6 +190666,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -148908,83 +190681,112 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "objectFields", + Value: "length", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(33), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(71), + }, + End: ast.Location{ + Line: int(1387), + Column: int(74), + }, + File: p1, }, - End: ast.Location{ - Line: int(1336), - Column: int(34), + Fodder: ast.Fodder{}, + Ctx: p15118, + FreeVars: ast.Identifiers{ + "arr", }, - File: p1, - }, - Ctx: p13400, - FreeVars: ast.Identifiers{ - "a", }, + Id: "arr", }, - 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{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1387), + Column: int(78), + }, + End: ast.Location{ + Line: int(1387), + Column: int(79), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15106, + FreeVars: nil, + }, + OriginalString: "1", }, }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1339), - Column: int(7), - }, - End: ast.Location{ - Line: int(1339), - Column: int(8), }, - File: p1, - }, - Ctx: p13173, - FreeVars: ast.Identifiers{ - "a", + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Id: "a", + CommaFodder: nil, }, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1383), + Column: int(3), + }, + End: ast.Location{ + Line: int(1387), + Column: int(81), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -149002,12 +190804,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "findSubstr", + Value: "__compare", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -149023,447 +190827,803 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "pat", - "str", + ParenLeftFodder: ast.Fodder{}, + Parameters: []ast.Parameter{ + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v1", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1391), + Column: int(13), + }, + End: ast.Location{ + Line: int(1391), + Column: int(15), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "v2", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1391), + Column: int(17), + }, + End: ast.Location{ + Line: int(1391), + Column: int(19), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1342), - Column: int(5), + Line: int(1392), + Column: int(7), }, End: ast.Location{ - Line: int(1352), - Column: int(91), + Line: int(1401), + Column: int(13), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p15127, FreeVars: ast.Identifiers{ - "pat", "std", - "str", + "v1", + "v2", }, }, - Cond: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1342), - Column: int(8), - }, - End: ast.Location{ - Line: int(1342), - Column: int(33), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1342), - Column: int(8), - }, - End: ast.Location{ - Line: int(1342), - Column: int(21), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - }, - Target: &ast.Index{ + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "t1", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1342), - Column: int(8), + Line: int(1392), + Column: int(18), }, End: ast.Location{ - Line: int(1342), - Column: int(16), + Line: int(1392), + Column: int(30), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15131, FreeVars: ast.Identifiers{ "std", + "v1", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1342), - Column: int(8), + Line: int(1392), + Column: int(18), }, End: ast.Location{ - Line: int(1342), - Column: int(11), + Line: int(1392), + Column: int(26), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15131, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1392), + Column: int(18), + }, + End: ast.Location{ + Line: int(1392), + 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: nil, + }, + Value: "type", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Index: &ast.LiteralString{ + FodderLeft: ast.Fodder{}, + 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(27), + }, + End: ast.Location{ + Line: int(1392), + Column: int(29), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15140, + FreeVars: ast.Identifiers{ + "v1", + }, + }, + Id: "v1", + }, + 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(1392), + Column: int(13), + }, + End: ast.Location{ + Line: int(1392), + Column: int(30), + }, + 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(1392), + Column: int(37), + }, + End: ast.Location{ + Line: int(1392), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15143, + FreeVars: ast.Identifiers{ + "std", + "v2", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1392), + Column: int(37), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1392), + Column: int(45), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15143, + FreeVars: ast.Identifiers{ + "std", }, - Ctx: nil, - FreeVars: nil, }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1342), - Column: int(17), + Line: int(1392), + Column: int(37), }, End: ast.Location{ - Line: int(1342), - Column: int(20), + Line: int(1392), + Column: int(40), }, File: p1, }, - Ctx: p13422, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "pat", + "std", }, }, - Id: "pat", + Id: "std", }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1342), - Column: int(25), + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), + }, + End: ast.Location{ + Line: int(0), + Column: int(0), + }, + File: nil, + }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "type", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - End: ast.Location{ - Line: int(1342), - Column: int(33), + 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(1392), + Column: int(46), + }, + End: ast.Location{ + Line: int(1392), + Column: int(48), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15152, + FreeVars: ast.Identifiers{ + "v2", + }, + }, + Id: "v2", + }, + CommaFodder: nil, + }, }, - File: p1, + Named: nil, }, - Ctx: p13409, - FreeVars: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1392), + Column: int(32), + }, + End: ast.Location{ + Line: int(1392), + Column: int(49), + }, + File: p1, }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", }, }, - BranchTrue: &ast.Error{ + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1343), + Line: int(1393), Column: int(7), }, End: ast.Location{ - Line: int(1343), - Column: int(82), + Line: int(1401), + Column: int(13), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p15127, FreeVars: ast.Identifiers{ - "pat", "std", + "t1", + "t2", + "v1", + "v2", }, }, - Expr: &ast.Binary{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1343), - Column: int(13), + Line: int(1393), + Column: int(10), }, End: ast.Location{ - Line: int(1343), - Column: int(82), + Line: int(1393), + Column: int(18), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "pat", - "std", + "t1", + "t2", }, }, - Left: &ast.LiteralString{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1343), - Column: int(13), + Line: int(1393), + Column: int(10), }, End: ast.Location{ - Line: int(1343), - Column: int(66), + Line: int(1393), + Column: int(12), }, File: p1, }, - Ctx: p13409, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, }, - Value: "findSubstr first parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "t1", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1343), - Column: int(69), + Line: int(1393), + Column: int(16), }, End: ast.Location{ - Line: int(1343), - Column: int(82), + Line: int(1393), + Column: int(18), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "pat", - "std", + "t2", }, }, - Target: &ast.Index{ + Id: "t2", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(9), + }, + End: ast.Location{ + Line: int(1394), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + "t2", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(15), + }, + End: ast.Location{ + Line: int(1394), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + "t2", + }, + }, + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1343), - Column: int(69), + Line: int(1394), + Column: int(15), }, End: ast.Location{ - Line: int(1343), - Column: int(77), + Line: int(1394), + Column: int(72), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "std", + "t1", }, }, - Target: &ast.Var{ + Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1343), - Column: int(69), + Line: int(1394), + Column: int(15), }, End: ast.Location{ - Line: int(1343), - Column: int(72), + Line: int(1394), + Column: int(62), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "std", + "t1", }, }, - Id: "std", + Left: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(15), + }, + End: ast.Location{ + Line: int(1394), + Column: int(57), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + 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(1394), + Column: int(60), + }, + End: ast.Location{ + Line: int(1394), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, + }, + Id: "t1", + }, }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1394), + Column: int(65), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1394), + Column: int(72), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: nil, }, - Value: "type", + Value: " and ", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(78), - }, - End: ast.Location{ - Line: int(1343), - Column: int(81), - }, - File: p1, - }, - Ctx: p13439, - FreeVars: ast.Identifiers{ - "pat", - }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1394), + Column: int(75), }, - Id: "pat", + End: ast.Location{ + Line: int(1394), + Column: int(77), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t2", }, }, - Named: nil, + Id: "t2", }, - TrailingComma: false, - TailStrict: false, }, }, - }, - BranchFalse: &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1344), - Column: int(10), - }, - End: ast.Location{ - Line: int(1352), - Column: int(91), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat", - "std", - "str", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Cond: &ast.Binary{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1344), - Column: int(13), + Line: int(1395), + Column: int(12), }, End: ast.Location{ - Line: int(1344), - Column: int(38), + Line: int(1401), + Column: int(13), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ "std", - "str", + "t1", + "v1", + "v2", }, }, - Left: &ast.Apply{ + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(15), + }, + End: ast.Location{ + Line: int(1395), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1395), + Column: int(15), + }, + End: ast.Location{ + Line: int(1395), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + 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(1395), + Column: int(21), + }, + End: ast.Location{ + Line: int(1395), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + Value: "array", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1344), - Column: int(13), + Line: int(1396), + Column: int(9), }, End: ast.Location{ - Line: int(1344), - Column: int(26), + Line: int(1396), + Column: int(36), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ "std", - "str", + "v1", + "v2", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1344), - Column: int(13), + Line: int(1396), + Column: int(9), }, End: ast.Location{ - Line: int(1344), - Column: int(21), + Line: int(1396), + Column: int(28), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ "std", }, @@ -149471,17 +191631,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1344), - Column: int(13), + Line: int(1396), + Column: int(9), }, End: ast.Location{ - Line: int(1344), - Column: int(16), + Line: int(1396), + 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", @@ -149489,6 +191657,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -149503,957 +191672,1667 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "type", + Value: "__compare_array", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1344), - Column: int(22), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1396), + Column: int(29), + }, + End: ast.Location{ + Line: int(1396), + Column: int(31), + }, + File: p1, }, - End: ast.Location{ - Line: int(1344), - Column: int(25), + Fodder: ast.Fodder{}, + Ctx: p15196, + FreeVars: ast.Identifiers{ + "v1", }, - File: p1, }, - Ctx: p13454, - FreeVars: ast.Identifiers{ - "str", + Id: "v1", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &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(35), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15196, + FreeVars: ast.Identifiers{ + "v2", + }, }, + Id: "v2", }, - Id: "str", + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1344), - Column: int(30), - }, - End: ast.Location{ - Line: int(1344), - Column: int(38), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: nil, - }, - Value: "string", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - }, - BranchTrue: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(7), - }, - End: ast.Location{ - Line: int(1345), - Column: int(83), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "std", - "str", + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, }, - Expr: &ast.Binary{ + BranchFalse: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1345), - Column: int(13), + Line: int(1397), + Column: int(12), }, End: ast.Location{ - Line: int(1345), - Column: int(83), + Line: int(1401), + Column: int(13), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "std", - "str", + "t1", + "v1", + "v2", }, }, - Left: &ast.LiteralString{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1345), - Column: int(13), + Line: int(1397), + Column: int(15), }, End: ast.Location{ - Line: int(1345), - Column: int(67), + Line: int(1397), + Column: int(65), }, File: p1, }, - Ctx: p13409, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, }, - Value: "findSubstr second parameter should be a string, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(70), + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(15), + }, + End: ast.Location{ + Line: int(1397), + Column: int(49), + }, + File: p1, }, - End: ast.Location{ - Line: int(1345), - Column: int(83), + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", }, - File: p1, }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "std", - "str", + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(15), + }, + End: ast.Location{ + Line: int(1397), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(15), + }, + End: ast.Location{ + Line: int(1397), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + 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(1397), + Column: int(21), + }, + End: ast.Location{ + Line: int(1397), + Column: int(31), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + 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(1397), + Column: int(35), + }, + End: ast.Location{ + Line: int(1397), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, + }, + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1397), + Column: int(35), + }, + End: ast.Location{ + Line: int(1397), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + 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(1397), + Column: int(41), + }, + End: ast.Location{ + Line: int(1397), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + Value: "object", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, }, - Target: &ast.Index{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(18), + Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1345), - Column: int(70), + Line: int(1397), + Column: int(53), }, End: ast.Location{ - Line: int(1345), - Column: int(78), + Line: int(1397), + Column: int(65), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "std", + "t1", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1345), - Column: int(70), + Line: int(1397), + Column: int(53), }, End: ast.Location{ - Line: int(1345), - Column: int(73), + Line: int(1397), + Column: int(55), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "std", + "t1", }, }, - Id: "std", + Id: "t1", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(12), + Right: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1397), + Column: int(59), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1397), + Column: int(65), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: nil, }, - Value: "type", + Value: "bool", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Error{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(9), + }, + End: ast.Location{ + Line: int(1398), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, + }, + Expr: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(15), + }, + End: ast.Location{ + Line: int(1398), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, + }, + Left: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(15), + }, + End: ast.Location{ + Line: int(1398), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "t1", + }, + }, + Left: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1345), - Column: int(79), + Line: int(1398), + Column: int(15), + }, + End: ast.Location{ + Line: int(1398), + Column: int(32), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + 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(1398), + Column: int(35), }, End: ast.Location{ - Line: int(1345), - Column: int(82), + Line: int(1398), + Column: int(37), }, File: p1, }, - Ctx: p13471, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "str", + "t1", }, }, - Id: "str", + Id: "t1", }, }, - Named: nil, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(3), + Right: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1398), + Column: int(40), + }, + End: ast.Location{ + Line: int(1398), + Column: int(62), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + Value: " are not comparable.", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, }, - TrailingComma: false, - TailStrict: false, }, - }, - }, - BranchFalse: &ast.Local{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(7), + ElseFodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, }, - End: ast.Location{ - Line: int(1352), - Column: int(91), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat", - "std", - "str", }, - }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "pat_len", - Body: &ast.Apply{ + BranchFalse: &ast.Conditional{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1399), + Column: int(12), + }, + End: ast.Location{ + Line: int(1401), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "v1", + "v2", + }, + }, + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1347), - Column: int(23), + Line: int(1399), + Column: int(15), }, End: ast.Location{ - Line: int(1347), - Column: int(38), + Line: int(1399), + Column: int(22), }, File: p1, }, - Ctx: p13477, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "pat", - "std", + "v1", + "v2", }, }, - Target: &ast.Index{ + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1399), + Column: int(15), + }, + End: ast.Location{ + Line: int(1399), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "v1", + }, + }, + Id: "v1", + }, + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1347), - Column: int(23), + Line: int(1399), + Column: int(20), }, End: ast.Location{ - Line: int(1347), - Column: int(33), + Line: int(1399), + Column: int(22), }, File: p1, }, - Ctx: p13477, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "std", + "v2", }, }, - Target: &ast.Var{ + Id: "v2", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Unary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1399), + Column: int(28), + }, + End: ast.Location{ + Line: int(1399), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + Op: ast.UnaryOp(3), + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1399), + Column: int(29), + }, + End: ast.Location{ + Line: int(1399), + Column: int(30), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + 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(1400), + Column: int(12), + }, + End: ast.Location{ + Line: int(1401), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "v1", + "v2", + }, + }, + Cond: &ast.Binary{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1400), + Column: int(15), + }, + End: ast.Location{ + Line: int(1400), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "v1", + "v2", + }, + }, + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1347), - Column: int(23), + Line: int(1400), + Column: int(15), }, End: ast.Location{ - Line: int(1347), - Column: int(26), + Line: int(1400), + Column: int(17), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15127, FreeVars: ast.Identifiers{ - "std", + "v1", }, }, - Id: "std", + Id: "v1", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(7), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1400), + Column: int(20), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1400), + Column: int(22), }, - File: nil, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: ast.Identifiers{ + "v2", }, - Ctx: nil, - FreeVars: nil, }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "v2", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(34), - }, - End: ast.Location{ - Line: int(1347), - Column: int(37), - }, - File: p1, - }, - Ctx: p13486, - FreeVars: ast.Identifiers{ - "pat", - }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1400), + Column: int(28), + }, + End: ast.Location{ + Line: int(1400), + Column: int(29), }, - Id: "pat", + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, }, - Named: nil, + 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(1401), + Column: int(12), + }, + End: ast.Location{ + Line: int(1401), + Column: int(13), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15127, + FreeVars: nil, + }, + OriginalString: "0", }, - TrailingComma: false, - TailStrict: false, }, - Fun: nil, }, }, - Body: &ast.Local{ + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1391), + Column: int(3), + }, + End: ast.Location{ + Line: int(1401), + 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: nil, + }, + 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: p11, + 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(1403), + Column: int(19), + }, + End: ast.Location{ + Line: int(1403), + Column: int(23), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr2", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1403), + Column: int(25), + }, + End: ast.Location{ + Line: int(1403), + Column: int(29), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1404), + Column: int(5), + }, + End: ast.Location{ + Line: int(1415), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15262, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + }, + Binds: ast.LocalBinds{ + ast.LocalBind{ + VarFodder: ast.Fodder{}, + Variable: "len1", + EqFodder: ast.Fodder{}, + Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1348), - Column: int(7), + Line: int(1404), + Column: int(18), }, End: ast.Location{ - Line: int(1352), - Column: int(91), + Line: int(1404), + Column: int(34), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15266, FreeVars: ast.Identifiers{ - "pat", - "pat_len", + "arr1", "std", - "str", }, }, - Binds: ast.LocalBinds{ - ast.LocalBind{ - Variable: "str_len", - Body: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(23), - }, - End: ast.Location{ - Line: int(1348), - Column: int(38), - }, - File: p1, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1404), + Column: int(18), + }, + End: ast.Location{ + Line: int(1404), + Column: int(28), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15266, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1404), + Column: int(18), }, - Ctx: p13492, - FreeVars: ast.Identifiers{ - "std", - "str", + End: ast.Location{ + Line: int(1404), + Column: int(21), }, + File: p1, }, - Target: &ast.Index{ + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1348), - Column: int(23), + Line: int(1404), + Column: int(29), }, End: ast.Location{ - Line: int(1348), + Line: int(1404), Column: int(33), }, File: p1, }, - Ctx: p13492, + Fodder: ast.Fodder{}, + Ctx: p15275, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(23), - }, - End: ast.Location{ - Line: int(1348), - Column: int(26), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(34), - }, - End: ast.Location{ - Line: int(1348), - Column: int(37), - }, - File: p1, - }, - Ctx: p13501, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", + "arr1", }, }, - Named: nil, + Id: "arr1", }, - TrailingComma: false, - TailStrict: false, + CommaFodder: nil, }, - Fun: nil, }, + Named: nil, }, - Body: &ast.Conditional{ + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1404), + Column: int(11), + }, + End: ast.Location{ + Line: int(1404), + 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(1404), + Column: int(43), + }, + End: ast.Location{ + Line: int(1404), + Column: int(59), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15278, + FreeVars: ast.Identifiers{ + "arr2", + "std", + }, + }, + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1349), - Column: int(7), + Line: int(1404), + Column: int(43), }, End: ast.Location{ - Line: int(1352), - Column: int(91), + Line: int(1404), + Column: int(53), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15278, FreeVars: ast.Identifiers{ - "pat", - "pat_len", "std", - "str", - "str_len", }, }, - Cond: &ast.Binary{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1349), - Column: int(10), + Line: int(1404), + Column: int(43), }, End: ast.Location{ - Line: int(1349), - Column: int(59), + Line: int(1404), + Column: int(46), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ - "pat_len", - "str_len", + "std", }, }, - Left: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(10), - }, - End: ast.Location{ - Line: int(1349), - Column: int(38), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Binary{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1349), - Column: int(10), + Line: int(1404), + Column: int(54), }, End: ast.Location{ - Line: int(1349), - Column: int(22), + Line: int(1404), + Column: int(58), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15287, FreeVars: ast.Identifiers{ - "pat_len", + "arr2", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(10), - }, - End: ast.Location{ - Line: int(1349), - Column: int(17), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat_len", - }, - }, - Id: "pat_len", + Id: "arr2", + }, + 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(1404), + Column: int(36), + }, + End: ast.Location{ + Line: int(1404), + Column: int(59), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(5), + }, + End: ast.Location{ + Line: int(1415), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15262, + 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(1405), + Column: int(20), + }, + End: ast.Location{ + Line: int(1405), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15294, + FreeVars: ast.Identifiers{ + "len1", + "len2", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(20), }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(21), - }, - End: ast.Location{ - Line: int(1349), - Column: int(22), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: nil, + End: ast.Location{ + Line: int(1405), + Column: int(27), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15294, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(20), }, - Value: float64(0), - OriginalString: "0", + End: ast.Location{ + Line: int(1405), + Column: int(23), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(26), - }, - End: ast.Location{ - Line: int(1349), - Column: int(38), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "str_len", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Left: &ast.Var{ + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + Value: "min", + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1349), - Column: int(26), + Line: int(1405), + Column: int(28), }, End: ast.Location{ - Line: int(1349), - Column: int(33), + Line: int(1405), + Column: int(32), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{}, + Ctx: p15303, FreeVars: ast.Identifiers{ - "str_len", + "len1", }, }, - Id: "str_len", + Id: "len1", }, - Op: ast.BinaryOp(12), - Right: &ast.LiteralNumber{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1349), - Column: int(37), + Line: int(1405), + Column: int(34), }, End: ast.Location{ - Line: int(1349), + Line: int(1405), Column: int(38), }, File: p1, }, - Ctx: p13409, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - }, - }, - Op: ast.BinaryOp(18), - Right: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(42), - }, - End: ast.Location{ - Line: int(1349), - Column: int(59), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(42), - }, - End: ast.Location{ - Line: int(1349), - Column: int(49), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "pat_len", - }, - }, - Id: "pat_len", - }, - Op: ast.BinaryOp(7), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1349), - Column: int(52), - }, - End: ast.Location{ - Line: int(1349), - Column: int(59), + Fodder: ast.Fodder{}, + Ctx: p15303, + FreeVars: ast.Identifiers{ + "len2", }, - File: p1, - }, - Ctx: p13409, - FreeVars: ast.Identifiers{ - "str_len", }, + Id: "len2", }, - Id: "str_len", + CommaFodder: nil, }, }, + Named: nil, }, - BranchTrue: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(9), - }, - End: ast.Location{ - Line: int(1350), - Column: int(11), - }, - File: p1, - }, - Ctx: p13409, - FreeVars: nil, - }, - Elements: nil, - TrailingComma: false, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1405), + Column: int(11), }, - BranchFalse: &ast.Apply{ + End: ast.Location{ + Line: int(1405), + Column: int(39), + }, + File: p1, + }, + }, + }, + Body: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1406), + Column: int(5), + }, + End: ast.Location{ + Line: int(1415), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15262, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(9), + Line: int(1406), + Column: int(11), }, End: ast.Location{ - Line: int(1352), - Column: int(91), + Line: int(1414), + Column: int(34), }, File: p1, }, - Ctx: p13409, + Fodder: nil, + Ctx: p15312, FreeVars: ast.Identifiers{ - "pat", - "pat_len", + "arr1", + "arr2", + "aux", + "len1", + "len2", + "minLen", "std", - "str", - "str_len", }, }, - Target: &ast.Index{ + 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(1406), + Column: int(15), + }, + End: ast.Location{ + Line: int(1406), + Column: int(16), + }, + File: p1, + }, + }, + }, + TrailingComma: false, + ParenRightFodder: ast.Fodder{}, + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(9), + Line: int(1407), + Column: int(7), }, End: ast.Location{ - Line: int(1352), - Column: int(19), + Line: int(1414), + Column: int(34), }, File: p1, }, - Ctx: p13409, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p15317, FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "aux", + "i", + "len1", + "len2", + "minLen", "std", }, }, - Target: &ast.Var{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(9), + Line: int(1407), + Column: int(10), }, End: ast.Location{ - Line: int(1352), - Column: int(12), + Line: int(1407), + Column: int(20), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15317, FreeVars: ast.Identifiers{ - "std", + "i", + "minLen", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1407), + Column: int(10), + }, + End: ast.Location{ + Line: int(1407), + Column: int(11), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p15317, + FreeVars: ast.Identifiers{ + "i", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "i", }, - Value: "filter", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(9), + Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(20), + Line: int(1407), + Column: int(14), }, End: ast.Location{ - Line: int(1352), - Column: int(57), + Line: int(1407), + Column: int(20), }, File: p1, }, - Ctx: p13535, + Fodder: ast.Fodder{}, + Ctx: p15317, FreeVars: ast.Identifiers{ - "pat", - "pat_len", - "std", - "str", + "minLen", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + Id: "minLen", + }, + }, + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Local{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(9), + }, + End: ast.Location{ + Line: int(1412), + Column: int(21), }, - Optional: nil, + File: p1, }, - TrailingComma: false, - Body: &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(32), - }, - End: ast.Location{ - Line: int(1352), - Column: int(57), - }, - File: p1, - }, - Ctx: p13539, - FreeVars: ast.Identifiers{ - "i", - "pat", - "pat_len", - "std", - "str", - }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, }, - Left: &ast.Apply{ + }, + Ctx: p15317, + 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(0), - Column: int(0), + Line: int(1408), + Column: int(24), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1408), + Column: int(55), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15330, FreeVars: ast.Identifiers{ + "arr1", + "arr2", "i", - "pat_len", "std", - "str", }, }, Target: &ast.Index{ @@ -150461,16 +193340,17 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1408), + Column: int(24), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1408), + Column: int(37), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15330, FreeVars: ast.Identifiers{ "std", }, @@ -150480,15 +193360,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1408), + Column: int(24), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1408), + Column: int(27), }, - File: nil, + File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -150496,6 +193377,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -150510,360 +193392,1057 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "slice", + Value: "__compare", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(32), - }, - End: ast.Location{ - Line: int(1352), - Column: int(35), - }, - File: p1, - }, - Ctx: p13539, - FreeVars: ast.Identifiers{ - "str", - }, - }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(36), - }, - End: ast.Location{ - Line: int(1352), - Column: int(37), - }, - File: p1, - }, - Ctx: p13539, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(38), - }, - End: ast.Location{ - Line: int(1352), - Column: int(49), - }, - File: p1, - }, - Ctx: p13539, - FreeVars: ast.Identifiers{ - "i", - "pat_len", - }, - }, - Left: &ast.Var{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), + Line: int(1408), Column: int(38), }, End: ast.Location{ - Line: int(1352), - Column: int(39), + Line: int(1408), + Column: int(45), }, File: p1, }, - Ctx: p13539, + Fodder: ast.Fodder{}, + Ctx: p15339, FreeVars: ast.Identifiers{ + "arr1", "i", }, }, - Id: "i", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(38), + }, + End: ast.Location{ + Line: int(1408), + Column: int(42), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15339, + FreeVars: ast.Identifiers{ + "arr1", + }, + }, + Id: "arr1", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(43), + }, + End: ast.Location{ + Line: int(1408), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15339, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Op: ast.BinaryOp(3), - Right: &ast.Var{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(42), + Line: int(1408), + Column: int(47), }, End: ast.Location{ - Line: int(1352), - Column: int(49), + Line: int(1408), + Column: int(54), }, File: p1, }, - Ctx: p13539, + Fodder: ast.Fodder{}, + Ctx: p15339, FreeVars: ast.Identifiers{ - "pat_len", + "arr2", + "i", }, }, - Id: "pat_len", - }, - }, - &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(47), + }, + End: ast.Location{ + Line: int(1408), + Column: int(51), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15339, + FreeVars: ast.Identifiers{ + "arr2", + }, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Id: "arr2", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(52), + }, + End: ast.Location{ + Line: int(1408), + Column: int(53), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15339, + FreeVars: ast.Identifiers{ + "i", + }, }, - File: nil, + Id: "i", }, - Ctx: nil, - FreeVars: nil, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(54), - }, - End: ast.Location{ - Line: int(1352), - Column: int(57), - }, - File: p1, - }, - Ctx: p13539, - FreeVars: ast.Identifiers{ - "pat", - }, + Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1408), + Column: int(15), + }, + End: ast.Location{ + Line: int(1408), + Column: int(55), }, - Id: "pat", + File: p1, }, }, }, - &ast.Apply{ + Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(59), + Line: int(1409), + Column: int(9), }, End: ast.Location{ - Line: int(1352), - Column: int(90), + Line: int(1412), + Column: int(21), }, File: p1, }, - Ctx: p13535, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p15317, FreeVars: ast.Identifiers{ - "pat_len", - "std", - "str_len", + "aux", + "cmpRes", + "i", }, }, - Target: &ast.Index{ + Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(59), + Line: int(1409), + Column: int(12), }, End: ast.Location{ - Line: int(1352), - Column: int(68), + Line: int(1409), + Column: int(23), }, File: p1, }, - Ctx: p13535, + Fodder: ast.Fodder{}, + Ctx: p15317, FreeVars: ast.Identifiers{ - "std", + "cmpRes", }, }, - Target: &ast.Var{ + Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(59), + Line: int(1409), + Column: int(12), }, End: ast.Location{ - Line: int(1352), - Column: int(62), + Line: int(1409), + Column: int(18), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15317, FreeVars: ast.Identifiers{ - "std", + "cmpRes", }, }, - Id: "std", + Id: "cmpRes", }, - Index: &ast.LiteralString{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(13), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1409), + Column: int(22), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1409), + Column: int(23), }, - File: nil, + File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15317, FreeVars: nil, }, - Value: "range", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + OriginalString: "0", }, - Id: nil, }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(69), + ThenFodder: ast.Fodder{}, + BranchTrue: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1410), + Column: int(11), + }, + End: ast.Location{ + Line: int(1410), + Column: int(17), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p15317, + 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(1412), + Column: int(11), + }, + End: ast.Location{ + Line: int(1412), + Column: int(21), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15317, + FreeVars: ast.Identifiers{ + "aux", + "i", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1412), + Column: int(11), + }, + End: ast.Location{ + Line: int(1412), + Column: int(14), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(10), + Comment: []string{}, + }, + }, + Ctx: p15317, + 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(1412), + Column: int(15), + }, + End: ast.Location{ + Line: int(1412), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15370, + FreeVars: ast.Identifiers{ + "i", + }, }, - End: ast.Location{ - Line: int(1352), - Column: int(70), + Left: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1412), + Column: int(15), + }, + End: ast.Location{ + Line: int(1412), + Column: int(16), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15370, + 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(1412), + Column: int(19), + }, + End: ast.Location{ + Line: int(1412), + Column: int(20), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15370, + FreeVars: nil, + }, + OriginalString: "1", }, - File: p1, }, - Ctx: p13571, - FreeVars: nil, + CommaFodder: nil, }, - Value: float64(0), - OriginalString: "0", }, - &ast.Binary{ + 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(1414), + Column: int(9), + }, + End: ast.Location{ + Line: int(1414), + Column: int(34), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15317, + FreeVars: ast.Identifiers{ + "len1", + "len2", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(9), + }, + End: ast.Location{ + Line: int(1414), + Column: int(22), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15317, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(9), + }, + End: ast.Location{ + Line: int(1414), + 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: nil, + }, + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1352), - Column: int(72), + Line: int(1414), + Column: int(23), }, End: ast.Location{ - Line: int(1352), - Column: int(89), + Line: int(1414), + Column: int(27), }, File: p1, }, - Ctx: p13571, + Fodder: ast.Fodder{}, + Ctx: p15386, FreeVars: ast.Identifiers{ - "pat_len", - "str_len", + "len1", }, }, - Left: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(72), - }, - End: ast.Location{ - Line: int(1352), - Column: int(79), - }, - File: p1, + Id: "len1", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1414), + Column: int(29), }, - Ctx: p13571, - FreeVars: ast.Identifiers{ - "str_len", + End: ast.Location{ + Line: int(1414), + Column: int(33), }, + File: p1, }, - Id: "str_len", - }, - Op: ast.BinaryOp(4), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(82), - }, - End: ast.Location{ - Line: int(1352), - Column: int(89), - }, - File: p1, - }, - Ctx: p13571, - FreeVars: ast.Identifiers{ - "pat_len", - }, + Fodder: ast.Fodder{}, + Ctx: p15386, + FreeVars: ast.Identifiers{ + "len2", }, - Id: "pat_len", }, + Id: "len2", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + 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.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(5), + }, + End: ast.Location{ + Line: int(1415), + Column: int(11), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15262, + FreeVars: ast.Identifiers{ + "aux", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1415), + Column: int(5), + }, + End: ast.Location{ + Line: int(1415), + Column: int(8), + }, + File: p1, + }, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15262, + FreeVars: ast.Identifiers{ + "aux", + }, + }, + Id: "aux", + }, + 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(1415), + Column: int(9), + }, + End: ast.Location{ + Line: int(1415), + Column: int(10), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15397, + FreeVars: nil, + }, + OriginalString: "0", + }, + CommaFodder: nil, + }, + }, + Named: nil, + }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, + }, + }, + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1403), + Column: int(3), + }, + End: ast.Location{ + Line: int(1415), + 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: nil, + }, + 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: p11, + 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(1417), + Column: int(16), + }, + End: ast.Location{ + Line: int(1417), + 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(1417), + Column: int(22), + }, + End: ast.Location{ + Line: int(1417), + 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(1417), + Column: int(30), + }, + End: ast.Location{ + Line: int(1417), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15403, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1417), + Column: int(30), + }, + End: ast.Location{ + Line: int(1417), + Column: int(61), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15403, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + }, + Target: &ast.Index{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1417), + Column: int(30), + }, + End: ast.Location{ + Line: int(1417), + Column: int(49), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15403, + FreeVars: ast.Identifiers{ + "std", + }, + }, + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1417), + Column: int(30), + }, + End: ast.Location{ + Line: int(1417), + 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: nil, + }, + 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(1417), + Column: int(50), + }, + End: ast.Location{ + Line: int(1417), + Column: int(54), }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15414, + FreeVars: ast.Identifiers{ + "arr1", }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Id: "arr1", + }, + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1417), + Column: int(56), + }, + End: ast.Location{ + Line: int(1417), + Column: int(60), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15414, + 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(1417), + Column: int(65), + }, + End: ast.Location{ + Line: int(1417), + Column: int(67), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15403, + FreeVars: nil, + }, + Op: ast.UnaryOp(3), + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1417), + Column: int(66), + }, + End: ast.Location{ + Line: int(1417), + Column: int(67), }, + File: p1, }, + Fodder: ast.Fodder{}, + Ctx: p15403, + FreeVars: nil, }, + OriginalString: "1", }, }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1417), + Column: int(3), + }, + End: ast.Location{ + Line: int(1417), + Column: int(67), + }, + File: p1, + }, }, ast.DesugaredObjectField{ Hide: ast.ObjectFieldHide(0), @@ -150881,12 +194460,14 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "find", + Value: "__array_greater", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Body: &ast.Function{ NodeBase: ast.NodeBase{ @@ -150902,407 +194483,715 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p8, + Fodder: nil, + Ctx: p11, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "value", - "arr", + 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(1418), + Column: int(19), + }, + End: ast.Location{ + Line: int(1418), + Column: int(23), + }, + File: p1, + }, + }, + ast.Parameter{ + NameFodder: ast.Fodder{}, + Name: "arr2", + EqFodder: nil, + DefaultArg: nil, + CommaFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(25), + }, + End: ast.Location{ + Line: int(1418), + Column: int(29), + }, + File: p1, + }, }, - Optional: nil, }, TrailingComma: false, - Body: &ast.Conditional{ + ParenRightFodder: ast.Fodder{}, + Body: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1355), - Column: int(5), + Line: int(1418), + Column: int(33), }, End: ast.Location{ - Line: int(1358), - Column: int(81), + Line: int(1418), + Column: int(69), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: p15425, FreeVars: ast.Identifiers{ - "arr", + "arr1", + "arr2", "std", - "value", }, }, - Cond: &ast.Binary{ + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1355), - Column: int(8), + Line: int(1418), + Column: int(33), }, End: ast.Location{ - Line: int(1355), - Column: int(32), + Line: int(1418), + Column: int(64), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: p15425, FreeVars: ast.Identifiers{ - "arr", + "arr1", + "arr2", "std", }, }, - Left: &ast.Apply{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1355), - Column: int(8), + Line: int(1418), + Column: int(33), }, End: ast.Location{ - Line: int(1355), - Column: int(21), + Line: int(1418), + Column: int(52), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: p15425, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Target: &ast.Index{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1355), - Column: int(8), + Line: int(1418), + Column: int(33), }, End: ast.Location{ - Line: int(1355), - Column: int(16), + Line: int(1418), + Column: int(36), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1355), - Column: int(8), - }, - End: ast.Location{ - Line: int(1355), - Column: int(11), - }, - File: p1, + Id: "std", + }, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(0), + Column: int(0), }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", + End: ast.Location{ + Line: int(0), + Column: int(0), }, + File: nil, }, - Id: "std", + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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(1418), + Column: int(53), + }, + End: ast.Location{ + Line: int(1418), + Column: int(57), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: p15436, + FreeVars: ast.Identifiers{ + "arr1", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "arr1", }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: ast.Fodder{}, }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1355), - Column: int(17), + Line: int(1418), + Column: int(59), }, End: ast.Location{ - Line: int(1355), - Column: int(20), + Line: int(1418), + Column: int(63), }, File: p1, }, - Ctx: p13596, + Fodder: ast.Fodder{}, + Ctx: p15436, FreeVars: ast.Identifiers{ - "arr", + "arr2", }, }, - Id: "arr", + Id: "arr2", }, + CommaFodder: nil, }, - Named: nil, }, - TrailingComma: false, - TailStrict: false, + Named: nil, }, - Op: ast.BinaryOp(13), - Right: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1355), - Column: int(25), - }, - End: ast.Location{ - Line: int(1355), - Column: int(32), - }, - File: p1, + 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(1418), + Column: int(68), }, - Ctx: p13583, - FreeVars: nil, + End: ast.Location{ + Line: int(1418), + Column: int(69), + }, + File: p1, }, - Value: "array", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Fodder: ast.Fodder{}, + Ctx: p15425, + FreeVars: nil, }, + OriginalString: "1", }, - BranchTrue: &ast.Error{ + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1418), + Column: int(3), + }, + End: ast.Location{ + Line: int(1418), + 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: nil, + }, + 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: p11, + 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(1419), + Column: int(25), + }, + End: ast.Location{ + Line: int(1419), + 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(1419), + Column: int(31), + }, + End: ast.Location{ + Line: int(1419), + 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(1419), + Column: int(39), + }, + End: ast.Location{ + Line: int(1419), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15446, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + }, + Left: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1356), - Column: int(7), + Line: int(1419), + Column: int(39), }, End: ast.Location{ - Line: int(1356), - Column: int(77), + Line: int(1419), + Column: int(70), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: p15446, FreeVars: ast.Identifiers{ - "arr", + "arr1", + "arr2", "std", }, }, - Expr: &ast.Binary{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1356), - Column: int(13), + Line: int(1419), + Column: int(39), }, End: ast.Location{ - Line: int(1356), - Column: int(77), + Line: int(1419), + Column: int(58), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: p15446, FreeVars: ast.Identifiers{ - "arr", "std", }, }, - Left: &ast.LiteralString{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1356), - Column: int(13), + Line: int(1419), + Column: int(39), }, End: ast.Location{ - Line: int(1356), - Column: int(61), + Line: int(1419), + Column: int(42), }, File: p1, }, - Ctx: p13583, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: "find second parameter should be an array, got ", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + Id: "std", }, - Op: ast.BinaryOp(3), - Right: &ast.Apply{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1356), - Column: int(64), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1356), - Column: int(77), + Line: int(0), + Column: int(0), }, - File: p1, - }, - Ctx: p13583, - FreeVars: ast.Identifiers{ - "arr", - "std", + File: nil, }, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1356), - Column: int(64), - }, - End: ast.Location{ - Line: int(1356), - Column: int(72), - }, - File: p1, - }, - Ctx: p13583, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + 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: "", + FileName: "", Begin: ast.Location{ - Line: int(1356), - Column: int(64), + Line: int(1419), + Column: int(59), }, End: ast.Location{ - Line: int(1356), - Column: int(67), + Line: int(1419), + Column: int(63), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15457, FreeVars: ast.Identifiers{ - "std", + "arr1", }, }, - Id: "std", + Id: "arr1", }, - Index: &ast.LiteralString{ + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1419), + Column: int(65), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1419), + Column: int(69), }, - File: nil, + File: p1, }, - Ctx: nil, - FreeVars: nil, - }, - Value: "type", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1356), - Column: int(73), - }, - End: ast.Location{ - Line: int(1356), - Column: int(76), - }, - File: p1, - }, - Ctx: p13613, - FreeVars: ast.Identifiers{ - "arr", - }, + Fodder: ast.Fodder{}, + Ctx: p15457, + FreeVars: ast.Identifiers{ + "arr2", }, - Id: "arr", }, + Id: "arr2", }, - Named: nil, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - BranchFalse: &ast.Apply{ + OpFodder: ast.Fodder{}, + Op: ast.BinaryOp(10), + Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1358), - Column: int(7), + Line: int(1419), + Column: int(74), }, End: ast.Location{ - Line: int(1358), - Column: int(81), + Line: int(1419), + Column: int(75), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15446, + FreeVars: nil, + }, + OriginalString: "0", + }, + }, + }, + PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1419), + Column: int(3), + }, + End: ast.Location{ + Line: int(1419), + 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: nil, + }, + 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: p11, + 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(1420), + Column: int(28), + }, + End: ast.Location{ + Line: int(1420), + 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(1420), + Column: int(34), + }, + End: ast.Location{ + Line: int(1420), + 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(1420), + Column: int(42), + }, + End: ast.Location{ + Line: int(1420), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15467, + FreeVars: ast.Identifiers{ + "arr1", + "arr2", + "std", + }, + }, + Left: &ast.Apply{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(42), + }, + End: ast.Location{ + Line: int(1420), + Column: int(73), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: p15467, FreeVars: ast.Identifiers{ - "arr", + "arr1", + "arr2", "std", - "value", }, }, Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1358), - Column: int(7), + Line: int(1420), + Column: int(42), }, End: ast.Location{ - Line: int(1358), - Column: int(17), + Line: int(1420), + Column: int(61), }, File: p1, }, - Ctx: p13583, + Fodder: ast.Fodder{}, + Ctx: p15467, FreeVars: ast.Identifiers{ "std", }, @@ -151310,17 +195199,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1358), - Column: int(7), + Line: int(1420), + Column: int(42), }, End: ast.Location{ - Line: int(1358), - Column: int(10), + Line: int(1420), + Column: int(45), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -151328,6 +195218,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -151342,436 +195233,127 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, - Value: "filter", + Value: "__compare_array", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(18), - }, - End: ast.Location{ - Line: int(1358), - Column: int(45), - }, - File: p1, - }, - Ctx: p13624, - FreeVars: ast.Identifiers{ - "arr", - "value", - }, - }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", - }, - Optional: nil, - }, - TrailingComma: false, - Body: &ast.Binary{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1358), - Column: int(30), + Line: int(1420), + Column: int(62), }, End: ast.Location{ - Line: int(1358), - Column: int(45), + Line: int(1420), + Column: int(66), }, File: p1, }, - Ctx: p13628, + Fodder: ast.Fodder{}, + Ctx: p15478, FreeVars: ast.Identifiers{ - "arr", - "i", - "value", - }, - }, - Left: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(30), - }, - End: ast.Location{ - Line: int(1358), - Column: int(36), - }, - File: p1, - }, - Ctx: p13628, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(30), - }, - End: ast.Location{ - Line: int(1358), - Column: int(33), - }, - File: p1, - }, - Ctx: p13628, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(34), - }, - End: ast.Location{ - Line: int(1358), - Column: int(35), - }, - File: p1, - }, - Ctx: p13628, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Op: ast.BinaryOp(12), - Right: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(40), - }, - End: ast.Location{ - Line: int(1358), - Column: int(45), - }, - File: p1, - }, - Ctx: p13628, - FreeVars: ast.Identifiers{ - "value", - }, + "arr1", }, - Id: "value", }, + Id: "arr1", }, + CommaFodder: ast.Fodder{}, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(47), - }, - End: ast.Location{ - Line: int(1358), - Column: int(80), - }, - File: p1, - }, - Ctx: p13624, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1358), - Column: int(47), + Line: int(1420), + Column: int(68), }, End: ast.Location{ - Line: int(1358), - Column: int(56), + Line: int(1420), + Column: int(72), }, File: p1, }, - Ctx: p13624, + Fodder: ast.Fodder{}, + Ctx: p15478, FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(47), - }, - End: ast.Location{ - Line: int(1358), - Column: int(50), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "range", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(57), - }, - End: ast.Location{ - Line: int(1358), - Column: int(58), - }, - File: p1, - }, - Ctx: p13647, - FreeVars: nil, - }, - Value: float64(0), - OriginalString: "0", - }, - &ast.Binary{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(60), - }, - End: ast.Location{ - Line: int(1358), - Column: int(79), - }, - File: p1, - }, - Ctx: p13647, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Left: &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(60), - }, - End: ast.Location{ - Line: int(1358), - Column: int(75), - }, - File: p1, - }, - Ctx: p13647, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(60), - }, - End: ast.Location{ - Line: int(1358), - Column: int(70), - }, - File: p1, - }, - Ctx: p13647, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(60), - }, - End: ast.Location{ - Line: int(1358), - Column: int(63), - }, - File: p1, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "length", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(71), - }, - End: ast.Location{ - Line: int(1358), - Column: int(74), - }, - File: p1, - }, - Ctx: p13659, - FreeVars: ast.Identifiers{ - "arr", - }, - }, - Id: "arr", - }, - }, - Named: nil, - }, - TrailingComma: false, - TailStrict: false, - }, - Op: ast.BinaryOp(4), - Right: &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(78), - }, - End: ast.Location{ - Line: int(1358), - Column: int(79), - }, - File: p1, - }, - Ctx: p13647, - FreeVars: nil, - }, - Value: float64(1), - OriginalString: "1", - }, + "arr2", }, }, - Named: nil, + Id: "arr2", }, - TrailingComma: false, - TailStrict: false, + 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(1420), + Column: int(77), + }, + End: ast.Location{ + Line: int(1420), + Column: int(78), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15467, + FreeVars: nil, + }, + OriginalString: "0", }, }, }, PlusSuper: false, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1420), + Column: int(3), + }, + End: ast.Location{ + Line: int(1420), + Column: int(78), + }, + File: p1, + }, }, }, Locals: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "std", + EqFodder: nil, Body: &ast.Self{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(25), Column: int(15), @@ -151782,18 +195364,34 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p13664, + Fodder: ast.Fodder{}, + Ctx: p15485, FreeVars: nil, }, }, Fun: nil, + CloseFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(25), + Column: int(9), + }, + End: ast.Location{ + 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: "", + FileName: "", Begin: ast.Location{ Line: int(26), Column: int(14), @@ -151804,20 +195402,38 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p13666, + Fodder: ast.Fodder{}, + Ctx: p15487, FreeVars: nil, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "x", + 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, + }, }, - Optional: []ast.NamedParameter{}, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ Line: int(26), Column: int(26), @@ -151828,7 +195444,8 @@ var _StdAst = &ast.DesugaredObject{ }, File: p1, }, - Ctx: p13669, + Fodder: ast.Fodder{}, + Ctx: p15490, FreeVars: ast.Identifiers{ "x", }, @@ -151837,9 +195454,24 @@ var _StdAst = &ast.DesugaredObject{ }, }, Fun: nil, + CloseFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(26), + Column: int(9), + }, + End: ast.Location{ + 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{ @@ -151854,19 +195486,55 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, - Ctx: p13672, + Fodder: nil, + Ctx: p15493, FreeVars: ast.Identifiers{ "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "str", - "base", + 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, + }, }, - Optional: []ast.NamedParameter{}, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -151881,6 +195549,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "base", @@ -151891,18 +195560,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(66), + Line: int(77), Column: int(12), }, End: ast.Location{ - Line: int(66), + Line: int(77), Column: int(34), }, File: p1, }, - Ctx: p13678, + Fodder: ast.Fodder{}, + Ctx: p15499, FreeVars: ast.Identifiers{ "base", }, @@ -151910,18 +195580,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(66), + Line: int(77), Column: int(12), }, End: ast.Location{ - Line: int(66), + Line: int(77), Column: int(20), }, File: p1, }, - Ctx: p13681, + Fodder: ast.Fodder{}, + Ctx: p15502, FreeVars: ast.Identifiers{ "base", }, @@ -151929,62 +195600,66 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(66), + Line: int(77), Column: int(12), }, End: ast.Location{ - Line: int(66), + Line: int(77), Column: int(16), }, File: p1, }, - Ctx: p13684, + Fodder: ast.Fodder{}, + Ctx: p15505, FreeVars: ast.Identifiers{ "base", }, }, Id: "base", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(7), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(66), + Line: int(77), Column: int(19), }, End: ast.Location{ - Line: int(66), + Line: int(77), Column: int(20), }, File: p1, }, - Ctx: p13687, + Fodder: ast.Fodder{}, + Ctx: p15508, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(17), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(66), + Line: int(77), Column: int(24), }, End: ast.Location{ - Line: int(66), + Line: int(77), Column: int(34), }, File: p1, }, - Ctx: p13689, + Fodder: ast.Fodder{}, + Ctx: p15510, FreeVars: ast.Identifiers{ "base", }, @@ -151992,62 +195667,81 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(66), + Line: int(77), Column: int(24), }, End: ast.Location{ - Line: int(66), + Line: int(77), Column: int(28), }, File: p1, }, - Ctx: p13692, + Fodder: ast.Fodder{}, + Ctx: p15513, FreeVars: ast.Identifiers{ "base", }, }, Id: "base", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(10), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(66), + Line: int(77), Column: int(32), }, End: ast.Location{ - Line: int(66), + Line: int(77), Column: int(34), }, File: p1, }, - Ctx: p13695, + Fodder: ast.Fodder{}, + Ctx: p15516, FreeVars: nil, }, - Value: float64(16), OriginalString: "16", }, }, }, + ThenFodder: nil, BranchTrue: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(68), + Line: int(79), Column: int(5), }, End: ast.Location{ - Line: int(81), + Line: int(92), Column: int(49), }, File: p1, }, - Ctx: p13697, + 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: p15520, FreeVars: ast.Identifiers{ "base", "std", @@ -152056,22 +195750,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "zero_code", + EqFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(68), + Line: int(79), Column: int(23), }, End: ast.Location{ - Line: int(68), + Line: int(79), Column: int(41), }, File: p1, }, - Ctx: p13701, + Fodder: ast.Fodder{}, + Ctx: p15524, FreeVars: ast.Identifiers{ "std", }, @@ -152079,18 +195776,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(68), + Line: int(79), Column: int(23), }, End: ast.Location{ - Line: int(68), + Line: int(79), Column: int(36), }, File: p1, }, - Ctx: p13704, + Fodder: ast.Fodder{}, + Ctx: p15527, FreeVars: ast.Identifiers{ "std", }, @@ -152098,17 +195796,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(68), + Line: int(79), Column: int(23), }, End: ast.Location{ - Line: int(68), + Line: int(79), Column: int(26), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -152116,6 +195815,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -152130,62 +195830,94 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "codepoint", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(68), - Column: int(37), - }, - End: ast.Location{ - Line: int(68), - Column: int(40), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(79), + Column: int(37), + }, + End: ast.Location{ + Line: int(79), + Column: int(40), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p15534, + FreeVars: nil, }, - Ctx: p13711, - FreeVars: nil, + Value: "0", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "0", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(79), + Column: int(11), + }, + End: ast.Location{ + Line: int(79), + Column: int(41), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(69), + Line: int(80), Column: int(5), }, End: ast.Location{ - Line: int(81), + Line: int(92), Column: int(49), }, File: p1, }, - Ctx: p13713, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15537, FreeVars: ast.Identifiers{ "base", "std", @@ -152195,22 +195927,25 @@ var _StdAst = &ast.DesugaredObject{ }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(69), + Line: int(80), Column: int(26), }, End: ast.Location{ - Line: int(69), + Line: int(80), Column: int(44), }, File: p1, }, - Ctx: p13717, + Fodder: ast.Fodder{}, + Ctx: p15541, FreeVars: ast.Identifiers{ "std", }, @@ -152218,18 +195953,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(69), + Line: int(80), Column: int(26), }, End: ast.Location{ - Line: int(69), + Line: int(80), Column: int(39), }, File: p1, }, - Ctx: p13720, + Fodder: ast.Fodder{}, + Ctx: p15544, FreeVars: ast.Identifiers{ "std", }, @@ -152237,17 +195973,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(69), + Line: int(80), Column: int(26), }, End: ast.Location{ - Line: int(69), + Line: int(80), Column: int(29), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -152255,6 +195992,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -152269,62 +196007,94 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "codepoint", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(69), - Column: int(40), - }, - End: ast.Location{ - Line: int(69), - Column: int(43), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(80), + Column: int(40), + }, + End: ast.Location{ + Line: int(80), + Column: int(43), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p15551, + FreeVars: nil, }, - Ctx: p13727, - FreeVars: nil, + Value: "A", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "A", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(80), + Column: int(11), + }, + End: ast.Location{ + Line: int(80), + Column: int(44), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(70), + Line: int(81), Column: int(5), }, End: ast.Location{ - Line: int(81), + Line: int(92), Column: int(49), }, File: p1, }, - Ctx: p13729, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15554, FreeVars: ast.Identifiers{ "base", "std", @@ -152335,22 +196105,25 @@ var _StdAst = &ast.DesugaredObject{ }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(70), + Line: int(81), Column: int(26), }, End: ast.Location{ - Line: int(70), + Line: int(81), Column: int(44), }, File: p1, }, - Ctx: p13733, + Fodder: ast.Fodder{}, + Ctx: p15558, FreeVars: ast.Identifiers{ "std", }, @@ -152358,18 +196131,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(70), + Line: int(81), Column: int(26), }, End: ast.Location{ - Line: int(70), + Line: int(81), Column: int(39), }, File: p1, }, - Ctx: p13736, + Fodder: ast.Fodder{}, + Ctx: p15561, FreeVars: ast.Identifiers{ "std", }, @@ -152377,17 +196151,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(70), + Line: int(81), Column: int(26), }, End: ast.Location{ - Line: int(70), + Line: int(81), Column: int(29), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -152395,6 +196170,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -152409,62 +196185,94 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "codepoint", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(70), - Column: int(40), - }, - End: ast.Location{ - Line: int(70), - Column: int(43), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(81), + Column: int(40), + }, + End: ast.Location{ + Line: int(81), + Column: int(43), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p15568, + FreeVars: nil, }, - Ctx: p13743, - FreeVars: nil, + Value: "a", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "a", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, Fun: nil, + CloseFodder: ast.Fodder{}, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(81), + Column: int(11), + }, + End: ast.Location{ + Line: int(81), + Column: int(44), + }, + File: p1, + }, }, }, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(71), + Line: int(82), Column: int(5), }, End: ast.Location{ - Line: int(81), + Line: int(92), Column: int(49), }, File: p1, }, - Ctx: p13745, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(4), + Comment: []string{}, + }, + }, + Ctx: p15571, FreeVars: ast.Identifiers{ "base", "lower_a_code", @@ -152476,22 +196284,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: nil, Variable: "addDigit", + EqFodder: nil, Body: &ast.Function{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(71), + Line: int(82), Column: int(11), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(31), }, File: p1, }, - Ctx: p13749, + Fodder: nil, + Ctx: p15575, FreeVars: ast.Identifiers{ "base", "lower_a_code", @@ -152501,29 +196312,72 @@ var _StdAst = &ast.DesugaredObject{ "zero_code", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "aggregate", - "char", + 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, + }, }, - Optional: []ast.NamedParameter{}, }, TrailingComma: false, + ParenRightFodder: ast.Fodder{}, Body: &ast.Local{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(72), + Line: int(83), Column: int(7), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(31), }, File: p1, }, - Ctx: p13753, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p15580, FreeVars: ast.Identifiers{ "aggregate", "base", @@ -152537,22 +196391,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "code", + EqFodder: ast.Fodder{}, Body: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(72), + Line: int(83), Column: int(20), }, End: ast.Location{ - Line: int(72), + Line: int(83), Column: int(39), }, File: p1, }, - Ctx: p13757, + Fodder: ast.Fodder{}, + Ctx: p15584, FreeVars: ast.Identifiers{ "char", "std", @@ -152561,18 +196418,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(72), + Line: int(83), Column: int(20), }, End: ast.Location{ - Line: int(72), + Line: int(83), Column: int(33), }, File: p1, }, - Ctx: p13760, + Fodder: ast.Fodder{}, + Ctx: p15587, FreeVars: ast.Identifiers{ "std", }, @@ -152580,17 +196438,18 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(72), + Line: int(83), Column: int(20), }, End: ast.Location{ - Line: int(72), + Line: int(83), Column: int(23), }, File: p1, }, + Fodder: ast.Fodder{}, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -152598,6 +196457,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -152612,62 +196472,93 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "codepoint", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(72), - Column: int(34), + 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, }, - End: ast.Location{ - Line: int(72), - Column: int(38), + Fodder: ast.Fodder{}, + Ctx: p15594, + FreeVars: ast.Identifiers{ + "char", }, - File: p1, - }, - Ctx: p13767, - FreeVars: ast.Identifiers{ - "char", }, + Id: "char", }, - Id: "char", + CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, TrailingComma: false, TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(73), + Line: int(84), Column: int(7), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(31), }, File: p1, }, - Ctx: p13770, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p15598, FreeVars: ast.Identifiers{ "aggregate", "base", @@ -152681,22 +196572,25 @@ var _StdAst = &ast.DesugaredObject{ }, Binds: ast.LocalBinds{ ast.LocalBind{ + VarFodder: ast.Fodder{}, Variable: "digit", + EqFodder: ast.Fodder{}, Body: &ast.Conditional{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(73), + Line: int(84), Column: int(21), }, End: ast.Location{ - Line: int(78), + Line: int(89), Column: int(25), }, File: p1, }, - Ctx: p13774, + Fodder: ast.Fodder{}, + Ctx: p15602, FreeVars: ast.Identifiers{ "code", "lower_a_code", @@ -152707,18 +196601,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(73), + Line: int(84), Column: int(24), }, End: ast.Location{ - Line: int(73), + Line: int(84), Column: int(44), }, File: p1, }, - Ctx: p13777, + Fodder: ast.Fodder{}, + Ctx: p15605, FreeVars: ast.Identifiers{ "code", "lower_a_code", @@ -152727,40 +196622,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(73), + Line: int(84), Column: int(24), }, End: ast.Location{ - Line: int(73), + Line: int(84), Column: int(28), }, File: p1, }, - Ctx: p13780, + Fodder: ast.Fodder{}, + Ctx: p15608, FreeVars: ast.Identifiers{ "code", }, }, Id: "code", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(73), + Line: int(84), Column: int(32), }, End: ast.Location{ - Line: int(73), + Line: int(84), Column: int(44), }, File: p1, }, - Ctx: p13783, + Fodder: ast.Fodder{}, + Ctx: p15611, FreeVars: ast.Identifiers{ "lower_a_code", }, @@ -152768,21 +196666,23 @@ var _StdAst = &ast.DesugaredObject{ Id: "lower_a_code", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(74), + Line: int(85), Column: int(9), }, End: ast.Location{ - Line: int(74), + Line: int(85), Column: int(33), }, File: p1, }, - Ctx: p13786, + Fodder: ast.Fodder{}, + Ctx: p15614, FreeVars: ast.Identifiers{ "code", "lower_a_code", @@ -152791,18 +196691,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(74), + Line: int(85), Column: int(9), }, End: ast.Location{ - Line: int(74), + Line: int(85), Column: int(28), }, File: p1, }, - Ctx: p13789, + Fodder: ast.Fodder{}, + Ctx: p15617, FreeVars: ast.Identifiers{ "code", "lower_a_code", @@ -152811,40 +196712,50 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(74), + Line: int(85), Column: int(9), }, End: ast.Location{ - Line: int(74), + Line: int(85), Column: int(13), }, File: p1, }, - Ctx: p13792, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p15621, FreeVars: ast.Identifiers{ "code", }, }, Id: "code", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(4), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(74), + Line: int(85), Column: int(16), }, End: ast.Location{ - Line: int(74), + Line: int(85), Column: int(28), }, File: p1, }, - Ctx: p13795, + Fodder: ast.Fodder{}, + Ctx: p15624, FreeVars: ast.Identifiers{ "lower_a_code", }, @@ -152852,43 +196763,53 @@ var _StdAst = &ast.DesugaredObject{ Id: "lower_a_code", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(74), + Line: int(85), Column: int(31), }, End: ast.Location{ - Line: int(74), + Line: int(85), Column: int(33), }, File: p1, }, - Ctx: p13798, + Fodder: ast.Fodder{}, + Ctx: p15627, FreeVars: nil, }, - Value: float64(10), 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: "", + FileName: "", Begin: ast.Location{ - Line: int(75), + Line: int(86), Column: int(12), }, End: ast.Location{ - Line: int(78), + Line: int(89), Column: int(25), }, File: p1, }, - Ctx: p13800, + Fodder: ast.Fodder{}, + Ctx: p15630, FreeVars: ast.Identifiers{ "code", "upper_a_code", @@ -152898,18 +196819,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(75), + Line: int(86), Column: int(15), }, End: ast.Location{ - Line: int(75), + Line: int(86), Column: int(35), }, File: p1, }, - Ctx: p13803, + Fodder: ast.Fodder{}, + Ctx: p15633, FreeVars: ast.Identifiers{ "code", "upper_a_code", @@ -152918,40 +196840,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(75), + Line: int(86), Column: int(15), }, End: ast.Location{ - Line: int(75), + Line: int(86), Column: int(19), }, File: p1, }, - Ctx: p13806, + Fodder: ast.Fodder{}, + Ctx: p15636, FreeVars: ast.Identifiers{ "code", }, }, Id: "code", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(75), + Line: int(86), Column: int(23), }, End: ast.Location{ - Line: int(75), + Line: int(86), Column: int(35), }, File: p1, }, - Ctx: p13809, + Fodder: ast.Fodder{}, + Ctx: p15639, FreeVars: ast.Identifiers{ "upper_a_code", }, @@ -152959,21 +196884,23 @@ var _StdAst = &ast.DesugaredObject{ Id: "upper_a_code", }, }, + ThenFodder: ast.Fodder{}, BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(76), + Line: int(87), Column: int(9), }, End: ast.Location{ - Line: int(76), + Line: int(87), Column: int(33), }, File: p1, }, - Ctx: p13812, + Fodder: ast.Fodder{}, + Ctx: p15642, FreeVars: ast.Identifiers{ "code", "upper_a_code", @@ -152982,18 +196909,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(76), + Line: int(87), Column: int(9), }, End: ast.Location{ - Line: int(76), + Line: int(87), Column: int(28), }, File: p1, }, - Ctx: p13815, + Fodder: ast.Fodder{}, + Ctx: p15645, FreeVars: ast.Identifiers{ "code", "upper_a_code", @@ -153002,40 +196930,50 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(76), + Line: int(87), Column: int(9), }, End: ast.Location{ - Line: int(76), + Line: int(87), Column: int(13), }, File: p1, }, - Ctx: p13818, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p15649, FreeVars: ast.Identifiers{ "code", }, }, Id: "code", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(4), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(76), + Line: int(87), Column: int(16), }, End: ast.Location{ - Line: int(76), + Line: int(87), Column: int(28), }, File: p1, }, - Ctx: p13821, + Fodder: ast.Fodder{}, + Ctx: p15652, FreeVars: ast.Identifiers{ "upper_a_code", }, @@ -153043,43 +196981,53 @@ var _StdAst = &ast.DesugaredObject{ Id: "upper_a_code", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(76), + Line: int(87), Column: int(31), }, End: ast.Location{ - Line: int(76), + Line: int(87), Column: int(33), }, File: p1, }, - Ctx: p13824, + Fodder: ast.Fodder{}, + Ctx: p15655, FreeVars: nil, }, - Value: float64(10), 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: "", + FileName: "", Begin: ast.Location{ - Line: int(78), + Line: int(89), Column: int(9), }, End: ast.Location{ - Line: int(78), + Line: int(89), Column: int(25), }, File: p1, }, - Ctx: p13826, + Fodder: ast.Fodder{}, + Ctx: p15658, FreeVars: ast.Identifiers{ "code", "zero_code", @@ -153088,40 +197036,50 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(78), + Line: int(89), Column: int(9), }, End: ast.Location{ - Line: int(78), + Line: int(89), Column: int(13), }, File: p1, }, - Ctx: p13829, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(8), + Comment: []string{}, + }, + }, + Ctx: p15662, FreeVars: ast.Identifiers{ "code", }, }, Id: "code", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(4), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(78), + Line: int(89), Column: int(16), }, End: ast.Location{ - Line: int(78), + Line: int(89), Column: int(25), }, File: p1, }, - Ctx: p13832, + Fodder: ast.Fodder{}, + Ctx: p15665, FreeVars: ast.Identifiers{ "zero_code", }, @@ -153132,6 +197090,19 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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{ @@ -153148,6 +197119,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "aggregate", @@ -153160,18 +197132,19 @@ var _StdAst = &ast.DesugaredObject{ Cond: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(79), + Line: int(90), Column: int(14), }, End: ast.Location{ - Line: int(79), + Line: int(90), Column: int(40), }, File: p1, }, - Ctx: p13837, + Fodder: ast.Fodder{}, + Ctx: p15670, FreeVars: ast.Identifiers{ "base", "digit", @@ -153180,18 +197153,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(79), + Line: int(90), Column: int(14), }, End: ast.Location{ - Line: int(79), + Line: int(90), Column: int(24), }, File: p1, }, - Ctx: p13840, + Fodder: ast.Fodder{}, + Ctx: p15673, FreeVars: ast.Identifiers{ "digit", }, @@ -153199,62 +197173,66 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(79), + Line: int(90), Column: int(14), }, End: ast.Location{ - Line: int(79), + Line: int(90), Column: int(19), }, File: p1, }, - Ctx: p13843, + Fodder: ast.Fodder{}, + Ctx: p15676, FreeVars: ast.Identifiers{ "digit", }, }, Id: "digit", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(8), Right: &ast.LiteralNumber{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(79), + Line: int(90), Column: int(23), }, End: ast.Location{ - Line: int(79), + Line: int(90), Column: int(24), }, File: p1, }, - Ctx: p13846, + Fodder: ast.Fodder{}, + Ctx: p15679, FreeVars: nil, }, - Value: float64(0), OriginalString: "0", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(17), Right: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(79), + Line: int(90), Column: int(28), }, End: ast.Location{ - Line: int(79), + Line: int(90), Column: int(40), }, File: p1, }, - Ctx: p13848, + Fodder: ast.Fodder{}, + Ctx: p15681, FreeVars: ast.Identifiers{ "base", "digit", @@ -153263,40 +197241,43 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(79), + Line: int(90), Column: int(28), }, End: ast.Location{ - Line: int(79), + Line: int(90), Column: int(33), }, File: p1, }, - Ctx: p13851, + Fodder: ast.Fodder{}, + Ctx: p15684, FreeVars: ast.Identifiers{ "digit", }, }, Id: "digit", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(9), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(79), + Line: int(90), Column: int(36), }, End: ast.Location{ - Line: int(79), + Line: int(90), Column: int(40), }, File: p1, }, - Ctx: p13854, + Fodder: ast.Fodder{}, + Ctx: p15687, FreeVars: ast.Identifiers{ "base", }, @@ -153305,21 +197286,23 @@ var _StdAst = &ast.DesugaredObject{ }, }, }, + ThenFodder: nil, BranchTrue: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(80), + Line: int(91), Column: int(7), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(31), }, File: p1, }, - Ctx: p13857, + Fodder: ast.Fodder{}, + Ctx: p15690, FreeVars: ast.Identifiers{ "aggregate", "base", @@ -153329,18 +197312,19 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Binary{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(80), + Line: int(91), Column: int(7), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(23), }, File: p1, }, - Ctx: p13860, + Fodder: ast.Fodder{}, + Ctx: p15693, FreeVars: ast.Identifiers{ "aggregate", "base", @@ -153349,40 +197333,50 @@ var _StdAst = &ast.DesugaredObject{ Left: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(80), + Line: int(91), Column: int(7), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(11), }, File: p1, }, - Ctx: p13863, + Fodder: ast.Fodder{ + ast.FodderElement{ + Kind: ast.FodderKind(0), + Blanks: int(0), + Indent: int(6), + Comment: []string{}, + }, + }, + Ctx: p15697, FreeVars: ast.Identifiers{ "base", }, }, Id: "base", }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(0), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(80), + Line: int(91), Column: int(14), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(23), }, File: p1, }, - Ctx: p13866, + Fodder: ast.Fodder{}, + Ctx: p15700, FreeVars: ast.Identifiers{ "aggregate", }, @@ -153390,22 +197384,24 @@ var _StdAst = &ast.DesugaredObject{ Id: "aggregate", }, }, + OpFodder: ast.Fodder{}, Op: ast.BinaryOp(3), Right: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(80), + Line: int(91), Column: int(26), }, End: ast.Location{ - Line: int(80), + Line: int(91), Column: int(31), }, File: p1, }, - Ctx: p13869, + Fodder: ast.Fodder{}, + Ctx: p15703, FreeVars: ast.Identifiers{ "digit", }, @@ -153413,20 +197409,22 @@ var _StdAst = &ast.DesugaredObject{ Id: "digit", }, }, + ElseFodder: nil, BranchFalse: &ast.Error{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(90), + Column: int(7), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(91), + Column: int(31), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "base", @@ -153439,15 +197437,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(90), + Column: int(43), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(90), + Column: int(86), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "base", @@ -153469,6 +197468,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -153488,6 +197488,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -153495,6 +197496,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -153509,109 +197511,133 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(43), - }, - End: ast.Location{ - Line: int(79), - Column: int(72), + 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, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p15716, + FreeVars: nil, }, - Ctx: p13882, - FreeVars: nil, + Value: "%s is not a base %d integer", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "%s is not a base %d integer", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, - &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(75), + 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, }, - End: ast.Location{ - Line: int(79), - Column: int(86), + Fodder: ast.Fodder{}, + Ctx: p15718, + FreeVars: ast.Identifiers{ + "base", + "str", }, - File: p1, }, - Ctx: p13884, - FreeVars: ast.Identifiers{ - "base", - "str", - }, - }, - Elements: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(76), - }, - End: ast.Location{ - Line: int(79), - Column: int(79), + 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: p15722, + FreeVars: ast.Identifiers{ + "str", + }, }, - File: p1, - }, - Ctx: p13888, - FreeVars: ast.Identifiers{ - "str", + Id: "str", }, + CommaFodder: ast.Fodder{}, }, - Id: "str", - }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(81), - }, - End: ast.Location{ - Line: int(79), - Column: int(85), + 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: p15725, + FreeVars: ast.Identifiers{ + "base", + }, }, - File: p1, - }, - Ctx: p13891, - FreeVars: ast.Identifiers{ - "base", + Id: "base", }, + CommaFodder: nil, }, - Id: "base", }, + TrailingComma: false, + CloseFodder: ast.Fodder{}, }, - TrailingComma: false, + CommaFodder: nil, }, }, Named: nil, }, TrailingComma: false, TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, }, }, @@ -153619,23 +197645,37 @@ var _StdAst = &ast.DesugaredObject{ }, }, 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: "", + FileName: "", Begin: ast.Location{ - Line: int(81), + Line: int(92), Column: int(5), }, End: ast.Location{ - Line: int(81), + Line: int(92), Column: int(49), }, File: p1, }, - Ctx: p13894, + Fodder: ast.Fodder{}, + Ctx: p15728, FreeVars: ast.Identifiers{ "addDigit", "std", @@ -153645,18 +197685,19 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(81), + Line: int(92), Column: int(5), }, End: ast.Location{ - Line: int(81), + Line: int(92), Column: int(14), }, File: p1, }, - Ctx: p13897, + Fodder: ast.Fodder{}, + Ctx: p15731, FreeVars: ast.Identifiers{ "std", }, @@ -153664,17 +197705,25 @@ var _StdAst = &ast.DesugaredObject{ Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(81), + Line: int(92), Column: int(5), }, End: ast.Location{ - Line: int(81), + 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", @@ -153682,6 +197731,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: ast.Fodder{}, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -153696,194 +197746,226 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "foldl", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: ast.Fodder{}, Id: nil, }, + FodderLeft: ast.Fodder{}, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(15), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(92), + Column: int(15), + }, + End: ast.Location{ + Line: int(92), + Column: int(23), + }, + File: p1, }, - End: ast.Location{ - Line: int(81), - Column: int(23), + Fodder: ast.Fodder{}, + Ctx: p15739, + FreeVars: ast.Identifiers{ + "addDigit", }, - File: p1, - }, - Ctx: p13904, - FreeVars: ast.Identifiers{ - "addDigit", }, + Id: "addDigit", }, - Id: "addDigit", + CommaFodder: ast.Fodder{}, }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(25), - }, - End: ast.Location{ - Line: int(81), - Column: int(45), - }, - File: p1, - }, - Ctx: p13907, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - }, - Target: &ast.Index{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(81), + Line: int(92), Column: int(25), }, End: ast.Location{ - Line: int(81), - Column: int(40), + Line: int(92), + Column: int(45), }, File: p1, }, - Ctx: p13910, + Fodder: ast.Fodder{}, + Ctx: p15742, FreeVars: ast.Identifiers{ "std", + "str", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(81), + Line: int(92), Column: int(25), }, End: ast.Location{ - Line: int(81), - Column: int(28), + Line: int(92), + Column: int(40), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15745, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(92), + Column: int(25), + }, + End: ast.Location{ + Line: int(92), + Column: int(28), + }, + File: p1, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: ast.Fodder{}, + Ctx: nil, + FreeVars: ast.Identifiers{ + "std", }, - File: nil, }, - Ctx: nil, - FreeVars: nil, + Id: "std", }, - Value: "stringChars", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Var{ + LeftBracketFodder: ast.Fodder{}, + Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(81), - Column: int(41), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(81), - Column: int(44), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p13917, - FreeVars: ast.Identifiers{ - "str", + Fodder: nil, + Ctx: nil, + FreeVars: nil, + }, + 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(92), + Column: int(41), + }, + End: ast.Location{ + Line: int(92), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15752, + FreeVars: ast.Identifiers{ + "str", + }, + }, + Id: "str", }, + CommaFodder: nil, }, - Id: "str", }, + Named: []ast.NamedArgument{}, }, - Named: []ast.NamedArgument{}, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, + CommaFodder: ast.Fodder{}, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(47), - }, - End: ast.Location{ - Line: int(81), - Column: int(48), + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(92), + Column: int(47), + }, + End: ast.Location{ + Line: int(92), + Column: int(48), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p15755, + FreeVars: nil, }, - Ctx: p13920, - FreeVars: nil, + OriginalString: "0", }, - Value: float64(0), - OriginalString: "0", + CommaFodder: nil, }, }, Named: []ast.NamedArgument{}, }, 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(0), - Column: int(0), + Line: int(77), + Column: int(5), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(92), + Column: int(49), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "base", @@ -153895,15 +197977,16 @@ var _StdAst = &ast.DesugaredObject{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(77), + Column: int(37), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(77), + Column: int(69), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "base", @@ -153924,6 +198007,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -153943,6 +198027,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -153950,6 +198035,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -153964,111 +198050,159 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "mod", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(37), - }, - End: ast.Location{ - Line: int(66), - Column: int(62), + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralString{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(37), + }, + End: ast.Location{ + Line: int(77), + Column: int(62), + }, + File: p1, }, - File: p1, + Fodder: ast.Fodder{}, + Ctx: p15767, + FreeVars: nil, }, - Ctx: p13932, - FreeVars: nil, + Value: "integer base %d invalid", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", }, - Value: "integer base %d invalid", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", + CommaFodder: nil, }, - &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(65), + ast.CommaSeparatedExpr{ + Expr: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(77), + Column: int(65), + }, + End: ast.Location{ + Line: int(77), + Column: int(69), + }, + File: p1, }, - End: ast.Location{ - Line: int(66), - Column: int(69), + Fodder: ast.Fodder{}, + Ctx: p15769, + FreeVars: ast.Identifiers{ + "base", }, - File: p1, - }, - Ctx: p13934, - FreeVars: ast.Identifiers{ - "base", }, + Id: "base", }, - Id: "base", + 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(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: "", + FileName: "", Begin: ast.Location{ - Line: int(1065), + Line: int(1090), Column: int(24), }, End: ast.Location{ - Line: int(1065), + Line: int(1090), Column: int(90), }, File: p1, }, - Ctx: p13937, + Fodder: ast.Fodder{}, + Ctx: p15772, FreeVars: nil, }, Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, Fun: nil, + CloseFodder: nil, + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1090), + Column: int(9), + }, + End: ast.Location{ + Line: int(1090), + 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(0), - Column: int(0), + Line: int(1091), + Column: int(22), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1091), + Column: int(72), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "base64_table", @@ -154089,6 +198223,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -154108,6 +198243,7 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", @@ -154115,6 +198251,7 @@ var _StdAst = &ast.DesugaredObject{ }, Id: "std", }, + LeftBracketFodder: nil, Index: &ast.LiteralString{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -154129,57 +198266,44 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: nil, }, Value: "$objectFlatMerge", Kind: ast.LiteralStringKind(1), BlockIndent: "", + BlockTermIndent: "", }, + RightBracketFodder: nil, Id: nil, }, + FodderLeft: nil, Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "base64_table", - "std", - }, - }, - Target: &ast.Index{ + Positional: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", Begin: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1091), + Column: int(22), }, End: ast.Location{ - Line: int(0), - Column: int(0), + Line: int(1091), + Column: int(72), }, - File: nil, + File: p1, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ + "base64_table", "std", }, }, - Target: &ast.Var{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -154193,39 +198317,13 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "flatMap", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.Function{ + Target: &ast.Var{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ FileName: "", @@ -154239,303 +198337,440 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: ast.Identifiers{ - "base64_table", + "std", }, }, - Parameters: ast.Parameters{ - Required: ast.Identifiers{ - "i", + 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, }, - Optional: nil, + Fodder: nil, + Ctx: nil, + FreeVars: nil, }, - TrailingComma: false, - Body: &ast.Array{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), + 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, }, - End: ast.Location{ - Line: int(0), - Column: int(0), + Fodder: nil, + Ctx: nil, + FreeVars: ast.Identifiers{ + "base64_table", }, - File: nil, }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "base64_table", - "i", + 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, + }, + }, }, - }, - Elements: ast.Nodes{ - &ast.DesugaredObject{ + TrailingComma: false, + ParenRightFodder: nil, + Body: &ast.Array{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1066), - Column: int(22), + Line: int(0), + Column: int(0), }, End: ast.Location{ - Line: int(1066), - Column: int(72), + Line: int(0), + Column: int(0), }, - File: p1, + File: nil, }, - Ctx: p13961, + Fodder: nil, + Ctx: nil, FreeVars: ast.Identifiers{ "base64_table", "i", }, }, - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Hide: ast.ObjectFieldHide(1), - Name: &ast.Index{ + Elements: []ast.CommaSeparatedExpr{ + ast.CommaSeparatedExpr{ + Expr: &ast.DesugaredObject{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1066), - Column: int(25), + Line: int(1091), + Column: int(22), }, End: ast.Location{ - Line: int(1066), - Column: int(40), + Line: int(1091), + Column: int(72), }, File: p1, }, - Ctx: p13965, + Fodder: ast.Fodder{}, + Ctx: p15796, FreeVars: ast.Identifiers{ "base64_table", "i", }, }, - Target: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1066), - Column: int(25), + 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(1091), + Column: int(25), + }, + End: ast.Location{ + Line: int(1091), + Column: int(40), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15800, + FreeVars: ast.Identifiers{ + "base64_table", + "i", + }, }, - End: ast.Location{ - Line: int(1066), - Column: int(37), + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1091), + Column: int(25), + }, + End: ast.Location{ + Line: int(1091), + Column: int(37), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15803, + FreeVars: ast.Identifiers{ + "base64_table", + }, + }, + Id: "base64_table", }, - File: p1, + LeftBracketFodder: ast.Fodder{}, + Index: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1091), + Column: int(38), + }, + End: ast.Location{ + Line: int(1091), + Column: int(39), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15806, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - Ctx: p13968, - FreeVars: ast.Identifiers{ - "base64_table", + Body: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1091), + Column: int(43), + }, + End: ast.Location{ + Line: int(1091), + Column: int(44), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15809, + FreeVars: ast.Identifiers{ + "i", + }, + }, + Id: "i", }, - }, - Id: "base64_table", - }, - Index: &ast.Var{ - NodeBase: ast.NodeBase{ + PlusSuper: false, LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1066), - Column: int(38), + Line: int(1091), + Column: int(24), }, End: ast.Location{ - Line: int(1066), - Column: int(39), + Line: int(1091), + Column: int(44), }, File: p1, }, - Ctx: p13971, - FreeVars: ast.Identifiers{ - "i", - }, - }, - Id: "i", - }, - Id: nil, - }, - Body: &ast.Var{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1066), - Column: int(43), - }, - End: ast.Location{ - Line: int(1066), - Column: int(44), - }, - File: p1, - }, - Ctx: p13974, - FreeVars: ast.Identifiers{ - "i", }, }, - Id: "i", + Locals: ast.LocalBinds{}, }, - PlusSuper: false, + CommaFodder: nil, }, }, - Locals: ast.LocalBinds{}, - }, - }, - TrailingComma: false, - }, - }, - &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1066), - Column: int(54), - }, - End: ast.Location{ - Line: int(1066), - Column: int(70), + TrailingComma: false, + CloseFodder: nil, }, - File: p1, - }, - Ctx: p13977, - FreeVars: ast.Identifiers{ - "std", }, + CommaFodder: nil, }, - Target: &ast.Index{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1066), - Column: int(54), - }, - End: ast.Location{ - Line: int(1066), - Column: int(63), - }, - File: p1, - }, - Ctx: p13980, - FreeVars: ast.Identifiers{ - "std", - }, - }, - Target: &ast.Var{ + ast.CommaSeparatedExpr{ + Expr: &ast.Apply{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1066), + Line: int(1091), Column: int(54), }, End: ast.Location{ - Line: int(1066), - Column: int(57), + Line: int(1091), + Column: int(70), }, File: p1, }, - Ctx: nil, + Fodder: ast.Fodder{}, + Ctx: p15812, FreeVars: ast.Identifiers{ "std", }, }, - Id: "std", - }, - Index: &ast.LiteralString{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - File: nil, - }, - Ctx: nil, - FreeVars: nil, - }, - Value: "range", - Kind: ast.LiteralStringKind(1), - BlockIndent: "", - }, - Id: nil, - }, - Arguments: ast.Arguments{ - Positional: ast.Nodes{ - &ast.LiteralNumber{ + Target: &ast.Index{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ - FileName: "", + FileName: "", Begin: ast.Location{ - Line: int(1066), - Column: int(64), + Line: int(1091), + Column: int(54), }, End: ast.Location{ - Line: int(1066), - Column: int(65), + Line: int(1091), + Column: int(63), }, File: p1, }, - Ctx: p13987, - FreeVars: nil, + Fodder: ast.Fodder{}, + Ctx: p15815, + FreeVars: ast.Identifiers{ + "std", + }, }, - Value: float64(0), - OriginalString: "0", + Target: &ast.Var{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1091), + Column: int(54), + }, + End: ast.Location{ + Line: int(1091), + 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: nil, + }, + Value: "range", + Kind: ast.LiteralStringKind(1), + BlockIndent: "", + BlockTermIndent: "", + }, + RightBracketFodder: ast.Fodder{}, + Id: nil, }, - &ast.LiteralNumber{ - NodeBase: ast.NodeBase{ - LocRange: ast.LocationRange{ - FileName: "", - Begin: ast.Location{ - Line: int(1066), - Column: int(67), + 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(1091), + Column: int(64), + }, + End: ast.Location{ + Line: int(1091), + Column: int(65), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15822, + FreeVars: nil, + }, + OriginalString: "0", }, - End: ast.Location{ - Line: int(1066), - Column: int(69), + CommaFodder: ast.Fodder{}, + }, + ast.CommaSeparatedExpr{ + Expr: &ast.LiteralNumber{ + NodeBase: ast.NodeBase{ + LocRange: ast.LocationRange{ + FileName: "", + Begin: ast.Location{ + Line: int(1091), + Column: int(67), + }, + End: ast.Location{ + Line: int(1091), + Column: int(69), + }, + File: p1, + }, + Fodder: ast.Fodder{}, + Ctx: p15824, + FreeVars: nil, + }, + OriginalString: "63", }, - File: p1, + CommaFodder: nil, }, - Ctx: p13989, - FreeVars: nil, }, - Value: float64(63), - OriginalString: "63", + Named: []ast.NamedArgument{}, }, + TrailingComma: false, + TailStrict: false, + FodderRight: ast.Fodder{}, + TailStrictFodder: nil, }, - Named: []ast.NamedArgument{}, + CommaFodder: nil, }, - TrailingComma: false, - TailStrict: false, }, + Named: nil, }, - Named: nil, + TrailingComma: false, + TailStrict: false, + FodderRight: nil, + TailStrictFodder: nil, }, - TrailingComma: false, - TailStrict: false, + 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(1091), + Column: int(9), + }, + End: ast.Location{ + Line: int(1091), + Column: int(72), + }, + File: p1, + }, }, ast.LocalBind{ + VarFodder: nil, Variable: "$", + EqFodder: nil, Body: &ast.Self{ NodeBase: ast.NodeBase{ LocRange: ast.LocationRange{ @@ -154550,11 +198785,25 @@ var _StdAst = &ast.DesugaredObject{ }, File: nil, }, + Fodder: nil, Ctx: nil, FreeVars: 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, + }, }, }, } diff --git a/vendor/github.com/google/go-jsonnet/benchmark.sh b/vendor/github.com/google/go-jsonnet/benchmark.sh new file mode 100644 index 0000000000..80b4cd2842 --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/benchmark.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +set -e + +FILTER=${1:-Builtin} + +root_dir="$( cd "$( dirname "$0" )" && pwd )" + +( + cd "${root_dir}" + mkdir -p ./builtin-benchmark-results + rm -f ./builtin-benchmark-results/* + echo "Running Before Test... (10s)" + go test -bench="${FILTER}" -run=^$ -v -benchtime=10s -jsonnetPath=./jsonnet-old > ./builtin-benchmark-results/before.txt + echo "Running After Test... (10s)" + go test -bench="${FILTER}" -run=^$ -v -benchtime=10s -jsonnetPath=./jsonnet > ./builtin-benchmark-results/after.txt + benchcmp ./builtin-benchmark-results/before.txt ./builtin-benchmark-results/after.txt +) diff --git a/vendor/github.com/google/go-jsonnet/builtins.go b/vendor/github.com/google/go-jsonnet/builtins.go index 0bc165d5d1..f4bb5ebb29 100644 --- a/vendor/github.com/google/go-jsonnet/builtins.go +++ b/vendor/github.com/google/go-jsonnet/builtins.go @@ -19,197 +19,239 @@ package jsonnet import ( "bytes" "crypto/md5" + "encoding/base64" "encoding/hex" "encoding/json" "fmt" "math" "os" + "reflect" "sort" + "strconv" "strings" "github.com/google/go-jsonnet/ast" ) -func builtinPlus(i *interpreter, trace traceElement, x, y value) (value, error) { +func builtinPlus(i *interpreter, x, y value) (value, error) { // TODO(sbarzowski) perhaps a more elegant way to dispatch switch right := y.(type) { - case *valueString: - left, err := builtinToString(i, trace, x) + case valueString: + left, err := builtinToString(i, x) if err != nil { return nil, err } - return concatStrings(left.(*valueString), right), nil + return concatStrings(left.(valueString), right), nil } switch left := x.(type) { case *valueNumber: - right, err := i.getNumber(y, trace) + right, err := i.getNumber(y) if err != nil { return nil, err } - return makeValueNumber(left.value + right.value), nil - case *valueString: - right, err := builtinToString(i, trace, y) + return makeDoubleCheck(i, left.value+right.value) + case valueString: + right, err := builtinToString(i, y) if err != nil { return nil, err } - return concatStrings(left, right.(*valueString)), nil + return concatStrings(left, right.(valueString)), nil case *valueObject: switch right := y.(type) { case *valueObject: return makeValueExtendedObject(left, right), nil default: - return nil, i.typeErrorSpecific(y, &valueObject{}, trace) + return nil, i.typeErrorSpecific(y, &valueObject{}) } case *valueArray: - right, err := i.getArray(y, trace) + right, err := i.getArray(y) if err != nil { return nil, err } return concatArrays(left, right), nil default: - return nil, i.typeErrorGeneral(x, trace) + return nil, i.typeErrorGeneral(x) } } -func builtinMinus(i *interpreter, trace traceElement, xv, yv value) (value, error) { - x, err := i.getNumber(xv, trace) +func builtinMinus(i *interpreter, xv, yv value) (value, error) { + x, err := i.getNumber(xv) if err != nil { return nil, err } - y, err := i.getNumber(yv, trace) + y, err := i.getNumber(yv) if err != nil { return nil, err } - return makeValueNumber(x.value - y.value), nil + return makeDoubleCheck(i, x.value-y.value) } -func builtinMult(i *interpreter, trace traceElement, xv, yv value) (value, error) { - x, err := i.getNumber(xv, trace) +func builtinMult(i *interpreter, xv, yv value) (value, error) { + x, err := i.getNumber(xv) if err != nil { return nil, err } - y, err := i.getNumber(yv, trace) + y, err := i.getNumber(yv) if err != nil { return nil, err } - return makeValueNumber(x.value * y.value), nil + return makeDoubleCheck(i, x.value*y.value) } -func builtinDiv(i *interpreter, trace traceElement, xv, yv value) (value, error) { - x, err := i.getNumber(xv, trace) +func builtinDiv(i *interpreter, xv, yv value) (value, error) { + x, err := i.getNumber(xv) if err != nil { return nil, err } - y, err := i.getNumber(yv, trace) + y, err := i.getNumber(yv) if err != nil { return nil, err } if y.value == 0 { - return nil, i.Error("Division by zero.", trace) + return nil, i.Error("Division by zero.") } - return makeDoubleCheck(i, trace, x.value/y.value) + return makeDoubleCheck(i, x.value/y.value) } -func builtinModulo(i *interpreter, trace traceElement, xv, yv value) (value, error) { - x, err := i.getNumber(xv, trace) +func builtinModulo(i *interpreter, xv, yv value) (value, error) { + x, err := i.getNumber(xv) if err != nil { return nil, err } - y, err := i.getNumber(yv, trace) + y, err := i.getNumber(yv) if err != nil { return nil, err } if y.value == 0 { - return nil, i.Error("Division by zero.", trace) + return nil, i.Error("Division by zero.") } - return makeDoubleCheck(i, trace, math.Mod(x.value, y.value)) + return makeDoubleCheck(i, math.Mod(x.value, y.value)) } -func valueLess(i *interpreter, trace traceElement, x, yv value) (bool, error) { +func valueCmp(i *interpreter, x, y value) (int, error) { switch left := x.(type) { case *valueNumber: - right, err := i.getNumber(yv, trace) + right, err := i.getNumber(y) if err != nil { - return false, err + return 0, err } - return left.value < right.value, nil - case *valueString: - right, err := i.getString(yv, trace) + return float64Cmp(left.value, right.value), nil + case valueString: + right, err := i.getString(y) if err != nil { - return false, err + return 0, err } - return stringLessThan(left, right), nil + return stringCmp(left, right), nil + case *valueArray: + right, err := i.getArray(y) + if err != nil { + return 0, err + } + return arrayCmp(i, left, right) default: - return false, i.typeErrorGeneral(x, trace) + return 0, i.typeErrorGeneral(x) + } +} + +func arrayCmp(i *interpreter, x, y *valueArray) (int, error) { + for index := 0; index < minInt(x.length(), y.length()); index++ { + left, err := x.index(i, index) + if err != nil { + return 0, err + } + right, err := y.index(i, index) + if err != nil { + return 0, err + } + cmp, err := valueCmp(i, left, right) + if err != nil { + return 0, err + } + if cmp != 0 { + return cmp, nil + } } + return intCmp(x.length(), y.length()), nil } -func builtinLess(i *interpreter, trace traceElement, x, yv value) (value, error) { - b, err := valueLess(i, trace, x, yv) - return makeValueBoolean(b), err +func builtinLess(i *interpreter, x, y value) (value, error) { + r, err := valueCmp(i, x, y) + if err != nil { + return nil, err + } + return makeValueBoolean(r == -1), nil } -func builtinGreater(i *interpreter, trace traceElement, x, y value) (value, error) { - return builtinLess(i, trace, y, x) +func builtinGreater(i *interpreter, x, y value) (value, error) { + r, err := valueCmp(i, x, y) + if err != nil { + return nil, err + } + return makeValueBoolean(r == 1), nil } -func builtinGreaterEq(i *interpreter, trace traceElement, x, y value) (value, error) { - res, err := builtinLess(i, trace, x, y) +func builtinGreaterEq(i *interpreter, x, y value) (value, error) { + r, err := valueCmp(i, x, y) if err != nil { return nil, err } - return res.(*valueBoolean).not(), nil + return makeValueBoolean(r >= 0), nil } -func builtinLessEq(i *interpreter, trace traceElement, x, y value) (value, error) { - res, err := builtinGreater(i, trace, x, y) +func builtinLessEq(i *interpreter, x, y value) (value, error) { + r, err := valueCmp(i, x, y) if err != nil { return nil, err } - return res.(*valueBoolean).not(), nil + return makeValueBoolean(r <= 0), nil } -func builtinLength(i *interpreter, trace traceElement, x value) (value, error) { +func builtinLength(i *interpreter, x value) (value, error) { var num int switch x := x.(type) { case *valueObject: num = len(objectFields(x, withoutHidden)) case *valueArray: num = len(x.elements) - case *valueString: + case valueString: num = x.length() case *valueFunction: - num = len(x.Parameters().required) + for _, param := range x.parameters() { + if param.defaultArg == nil { + num++ + } + } default: - return nil, i.typeErrorGeneral(x, trace) + return nil, i.typeErrorGeneral(x) } return makeValueNumber(float64(num)), nil } -func builtinToString(i *interpreter, trace traceElement, x value) (value, error) { +func builtinToString(i *interpreter, x value) (value, error) { switch x := x.(type) { - case *valueString: + case valueString: return x, nil } var buf bytes.Buffer - err := i.manifestAndSerializeJSON(&buf, trace, x, false, "") + err := i.manifestAndSerializeJSON(&buf, x, false, "") if err != nil { return nil, err } return makeValueString(buf.String()), nil } -func builtinTrace(i *interpreter, trace traceElement, x value, y value) (value, error) { - xStr, err := i.getString(x, trace) +func builtinTrace(i *interpreter, x value, y value) (value, error) { + xStr, err := i.getString(x) if err != nil { return nil, err } + trace := i.stack.currentTrace filename := trace.loc.FileName line := trace.loc.Begin.Line fmt.Fprintf( - os.Stderr, "TRACE: %s:%d %s\n", filename, line, xStr.getString()) + os.Stderr, "TRACE: %s:%d %s\n", filename, line, xStr.getGoString()) return y, nil } @@ -223,12 +265,12 @@ type astMakeArrayElement struct { index int } -func builtinMakeArray(i *interpreter, trace traceElement, szv, funcv value) (value, error) { - sz, err := i.getInt(szv, trace) +func builtinMakeArray(i *interpreter, szv, funcv value) (value, error) { + sz, err := i.getInt(szv) if err != nil { return nil, err } - fun, err := i.getFunction(funcv, trace) + fun, err := i.getFunction(funcv) if err != nil { return nil, err } @@ -247,41 +289,54 @@ func builtinMakeArray(i *interpreter, trace traceElement, szv, funcv value) (val return makeValueArray(elems), nil } -func builtinFlatMap(i *interpreter, trace traceElement, funcv, arrv value) (value, error) { - arr, err := i.getArray(arrv, trace) +func builtinFlatMap(i *interpreter, funcv, arrv value) (value, error) { + fun, err := i.getFunction(funcv) if err != nil { return nil, err } - fun, err := i.getFunction(funcv, trace) - if err != nil { - return nil, err - } - num := arr.length() - // Start with capacity of the original array. - // This may spare us a few reallocations. - // TODO(sbarzowski) verify that it actually helps - elems := make([]*cachedThunk, 0, num) - for counter := 0; counter < num; counter++ { - returnedValue, err := fun.call(i, trace, args(arr.elements[counter])) - if err != nil { - return nil, err - } - returned, err := i.getArray(returnedValue, trace) - if err != nil { - return nil, err + switch arrv := arrv.(type) { + case *valueArray: + num := arrv.length() + // Start with capacity of the original array. + // This may spare us a few reallocations. + // TODO(sbarzowski) verify that it actually helps + elems := make([]*cachedThunk, 0, num) + for counter := 0; counter < num; counter++ { + returnedValue, err := fun.call(i, args(arrv.elements[counter])) + if err != nil { + return nil, err + } + returned, err := i.getArray(returnedValue) + if err != nil { + return nil, err + } + elems = append(elems, returned.elements...) } - for _, elem := range returned.elements { - elems = append(elems, elem) + return makeValueArray(elems), nil + case valueString: + var str strings.Builder + for _, elem := range arrv.getRunes() { + returnedValue, err := fun.call(i, args(readyThunk(makeValueString(string(elem))))) + if err != nil { + return nil, err + } + returned, err := i.getString(returnedValue) + if err != nil { + return nil, err + } + str.WriteString(returned.getGoString()) } + return makeValueString(str.String()), nil + default: + return nil, i.Error("std.flatMap second param must be array / string, got " + arrv.getType().name) } - return makeValueArray(elems), nil } -func joinArrays(i *interpreter, trace traceElement, sep *valueArray, arr *valueArray) (value, error) { +func joinArrays(i *interpreter, sep *valueArray, arr *valueArray) (value, error) { result := make([]*cachedThunk, 0, arr.length()) first := true for _, elem := range arr.elements { - elemValue, err := i.evaluatePV(elem, trace) + elemValue, err := i.evaluatePV(elem) if err != nil { return nil, err } @@ -290,15 +345,11 @@ func joinArrays(i *interpreter, trace traceElement, sep *valueArray, arr *valueA continue case *valueArray: if !first { - for _, subElem := range sep.elements { - result = append(result, subElem) - } - } - for _, subElem := range v.elements { - result = append(result, subElem) + result = append(result, sep.elements...) } + result = append(result, v.elements...) default: - return nil, i.typeErrorSpecific(elemValue, &valueArray{}, trace) + return nil, i.typeErrorSpecific(elemValue, &valueArray{}) } first = false @@ -306,51 +357,68 @@ func joinArrays(i *interpreter, trace traceElement, sep *valueArray, arr *valueA return makeValueArray(result), nil } -func joinStrings(i *interpreter, trace traceElement, sep *valueString, arr *valueArray) (value, error) { +func joinStrings(i *interpreter, sep valueString, arr *valueArray) (value, error) { result := make([]rune, 0, arr.length()) first := true for _, elem := range arr.elements { - elemValue, err := i.evaluatePV(elem, trace) + elemValue, err := i.evaluatePV(elem) if err != nil { return nil, err } switch v := elemValue.(type) { case *valueNull: continue - case *valueString: + case valueString: if !first { - result = append(result, sep.value...) + result = append(result, sep.getRunes()...) } - result = append(result, v.value...) + result = append(result, v.getRunes()...) default: - return nil, i.typeErrorSpecific(elemValue, &valueString{}, trace) + return nil, i.typeErrorSpecific(elemValue, emptyString()) } first = false } - return &valueString{value: result}, nil + return makeStringFromRunes(result), nil } -func builtinJoin(i *interpreter, trace traceElement, sep, arrv value) (value, error) { - arr, err := i.getArray(arrv, trace) +func builtinJoin(i *interpreter, sep, arrv value) (value, error) { + arr, err := i.getArray(arrv) if err != nil { return nil, err } switch sep := sep.(type) { - case *valueString: - return joinStrings(i, trace, sep, arr) + case valueString: + return joinStrings(i, sep, arr) case *valueArray: - return joinArrays(i, trace, sep, arr) + return joinArrays(i, sep, arr) default: - return nil, i.Error("join first parameter should be string or array, got "+sep.getType().name, trace) + return nil, i.Error("join first parameter should be string or array, got " + sep.getType().name) + } +} + +func builtinReverse(i *interpreter, arrv value) (value, error) { + arr, err := i.getArray(arrv) + if err != nil { + return nil, err + } + + lenArr := len(arr.elements) // lenx holds the original array length + reversedArray := make([]*cachedThunk, lenArr) // creates a slice that refer to a new array of length lenx + + for i := 0; i < lenArr; i++ { + j := lenArr - (i + 1) // j initially holds (lenx - 1) and decreases to 0 while i initially holds 0 and increase to (lenx - 1) + reversedArray[i] = arr.elements[j] } + + return makeValueArray(reversedArray), nil } -func builtinFilter(i *interpreter, trace traceElement, funcv, arrv value) (value, error) { - arr, err := i.getArray(arrv, trace) +func builtinFilter(i *interpreter, funcv, arrv value) (value, error) { + arr, err := i.getArray(arrv) if err != nil { return nil, err } - fun, err := i.getFunction(funcv, trace) + fun, err := i.getFunction(funcv) if err != nil { return nil, err } @@ -360,11 +428,11 @@ func builtinFilter(i *interpreter, trace traceElement, funcv, arrv value) (value // TODO(sbarzowski) verify that it actually helps elems := make([]*cachedThunk, 0, num) for counter := 0; counter < num; counter++ { - includedValue, err := fun.call(i, trace, args(arr.elements[counter])) + includedValue, err := fun.call(i, args(arr.elements[counter])) if err != nil { return nil, err } - included, err := i.getBoolean(includedValue, trace) + included, err := i.getBoolean(includedValue) if err != nil { return nil, err } @@ -377,7 +445,6 @@ func builtinFilter(i *interpreter, trace traceElement, funcv, arrv value) (value type sortData struct { i *interpreter - trace traceElement thunks []*cachedThunk keys []value err error @@ -388,12 +455,12 @@ func (d *sortData) Len() int { } func (d *sortData) Less(i, j int) bool { - b, err := valueLess(d.i, d.trace, d.keys[i], d.keys[j]) + r, err := valueCmp(d.i, d.keys[i], d.keys[j]) if err != nil { d.err = err panic("Error while comparing elements") } - return b + return r == -1 } func (d *sortData) Swap(i, j int) { @@ -413,50 +480,45 @@ func (d *sortData) Sort() (err error) { return } -func arrayFromThunks(vs []value) *valueArray { - thunks := make([]*cachedThunk, len(vs)) - for i := range vs { - thunks[i] = readyThunk(vs[i]) - } - return makeValueArray(thunks) -} - -func builtinSort(i *interpreter, trace traceElement, arguments []value) (value, error) { +func builtinSort(i *interpreter, arguments []value) (value, error) { arrv := arguments[0] keyFv := arguments[1] - arr, err := i.getArray(arrv, trace) + arr, err := i.getArray(arrv) if err != nil { return nil, err } - keyF, err := i.getFunction(keyFv, trace) + keyF, err := i.getFunction(keyFv) if err != nil { return nil, err } num := arr.length() - data := sortData{i: i, trace: trace, thunks: make([]*cachedThunk, num), keys: make([]value, num)} + data := sortData{i: i, thunks: make([]*cachedThunk, num), keys: make([]value, num)} for counter := 0; counter < num; counter++ { var err error data.thunks[counter] = arr.elements[counter] - data.keys[counter], err = keyF.call(i, trace, args(arr.elements[counter])) + data.keys[counter], err = keyF.call(i, args(arr.elements[counter])) if err != nil { return nil, err } } - data.Sort() + err = data.Sort() + if err != nil { + return nil, err + } return makeValueArray(data.thunks), nil } -func builtinRange(i *interpreter, trace traceElement, fromv, tov value) (value, error) { - from, err := i.getInt(fromv, trace) +func builtinRange(i *interpreter, fromv, tov value) (value, error) { + from, err := i.getInt(fromv) if err != nil { return nil, err } - to, err := i.getInt(tov, trace) + to, err := i.getInt(tov) if err != nil { return nil, err } @@ -467,16 +529,16 @@ func builtinRange(i *interpreter, trace traceElement, fromv, tov value) (value, return makeValueArray(elems), nil } -func builtinNegation(i *interpreter, trace traceElement, x value) (value, error) { - b, err := i.getBoolean(x, trace) +func builtinNegation(i *interpreter, x value) (value, error) { + b, err := i.getBoolean(x) if err != nil { return nil, err } return makeValueBoolean(!b.value), nil } -func builtinBitNeg(i *interpreter, trace traceElement, x value) (value, error) { - n, err := i.getNumber(x, trace) +func builtinBitNeg(i *interpreter, x value) (value, error) { + n, err := i.getNumber(x) if err != nil { return nil, err } @@ -484,12 +546,21 @@ func builtinBitNeg(i *interpreter, trace traceElement, x value) (value, error) { return int64ToValue(^intValue), nil } -func builtinIdentity(i *interpreter, trace traceElement, x value) (value, error) { +func builtinIdentity(i *interpreter, x value) (value, error) { return x, nil } -func builtinUnaryMinus(i *interpreter, trace traceElement, x value) (value, error) { - n, err := i.getNumber(x, trace) +func builtinUnaryPlus(i *interpreter, x value) (value, error) { + n, err := i.getNumber(x) + if err != nil { + return nil, err + } + + return makeValueNumber(n.value), nil +} + +func builtinUnaryMinus(i *interpreter, x value) (value, error) { + n, err := i.getNumber(x) if err != nil { return nil, err } @@ -498,25 +569,25 @@ func builtinUnaryMinus(i *interpreter, trace traceElement, x value) (value, erro // TODO(sbarzowski) since we have a builtin implementation of equals it's no longer really // needed and we should deprecate it eventually -func primitiveEquals(i *interpreter, trace traceElement, x, y value) (value, error) { +func primitiveEquals(i *interpreter, x, y value) (value, error) { if x.getType() != y.getType() { return makeValueBoolean(false), nil } switch left := x.(type) { case *valueBoolean: - right, err := i.getBoolean(y, trace) + right, err := i.getBoolean(y) if err != nil { return nil, err } return makeValueBoolean(left.value == right.value), nil case *valueNumber: - right, err := i.getNumber(y, trace) + right, err := i.getNumber(y) if err != nil { return nil, err } return makeValueBoolean(left.value == right.value), nil - case *valueString: - right, err := i.getString(y, trace) + case valueString: + right, err := i.getString(y) if err != nil { return nil, err } @@ -524,34 +595,33 @@ func primitiveEquals(i *interpreter, trace traceElement, x, y value) (value, err case *valueNull: return makeValueBoolean(true), nil case *valueFunction: - return nil, i.Error("Cannot test equality of functions", trace) + return nil, i.Error("Cannot test equality of functions") default: return nil, i.Error( - "primitiveEquals operates on primitive types, got "+x.getType().name, - trace, + "primitiveEquals operates on primitive types, got " + x.getType().name, ) } } -func rawEquals(i *interpreter, trace traceElement, x, y value) (bool, error) { +func rawEquals(i *interpreter, x, y value) (bool, error) { if x.getType() != y.getType() { return false, nil } switch left := x.(type) { case *valueBoolean: - right, err := i.getBoolean(y, trace) + right, err := i.getBoolean(y) if err != nil { return false, err } return left.value == right.value, nil case *valueNumber: - right, err := i.getNumber(y, trace) + right, err := i.getNumber(y) if err != nil { return false, err } return left.value == right.value, nil - case *valueString: - right, err := i.getString(y, trace) + case valueString: + right, err := i.getString(y) if err != nil { return false, err } @@ -559,7 +629,7 @@ func rawEquals(i *interpreter, trace traceElement, x, y value) (bool, error) { case *valueNull: return true, nil case *valueArray: - right, err := i.getArray(y, trace) + right, err := i.getArray(y) if err != nil { return false, err } @@ -567,15 +637,15 @@ func rawEquals(i *interpreter, trace traceElement, x, y value) (bool, error) { return false, nil } for j := range left.elements { - leftElem, err := i.evaluatePV(left.elements[j], trace) + leftElem, err := i.evaluatePV(left.elements[j]) if err != nil { return false, err } - rightElem, err := i.evaluatePV(right.elements[j], trace) + rightElem, err := i.evaluatePV(right.elements[j]) if err != nil { return false, err } - eq, err := rawEquals(i, trace, leftElem, rightElem) + eq, err := rawEquals(i, leftElem, rightElem) if err != nil { return false, err } @@ -585,7 +655,7 @@ func rawEquals(i *interpreter, trace traceElement, x, y value) (bool, error) { } return true, nil case *valueObject: - right, err := i.getObject(y, trace) + right, err := i.getObject(y) if err != nil { return false, err } @@ -603,15 +673,15 @@ func rawEquals(i *interpreter, trace traceElement, x, y value) (bool, error) { } for j := range leftFields { fieldName := leftFields[j] - leftField, err := left.index(i, trace, fieldName) + leftField, err := left.index(i, fieldName) if err != nil { return false, err } - rightField, err := right.index(i, trace, fieldName) + rightField, err := right.index(i, fieldName) if err != nil { return false, err } - eq, err := rawEquals(i, trace, leftField, rightField) + eq, err := rawEquals(i, leftField, rightField) if err != nil { return false, err } @@ -621,46 +691,109 @@ func rawEquals(i *interpreter, trace traceElement, x, y value) (bool, error) { } return true, nil case *valueFunction: - return false, i.Error("Cannot test equality of functions", trace) + return false, i.Error("Cannot test equality of functions") } panic(fmt.Sprintf("Unhandled case in equals %#+v %#+v", x, y)) } -func builtinEquals(i *interpreter, trace traceElement, x, y value) (value, error) { - eq, err := rawEquals(i, trace, x, y) +func builtinEquals(i *interpreter, x, y value) (value, error) { + eq, err := rawEquals(i, x, y) if err != nil { return nil, err } return makeValueBoolean(eq), nil } -func builtinNotEquals(i *interpreter, trace traceElement, x, y value) (value, error) { - eq, err := rawEquals(i, trace, x, y) +func builtinNotEquals(i *interpreter, x, y value) (value, error) { + eq, err := rawEquals(i, x, y) if err != nil { return nil, err } return makeValueBoolean(!eq), nil } -func builtinType(i *interpreter, trace traceElement, x value) (value, error) { +func builtinType(i *interpreter, x value) (value, error) { return makeValueString(x.getType().name), nil } -func builtinMd5(i *interpreter, trace traceElement, x value) (value, error) { - str, err := i.getString(x, trace) +func builtinMd5(i *interpreter, x value) (value, error) { + str, err := i.getString(x) if err != nil { return nil, err } - hash := md5.Sum([]byte(string(str.value))) + hash := md5.Sum([]byte(str.getGoString())) return makeValueString(hex.EncodeToString(hash[:])), nil } -func builtinEncodeUTF8(i *interpreter, trace traceElement, x value) (value, error) { - str, err := i.getString(x, trace) +func builtinBase64(i *interpreter, input value) (value, error) { + var byteArr []byte + + var sanityCheck = func(v int) (string, bool) { + if v < 0 || 255 < v { + msg := fmt.Sprintf("base64 encountered invalid codepoint value in the array (must be 0 <= X <= 255), got %d", v) + return msg, false + } + + return "", true + } + + switch input.(type) { + case valueString: + vStr, err := i.getString(input) + if err != nil { + return nil, err + } + + str := vStr.getGoString() + for _, r := range str { + n := int(r) + msg, ok := sanityCheck(n) + if !ok { + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + } + + byteArr = []byte(str) + case *valueArray: + vArr, err := i.getArray(input) + if err != nil { + return nil, err + } + + for _, cThunk := range vArr.elements { + cTv, err := cThunk.getValue(i) + if err != nil { + return nil, err + } + + vInt, err := i.getInt(cTv) + if err != nil { + msg := fmt.Sprintf("base64 encountered a non-integer value in the array, got %s", cTv.getType().name) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + msg, ok := sanityCheck(vInt) + if !ok { + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + byteArr = append(byteArr, byte(vInt)) + } + default: + msg := fmt.Sprintf("base64 can only base64 encode strings / arrays of single bytes, got %s", input.getType().name) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + sEnc := base64.StdEncoding.EncodeToString(byteArr) + return makeValueString(sEnc), nil +} + +func builtinEncodeUTF8(i *interpreter, x value) (value, error) { + str, err := i.getString(x) if err != nil { return nil, err } - s := str.getString() + s := str.getGoString() elems := make([]*cachedThunk, 0, len(s)) // it will be longer if characters fall outside of ASCII for _, c := range []byte(s) { elems = append(elems, readyThunk(makeValueNumber(float64(c)))) @@ -668,19 +801,19 @@ func builtinEncodeUTF8(i *interpreter, trace traceElement, x value) (value, erro return makeValueArray(elems), nil } -func builtinDecodeUTF8(i *interpreter, trace traceElement, x value) (value, error) { - arr, err := i.getArray(x, trace) +func builtinDecodeUTF8(i *interpreter, x value) (value, error) { + arr, err := i.getArray(x) if err != nil { return nil, err } bs := make([]byte, len(arr.elements)) // it will be longer if characters fall outside of ASCII for pos := range arr.elements { - v, err := i.evaluateInt(arr.elements[pos], trace) + v, err := i.evaluateInt(arr.elements[pos]) if err != nil { return nil, err } if v < 0 || v > 255 { - return nil, i.Error(fmt.Sprintf("Bytes must be integers in range [0, 255], got %d", v), trace) + return nil, i.Error(fmt.Sprintf("Bytes must be integers in range [0, 255], got %d", v)) } bs[pos] = byte(v) } @@ -691,47 +824,47 @@ func builtinDecodeUTF8(i *interpreter, trace traceElement, x value) (value, erro // https://en.wikipedia.org/wiki/Unicode#Architecture_and_terminology const codepointMax = 0x10FFFF -func builtinChar(i *interpreter, trace traceElement, x value) (value, error) { - n, err := i.getNumber(x, trace) +func builtinChar(i *interpreter, x value) (value, error) { + n, err := i.getNumber(x) if err != nil { return nil, err } if n.value > codepointMax { - return nil, i.Error(fmt.Sprintf("Invalid unicode codepoint, got %v", n.value), trace) + return nil, i.Error(fmt.Sprintf("Invalid unicode codepoint, got %v", n.value)) } else if n.value < 0 { - return nil, i.Error(fmt.Sprintf("Codepoints must be >= 0, got %v", n.value), trace) + return nil, i.Error(fmt.Sprintf("Codepoints must be >= 0, got %v", n.value)) } return makeValueString(string(rune(n.value))), nil } -func builtinCodepoint(i *interpreter, trace traceElement, x value) (value, error) { - str, err := i.getString(x, trace) +func builtinCodepoint(i *interpreter, x value) (value, error) { + str, err := i.getString(x) if err != nil { return nil, err } if str.length() != 1 { - return nil, i.Error(fmt.Sprintf("codepoint takes a string of length 1, got length %v", str.length()), trace) + return nil, i.Error(fmt.Sprintf("codepoint takes a string of length 1, got length %v", str.length())) } - return makeValueNumber(float64(str.value[0])), nil + return makeValueNumber(float64(str.getRunes()[0])), nil } -func makeDoubleCheck(i *interpreter, trace traceElement, x float64) (value, error) { +func makeDoubleCheck(i *interpreter, x float64) (value, error) { if math.IsNaN(x) { - return nil, i.Error("Not a number", trace) + return nil, i.Error("Not a number") } if math.IsInf(x, 0) { - return nil, i.Error("Overflow", trace) + return nil, i.Error("Overflow") } return makeValueNumber(x), nil } -func liftNumeric(f func(float64) float64) func(*interpreter, traceElement, value) (value, error) { - return func(i *interpreter, trace traceElement, x value) (value, error) { - n, err := i.getNumber(x, trace) +func liftNumeric(f func(float64) float64) func(*interpreter, value) (value, error) { + return func(i *interpreter, x value) (value, error) { + n, err := i.getNumber(x) if err != nil { return nil, err } - return makeDoubleCheck(i, trace, f(n.value)) + return makeDoubleCheck(i, f(n.value)) } } @@ -761,33 +894,43 @@ var builtinExponent = liftNumeric(func(f float64) float64 { return float64(exponent) }) -func liftBitwise(f func(int64, int64) int64) func(*interpreter, traceElement, value, value) (value, error) { - return func(i *interpreter, trace traceElement, xv, yv value) (value, error) { - x, err := i.getNumber(xv, trace) +func liftBitwise(f func(int64, int64) int64, positiveRightArg bool) func(*interpreter, value, value) (value, error) { + return func(i *interpreter, xv, yv value) (value, error) { + x, err := i.getNumber(xv) if err != nil { return nil, err } - y, err := i.getNumber(yv, trace) + y, err := i.getNumber(yv) if err != nil { return nil, err } - return makeDoubleCheck(i, trace, float64(f(int64(x.value), int64(y.value)))) + if x.value < math.MinInt64 || x.value > math.MaxInt64 { + msg := fmt.Sprintf("Bitwise operator argument %v outside of range [%v, %v]", x.value, int64(math.MinInt64), int64(math.MaxInt64)) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + if y.value < math.MinInt64 || y.value > math.MaxInt64 { + msg := fmt.Sprintf("Bitwise operator argument %v outside of range [%v, %v]", y.value, int64(math.MinInt64), int64(math.MaxInt64)) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + if positiveRightArg && y.value < 0 { + return nil, makeRuntimeError("Shift by negative exponent.", i.getCurrentStackTrace()) + } + return makeDoubleCheck(i, float64(f(int64(x.value), int64(y.value)))) } } -// TODO(sbarzowski) negative shifts -var builtinShiftL = liftBitwise(func(x, y int64) int64 { return x << uint(y) }) -var builtinShiftR = liftBitwise(func(x, y int64) int64 { return x >> uint(y) }) -var builtinBitwiseAnd = liftBitwise(func(x, y int64) int64 { return x & y }) -var builtinBitwiseOr = liftBitwise(func(x, y int64) int64 { return x | y }) -var builtinBitwiseXor = liftBitwise(func(x, y int64) int64 { return x ^ y }) +var builtinShiftL = liftBitwise(func(x, y int64) int64 { return x << uint(y%64) }, true) +var builtinShiftR = liftBitwise(func(x, y int64) int64 { return x >> uint(y%64) }, true) +var builtinBitwiseAnd = liftBitwise(func(x, y int64) int64 { return x & y }, false) +var builtinBitwiseOr = liftBitwise(func(x, y int64) int64 { return x | y }, false) +var builtinBitwiseXor = liftBitwise(func(x, y int64) int64 { return x ^ y }, false) -func builtinObjectFieldsEx(i *interpreter, trace traceElement, objv, includeHiddenV value) (value, error) { - obj, err := i.getObject(objv, trace) +func builtinObjectFieldsEx(i *interpreter, objv, includeHiddenV value) (value, error) { + obj, err := i.getObject(objv) if err != nil { return nil, err } - includeHidden, err := i.getBoolean(includeHiddenV, trace) + includeHidden, err := i.getBoolean(includeHiddenV) if err != nil { return nil, err } @@ -800,56 +943,109 @@ func builtinObjectFieldsEx(i *interpreter, trace traceElement, objv, includeHidd return makeValueArray(elems), nil } -func builtinObjectHasEx(i *interpreter, trace traceElement, objv value, fnamev value, includeHiddenV value) (value, error) { - obj, err := i.getObject(objv, trace) +func builtinObjectHasEx(i *interpreter, objv value, fnamev value, includeHiddenV value) (value, error) { + obj, err := i.getObject(objv) if err != nil { return nil, err } - fname, err := i.getString(fnamev, trace) + fname, err := i.getString(fnamev) if err != nil { return nil, err } - includeHidden, err := i.getBoolean(includeHiddenV, trace) + includeHidden, err := i.getBoolean(includeHiddenV) if err != nil { return nil, err } h := withHiddenFromBool(includeHidden.value) - hasField := objectHasField(objectBinding(obj), string(fname.value), h) + hasField := objectHasField(objectBinding(obj), string(fname.getRunes()), h) return makeValueBoolean(hasField), nil } -func builtinPow(i *interpreter, trace traceElement, basev value, expv value) (value, error) { - base, err := i.getNumber(basev, trace) +func builtinPow(i *interpreter, basev value, expv value) (value, error) { + base, err := i.getNumber(basev) if err != nil { return nil, err } - exp, err := i.getNumber(expv, trace) + exp, err := i.getNumber(expv) if err != nil { return nil, err } - return makeDoubleCheck(i, trace, math.Pow(base.value, exp.value)) + return makeDoubleCheck(i, math.Pow(base.value, exp.value)) } -func builtinSplitLimit(i *interpreter, trace traceElement, strv, cv, maxSplitsV value) (value, error) { - str, err := i.getString(strv, trace) +func builtinSubstr(i *interpreter, inputStr, inputFrom, inputLen value) (value, error) { + strV, err := i.getString(inputStr) + if err != nil { + msg := fmt.Sprintf("substr first parameter should be a string, got %s", inputStr.getType().name) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + fromV, err := i.getNumber(inputFrom) + if err != nil { + msg := fmt.Sprintf("substr second parameter should be a number, got %s", inputFrom.getType().name) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + if math.Mod(fromV.value, 1) != 0 { + msg := fmt.Sprintf("substr second parameter should be an integer, got %f", fromV.value) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + lenV, err := i.getNumber(inputLen) + if err != nil { + msg := fmt.Sprintf("substr third parameter should be a number, got %s", inputLen.getType().name) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + lenInt, err := i.getInt(lenV) + + if err != nil { + msg := fmt.Sprintf("substr third parameter should be an integer, got %f", lenV.value) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + if lenInt < 0 { + msg := fmt.Sprintf("substr third parameter should be greater than zero, got %d", lenInt) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + fromInt := int(fromV.value) + strStr := strV.getGoString() + + endIndex := fromInt + lenInt + + if endIndex > len(strStr) { + endIndex = len(strStr) + } + + if fromInt > len(strStr) { + return makeValueString(""), nil + } + + runes := []rune(strStr) + return makeValueString(string(runes[fromInt:endIndex])), nil +} + +func builtinSplitLimit(i *interpreter, strv, cv, maxSplitsV value) (value, error) { + str, err := i.getString(strv) if err != nil { return nil, err } - c, err := i.getString(cv, trace) + c, err := i.getString(cv) if err != nil { return nil, err } - maxSplits, err := i.getInt(maxSplitsV, trace) + maxSplits, err := i.getInt(maxSplitsV) if err != nil { return nil, err } if maxSplits < -1 { - return nil, i.Error(fmt.Sprintf("std.splitLimit third parameter should be -1 or non-negative, got %v", maxSplits), trace) + return nil, i.Error(fmt.Sprintf("std.splitLimit third parameter should be -1 or non-negative, got %v", maxSplits)) } - sStr := str.getString() - sC := c.getString() + 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)), trace) + return nil, i.Error(fmt.Sprintf("std.splitLimit second parameter should have length 1, got %v", len(sC))) } // the convention is slightly different from strings.splitN in Go (the meaning of non-negative values is shifted by one) @@ -867,59 +1063,104 @@ func builtinSplitLimit(i *interpreter, trace traceElement, strv, cv, maxSplitsV return makeValueArray(res), nil } -func builtinStrReplace(i *interpreter, trace traceElement, strv, fromv, tov value) (value, error) { - str, err := i.getString(strv, trace) +func builtinStrReplace(i *interpreter, strv, fromv, tov value) (value, error) { + str, err := i.getString(strv) if err != nil { return nil, err } - from, err := i.getString(fromv, trace) + from, err := i.getString(fromv) if err != nil { return nil, err } - to, err := i.getString(tov, trace) + to, err := i.getString(tov) if err != nil { return nil, err } - sStr := str.getString() - sFrom := from.getString() - sTo := to.getString() + sStr := str.getGoString() + sFrom := from.getGoString() + sTo := to.getGoString() if len(sFrom) == 0 { - return nil, i.Error("'from' string must not be zero length.", trace) + return nil, i.Error("'from' string must not be zero length.") } return makeValueString(strings.Replace(sStr, sFrom, sTo, -1)), nil } -func builtinUglyObjectFlatMerge(i *interpreter, trace traceElement, x value) (value, error) { +func base64DecodeGoBytes(i *interpreter, str string) ([]byte, error) { + strLen := len(str) + if strLen%4 != 0 { + msg := fmt.Sprintf("input string appears not to be a base64 encoded string. Wrong length found (%d)", strLen) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + decodedBytes, err := base64.StdEncoding.DecodeString(str) + if err != nil { + return nil, i.Error(fmt.Sprintf("failed to decode: %s", err)) + } + + return decodedBytes, nil +} + +func builtinBase64DecodeBytes(i *interpreter, input value) (value, error) { + vStr, err := i.getString(input) + if err != nil { + msg := fmt.Sprintf("base64DecodeBytes requires a string, got %s", input.getType().name) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + decodedBytes, err := base64DecodeGoBytes(i, vStr.getGoString()) + if err != nil { + return nil, err + } + + res := make([]*cachedThunk, len(decodedBytes)) + for i := range decodedBytes { + res[i] = readyThunk(makeValueNumber(float64(int(decodedBytes[i])))) + } + + return makeValueArray(res), nil +} + +func builtinBase64Decode(i *interpreter, input value) (value, error) { + vStr, err := i.getString(input) + if err != nil { + msg := fmt.Sprintf("base64DecodeBytes requires a string, got %s", input.getType().name) + return nil, makeRuntimeError(msg, i.getCurrentStackTrace()) + } + + decodedBytes, err := base64DecodeGoBytes(i, vStr.getGoString()) + if err != nil { + return nil, err + } + + return makeValueString(string(decodedBytes)), nil +} + +func builtinUglyObjectFlatMerge(i *interpreter, x value) (value, error) { // TODO(sbarzowski) consider keeping comprehensions in AST // It will probably be way less hacky, with better error messages and better performance - objarr, err := i.getArray(x, trace) + objarr, err := i.getArray(x) if err != nil { return nil, err } newFields := make(simpleObjectFieldMap) - var anyObj *simpleObject for _, elem := range objarr.elements { - obj, err := i.evaluateObject(elem, trace) + obj, err := i.evaluateObject(elem) if err != nil { return nil, err } + // starts getting ugly - we mess with object internals simpleObj := obj.uncached.(*simpleObject) + + if len(simpleObj.locals) > 0 { + panic("Locals should have been desugared in object comprehension.") + } + // there is only one field, really for fieldName, fieldVal := range simpleObj.fields { if _, alreadyExists := newFields[fieldName]; alreadyExists { - return nil, i.Error(duplicateFieldNameErrMsg(fieldName), trace) - } - - // Here is the tricky part. Each field in a comprehension has different - // upValues, because for example in {[v]: v for v in ["x", "y", "z"] }, - // the v is different for each field. - // Yet, even though upValues are field-specific, they are shadowed by object locals, - // so we need to make holes to let them pass through - upValues := simpleObj.upValues - for _, l := range simpleObj.locals { - delete(upValues, l.name) + return nil, i.Error(duplicateFieldNameErrMsg(fieldName)) } newFields[fieldName] = simpleObjectField{ @@ -930,59 +1171,160 @@ func builtinUglyObjectFlatMerge(i *interpreter, trace traceElement, x value) (va }, } } - anyObj = simpleObj - } - - var locals []objectLocal - var localUpValues bindingFrame - if len(objarr.elements) > 0 { - // another ugliness - we just take the locals of our last object, - // we assume that the locals are the same for each of merged objects - locals = anyObj.locals - // note that there are already holes for object locals - localUpValues = anyObj.upValues } return makeValueSimpleObject( - localUpValues, + nil, newFields, []unboundField{}, // No asserts allowed - locals, + nil, ), nil } -func builtinParseJSON(i *interpreter, trace traceElement, str value) (value, error) { - sval, err := i.getString(str, trace) +func builtinParseJSON(i *interpreter, str value) (value, error) { + sval, err := i.getString(str) if err != nil { return nil, err } - s := sval.getString() + s := sval.getGoString() var parsedJSON interface{} err = json.Unmarshal([]byte(s), &parsedJSON) if err != nil { - return nil, i.Error(fmt.Sprintf("failed to parse JSON: %v", err.Error()), trace) + return nil, i.Error(fmt.Sprintf("failed to parse JSON: %v", err.Error())) } - return jsonToValue(i, trace, parsedJSON) + return jsonToValue(i, parsedJSON) } -func builtinExtVar(i *interpreter, trace traceElement, name value) (value, error) { - str, err := i.getString(name, trace) +func jsonEncode(v interface{}) (string, error) { + buf := new(bytes.Buffer) + enc := json.NewEncoder(buf) + enc.SetEscapeHTML(false) + err := enc.Encode(v) + if err != nil { + return "", err + } + + return strings.TrimRight(buf.String(), "\n"), nil +} + +// We have a very similar logic here /interpreter.go@v0.16.0#L695 and here: /interpreter.go@v0.16.0#L627 +// These should ideally be unified +// For backwards compatibility reasons, we are manually marshalling to json so we can control formatting +// In the future, it might be apt to use a library [pretty-printing] function +func builtinManifestJSONEx(i *interpreter, obj, indent value) (value, error) { + vindent, err := i.getString(indent) if err != nil { return nil, err } - index := str.getString() + + sindent := vindent.getGoString() + + var path []string + + var aux func(ov value, path []string, cindent string) (string, error) + aux = func(ov value, path []string, cindent string) (string, error) { + if ov == nil { + fmt.Println("value is nil") + return "null", nil + } + + switch v := ov.(type) { + case *valueNull: + return "null", nil + case valueString: + jStr, err := jsonEncode(v.getGoString()) + if err != nil { + return "", i.Error(fmt.Sprintf("failed to marshal valueString to JSON: %v", err.Error())) + } + return jStr, nil + case *valueNumber: + return strconv.FormatFloat(v.value, 'f', -1, 64), nil + case *valueBoolean: + return fmt.Sprintf("%t", v.value), nil + case *valueFunction: + return "", i.Error(fmt.Sprintf("tried to manifest function at %s", path)) + case *valueArray: + newIndent := cindent + sindent + lines := []string{"[\n"} + + var arrayLines []string + for aI, cThunk := range v.elements { + cTv, err := cThunk.getValue(i) + if err != nil { + return "", err + } + + newPath := append(path, strconv.FormatInt(int64(aI), 10)) + s, err := aux(cTv, newPath, newIndent) + if err != nil { + return "", err + } + arrayLines = append(arrayLines, newIndent+s) + } + lines = append(lines, strings.Join(arrayLines, ",\n")) + lines = append(lines, "\n"+cindent+"]") + return strings.Join(lines, ""), nil + case *valueObject: + newIndent := cindent + sindent + lines := []string{"{\n"} + + fields := objectFields(v, withoutHidden) + sort.Strings(fields) + var objectLines []string + for _, fieldName := range fields { + fieldValue, err := v.index(i, fieldName) + if err != nil { + return "", err + } + + fieldNameMarshalled, err := jsonEncode(fieldName) + if err != nil { + return "", i.Error(fmt.Sprintf("failed to marshal object fieldname to JSON: %v", err.Error())) + } + + newPath := append(path, fieldName) + mvs, err := aux(fieldValue, newPath, newIndent) + if err != nil { + return "", err + } + + line := newIndent + string(fieldNameMarshalled) + ": " + mvs + objectLines = append(objectLines, line) + } + lines = append(lines, strings.Join(objectLines, ",\n")) + lines = append(lines, "\n"+cindent+"}") + return strings.Join(lines, ""), nil + default: + return "", i.Error(fmt.Sprintf("unknown type to marshal to JSON: %s", reflect.TypeOf(v))) + } + } + + finalString, err := aux(obj, path, "") + if err != nil { + return nil, err + } + + return makeValueString(finalString), nil +} + +func builtinExtVar(i *interpreter, name value) (value, error) { + str, err := i.getString(name) + if err != nil { + return nil, err + } + index := str.getGoString() if pv, ok := i.extVars[index]; ok { - return i.evaluatePV(pv, trace) + return i.evaluatePV(pv) } - return nil, i.Error("Undefined external variable: "+string(index), trace) + return nil, i.Error("Undefined external variable: " + string(index)) } -func builtinNative(i *interpreter, trace traceElement, name value) (value, error) { - str, err := i.getString(name, trace) +func builtinNative(i *interpreter, name value) (value, error) { + str, err := i.getString(name) if err != nil { return nil, err } - index := str.getString() + index := str.getGoString() if f, exists := i.nativeFuncs[index]; exists { return &valueFunction{ec: f}, nil } @@ -996,200 +1338,224 @@ type builtin interface { Name() ast.Identifier } -func flattenArgs(args callArguments, params parameters, defaults []value) []*cachedThunk { +func flattenArgs(args callArguments, params []namedParameter, defaults []value) []*cachedThunk { positions := make(map[ast.Identifier]int) - for i := 0; i < len(params.required); i++ { - positions[params.required[i]] = i - } - for i := 0; i < len(params.optional); i++ { - positions[params.optional[i].name] = i + len(params.required) + for i, param := range params { + positions[param.name] = i } - flatArgs := make([]*cachedThunk, len(params.required)+len(params.optional)) + flatArgs := make([]*cachedThunk, len(params)) + // Bind positional arguments copy(flatArgs, args.positional) + // Bind named arguments for _, arg := range args.named { flatArgs[positions[arg.name]] = arg.pv } - for i := 0; i < len(params.optional); i++ { - pos := len(params.required) + i - if flatArgs[pos] == nil { - flatArgs[pos] = readyThunk(defaults[i]) + // Bind defaults for unsatisfied named parameters + for i := range params { + if flatArgs[i] == nil { + flatArgs[i] = readyThunk(defaults[i]) } } return flatArgs } -type unaryBuiltinFunc func(*interpreter, traceElement, value) (value, error) +type unaryBuiltinFunc func(*interpreter, value) (value, error) type unaryBuiltin struct { - name ast.Identifier - function unaryBuiltinFunc - parameters ast.Identifiers + name ast.Identifier + function unaryBuiltinFunc + params ast.Identifiers } -func getBuiltinTrace(trace traceElement, name ast.Identifier) traceElement { - context := "builtin function <" + string(name) + ">" - return traceElement{loc: trace.loc, context: &context} -} +func (b *unaryBuiltin) evalCall(args callArguments, i *interpreter) (value, error) { + flatArgs := flattenArgs(args, b.parameters(), []value{}) -func (b *unaryBuiltin) evalCall(args callArguments, i *interpreter, trace traceElement) (value, error) { - flatArgs := flattenArgs(args, b.Parameters(), []value{}) - builtinTrace := getBuiltinTrace(trace, b.name) - x, err := flatArgs[0].getValue(i, trace) + x, err := flatArgs[0].getValue(i) if err != nil { return nil, err } - return b.function(i, builtinTrace, x) + return b.function(i, x) } -func (b *unaryBuiltin) Parameters() parameters { - return parameters{required: b.parameters} +func (b *unaryBuiltin) parameters() []namedParameter { + ret := make([]namedParameter, len(b.params)) + for i := range ret { + ret[i].name = b.params[i] + } + return ret } func (b *unaryBuiltin) Name() ast.Identifier { return b.name } -type binaryBuiltinFunc func(*interpreter, traceElement, value, value) (value, error) +type binaryBuiltinFunc func(*interpreter, value, value) (value, error) type binaryBuiltin struct { - name ast.Identifier - function binaryBuiltinFunc - parameters ast.Identifiers + name ast.Identifier + function binaryBuiltinFunc + params ast.Identifiers } -func (b *binaryBuiltin) evalCall(args callArguments, i *interpreter, trace traceElement) (value, error) { - flatArgs := flattenArgs(args, b.Parameters(), []value{}) - builtinTrace := getBuiltinTrace(trace, b.name) - x, err := flatArgs[0].getValue(i, trace) +func (b *binaryBuiltin) evalCall(args callArguments, i *interpreter) (value, error) { + flatArgs := flattenArgs(args, b.parameters(), []value{}) + + x, err := flatArgs[0].getValue(i) if err != nil { return nil, err } - y, err := flatArgs[1].getValue(i, trace) + y, err := flatArgs[1].getValue(i) if err != nil { return nil, err } - return b.function(i, builtinTrace, x, y) + return b.function(i, x, y) } -func (b *binaryBuiltin) Parameters() parameters { - return parameters{required: b.parameters} +func (b *binaryBuiltin) parameters() []namedParameter { + ret := make([]namedParameter, len(b.params)) + for i := range ret { + ret[i].name = b.params[i] + } + return ret } func (b *binaryBuiltin) Name() ast.Identifier { return b.name } -type ternaryBuiltinFunc func(*interpreter, traceElement, value, value, value) (value, error) +type ternaryBuiltinFunc func(*interpreter, value, value, value) (value, error) type ternaryBuiltin struct { - name ast.Identifier - function ternaryBuiltinFunc - parameters ast.Identifiers + name ast.Identifier + function ternaryBuiltinFunc + params ast.Identifiers } -func (b *ternaryBuiltin) evalCall(args callArguments, i *interpreter, trace traceElement) (value, error) { - flatArgs := flattenArgs(args, b.Parameters(), []value{}) - builtinTrace := getBuiltinTrace(trace, b.name) - x, err := flatArgs[0].getValue(i, trace) +func (b *ternaryBuiltin) evalCall(args callArguments, i *interpreter) (value, error) { + flatArgs := flattenArgs(args, b.parameters(), []value{}) + + x, err := flatArgs[0].getValue(i) if err != nil { return nil, err } - y, err := flatArgs[1].getValue(i, trace) + y, err := flatArgs[1].getValue(i) if err != nil { return nil, err } - z, err := flatArgs[2].getValue(i, trace) + z, err := flatArgs[2].getValue(i) if err != nil { return nil, err } - return b.function(i, builtinTrace, x, y, z) + return b.function(i, x, y, z) } -func (b *ternaryBuiltin) Parameters() parameters { - return parameters{required: b.parameters} +func (b *ternaryBuiltin) parameters() []namedParameter { + ret := make([]namedParameter, len(b.params)) + for i := range ret { + ret[i].name = b.params[i] + } + return ret } func (b *ternaryBuiltin) Name() ast.Identifier { return b.name } -type generalBuiltinFunc func(*interpreter, traceElement, []value) (value, error) +type generalBuiltinFunc func(*interpreter, []value) (value, error) + +type generalBuiltinParameter struct { + name ast.Identifier + // Note that the defaults are passed as values rather than AST nodes like in Parameters. + // This spares us unnecessary evaluation. + defaultValue value +} // generalBuiltin covers cases that other builtin structures do not, // in particular it can have any number of parameters. It can also -// have optional parameters. +// have optional parameters. The optional ones have non-nil defaultValues +// at the same index. type generalBuiltin struct { name ast.Identifier - required ast.Identifiers - optional ast.Identifiers - // Note that the defaults are passed as values rather than AST nodes like in Parameters. - // This spares us unnecessary evaluation. - defaultValues []value - function generalBuiltinFunc + params []generalBuiltinParameter + function generalBuiltinFunc +} + +func (b *generalBuiltin) parameters() []namedParameter { + ret := make([]namedParameter, len(b.params)) + for i := range ret { + ret[i].name = b.params[i].name + if b.params[i].defaultValue != nil { + // This is not actually used because the defaultValue is used instead. + // The only reason we don't leave it nil is because the checkArguments + // function uses the non-nil status to indicate that the parameter + // is optional. + ret[i].defaultArg = &ast.LiteralNull{} + } + } + return ret } -func (b *generalBuiltin) Parameters() parameters { - optional := make([]namedParameter, len(b.optional)) - for i := range optional { - optional[i] = namedParameter{name: b.optional[i]} +func (b *generalBuiltin) defaultValues() []value { + ret := make([]value, len(b.params)) + for i := range ret { + ret[i] = b.params[i].defaultValue } - return parameters{required: b.required, optional: optional} + return ret } func (b *generalBuiltin) Name() ast.Identifier { return b.name } -func (b *generalBuiltin) evalCall(args callArguments, i *interpreter, trace traceElement) (value, error) { - flatArgs := flattenArgs(args, b.Parameters(), b.defaultValues) - builtinTrace := getBuiltinTrace(trace, b.name) +func (b *generalBuiltin) evalCall(args callArguments, i *interpreter) (value, error) { + flatArgs := flattenArgs(args, b.parameters(), b.defaultValues()) values := make([]value, len(flatArgs)) for j := 0; j < len(values); j++ { var err error - values[j], err = flatArgs[j].getValue(i, trace) + values[j], err = flatArgs[j].getValue(i) if err != nil { return nil, err } } - return b.function(i, builtinTrace, values) + return b.function(i, values) } // End of builtin utils -var builtinID = &unaryBuiltin{name: "id", function: builtinIdentity, parameters: ast.Identifiers{"x"}} +var builtinID = &unaryBuiltin{name: "id", function: builtinIdentity, params: ast.Identifiers{"x"}} var functionID = &valueFunction{ec: builtinID} var bopBuiltins = []*binaryBuiltin{ // Note that % and `in` are desugared instead of being handled here - ast.BopMult: &binaryBuiltin{name: "operator*", function: builtinMult, parameters: ast.Identifiers{"x", "y"}}, - ast.BopDiv: &binaryBuiltin{name: "operator/", function: builtinDiv, parameters: ast.Identifiers{"x", "y"}}, + ast.BopMult: &binaryBuiltin{name: "operator*", function: builtinMult, params: ast.Identifiers{"x", "y"}}, + ast.BopDiv: &binaryBuiltin{name: "operator/", function: builtinDiv, params: ast.Identifiers{"x", "y"}}, - ast.BopPlus: &binaryBuiltin{name: "operator+", function: builtinPlus, parameters: ast.Identifiers{"x", "y"}}, - ast.BopMinus: &binaryBuiltin{name: "operator-", function: builtinMinus, parameters: ast.Identifiers{"x", "y"}}, + ast.BopPlus: &binaryBuiltin{name: "operator+", function: builtinPlus, params: ast.Identifiers{"x", "y"}}, + ast.BopMinus: &binaryBuiltin{name: "operator-", function: builtinMinus, params: ast.Identifiers{"x", "y"}}, - ast.BopShiftL: &binaryBuiltin{name: "operator<<", function: builtinShiftL, parameters: ast.Identifiers{"x", "y"}}, - ast.BopShiftR: &binaryBuiltin{name: "operator>>", function: builtinShiftR, parameters: ast.Identifiers{"x", "y"}}, + ast.BopShiftL: &binaryBuiltin{name: "operator<<", function: builtinShiftL, params: ast.Identifiers{"x", "y"}}, + ast.BopShiftR: &binaryBuiltin{name: "operator>>", function: builtinShiftR, params: ast.Identifiers{"x", "y"}}, - ast.BopGreater: &binaryBuiltin{name: "operator>", function: builtinGreater, parameters: ast.Identifiers{"x", "y"}}, - ast.BopGreaterEq: &binaryBuiltin{name: "operator>=", function: builtinGreaterEq, parameters: ast.Identifiers{"x", "y"}}, - ast.BopLess: &binaryBuiltin{name: "operator<,", function: builtinLess, parameters: ast.Identifiers{"x", "y"}}, - ast.BopLessEq: &binaryBuiltin{name: "operator<=", function: builtinLessEq, parameters: ast.Identifiers{"x", "y"}}, + ast.BopGreater: &binaryBuiltin{name: "operator>", function: builtinGreater, params: ast.Identifiers{"x", "y"}}, + ast.BopGreaterEq: &binaryBuiltin{name: "operator>=", function: builtinGreaterEq, params: ast.Identifiers{"x", "y"}}, + ast.BopLess: &binaryBuiltin{name: "operator<,", function: builtinLess, params: ast.Identifiers{"x", "y"}}, + ast.BopLessEq: &binaryBuiltin{name: "operator<=", function: builtinLessEq, params: ast.Identifiers{"x", "y"}}, - ast.BopManifestEqual: &binaryBuiltin{name: "operator==", function: builtinEquals, parameters: ast.Identifiers{"x", "y"}}, - ast.BopManifestUnequal: &binaryBuiltin{name: "operator!=", function: builtinNotEquals, parameters: ast.Identifiers{"x", "y"}}, // Special case + ast.BopManifestEqual: &binaryBuiltin{name: "operator==", function: builtinEquals, params: ast.Identifiers{"x", "y"}}, + ast.BopManifestUnequal: &binaryBuiltin{name: "operator!=", function: builtinNotEquals, params: ast.Identifiers{"x", "y"}}, // Special case - ast.BopBitwiseAnd: &binaryBuiltin{name: "operator&", function: builtinBitwiseAnd, parameters: ast.Identifiers{"x", "y"}}, - ast.BopBitwiseXor: &binaryBuiltin{name: "operator^", function: builtinBitwiseXor, parameters: ast.Identifiers{"x", "y"}}, - ast.BopBitwiseOr: &binaryBuiltin{name: "operator|", function: builtinBitwiseOr, parameters: ast.Identifiers{"x", "y"}}, + ast.BopBitwiseAnd: &binaryBuiltin{name: "operator&", function: builtinBitwiseAnd, params: ast.Identifiers{"x", "y"}}, + ast.BopBitwiseXor: &binaryBuiltin{name: "operator^", function: builtinBitwiseXor, params: ast.Identifiers{"x", "y"}}, + ast.BopBitwiseOr: &binaryBuiltin{name: "operator|", function: builtinBitwiseOr, params: ast.Identifiers{"x", "y"}}, } var uopBuiltins = []*unaryBuiltin{ - ast.UopNot: &unaryBuiltin{name: "operator!", function: builtinNegation, parameters: ast.Identifiers{"x"}}, - ast.UopBitwiseNot: &unaryBuiltin{name: "operator~", function: builtinBitNeg, parameters: ast.Identifiers{"x"}}, - ast.UopPlus: &unaryBuiltin{name: "operator+ (unary)", function: builtinIdentity, parameters: ast.Identifiers{"x"}}, - ast.UopMinus: &unaryBuiltin{name: "operator- (unary)", function: builtinUnaryMinus, parameters: ast.Identifiers{"x"}}, + ast.UopNot: &unaryBuiltin{name: "operator!", function: builtinNegation, params: ast.Identifiers{"x"}}, + ast.UopBitwiseNot: &unaryBuiltin{name: "operator~", function: builtinBitNeg, params: ast.Identifiers{"x"}}, + ast.UopPlus: &unaryBuiltin{name: "operator+ (unary)", function: builtinUnaryPlus, params: ast.Identifiers{"x"}}, + ast.UopMinus: &unaryBuiltin{name: "operator- (unary)", function: builtinUnaryMinus, params: ast.Identifiers{"x"}}, } func buildBuiltinMap(builtins []builtin) map[string]evalCallable { @@ -1202,46 +1568,52 @@ func buildBuiltinMap(builtins []builtin) map[string]evalCallable { var funcBuiltins = buildBuiltinMap([]builtin{ builtinID, - &unaryBuiltin{name: "extVar", function: builtinExtVar, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "length", function: builtinLength, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "toString", function: builtinToString, parameters: ast.Identifiers{"a"}}, - &binaryBuiltin{name: "trace", function: builtinTrace, parameters: ast.Identifiers{"str", "rest"}}, - &binaryBuiltin{name: "makeArray", function: builtinMakeArray, parameters: ast.Identifiers{"sz", "func"}}, - &binaryBuiltin{name: "flatMap", function: builtinFlatMap, parameters: ast.Identifiers{"func", "arr"}}, - &binaryBuiltin{name: "join", function: builtinJoin, parameters: ast.Identifiers{"sep", "arr"}}, - &binaryBuiltin{name: "filter", function: builtinFilter, parameters: ast.Identifiers{"func", "arr"}}, - &binaryBuiltin{name: "range", function: builtinRange, parameters: ast.Identifiers{"from", "to"}}, - &binaryBuiltin{name: "primitiveEquals", function: primitiveEquals, parameters: ast.Identifiers{"x", "y"}}, - &binaryBuiltin{name: "equals", function: builtinEquals, parameters: ast.Identifiers{"x", "y"}}, - &binaryBuiltin{name: "objectFieldsEx", function: builtinObjectFieldsEx, parameters: ast.Identifiers{"obj", "hidden"}}, - &ternaryBuiltin{name: "objectHasEx", function: builtinObjectHasEx, parameters: ast.Identifiers{"obj", "fname", "hidden"}}, - &unaryBuiltin{name: "type", function: builtinType, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "char", function: builtinChar, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "codepoint", function: builtinCodepoint, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "ceil", function: builtinCeil, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "floor", function: builtinFloor, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "sqrt", function: builtinSqrt, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "sin", function: builtinSin, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "cos", function: builtinCos, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "tan", function: builtinTan, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "asin", function: builtinAsin, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "acos", function: builtinAcos, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "atan", function: builtinAtan, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "log", function: builtinLog, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "exp", function: builtinExp, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "mantissa", function: builtinMantissa, parameters: ast.Identifiers{"x"}}, - &unaryBuiltin{name: "exponent", function: builtinExponent, parameters: ast.Identifiers{"x"}}, - &binaryBuiltin{name: "pow", function: builtinPow, parameters: ast.Identifiers{"base", "exp"}}, - &binaryBuiltin{name: "modulo", function: builtinModulo, parameters: ast.Identifiers{"x", "y"}}, - &unaryBuiltin{name: "md5", function: builtinMd5, parameters: ast.Identifiers{"x"}}, - &ternaryBuiltin{name: "splitLimit", function: builtinSplitLimit, parameters: ast.Identifiers{"str", "c", "maxsplits"}}, - &ternaryBuiltin{name: "strReplace", function: builtinStrReplace, parameters: ast.Identifiers{"str", "from", "to"}}, - &unaryBuiltin{name: "parseJson", function: builtinParseJSON, parameters: ast.Identifiers{"str"}}, - &unaryBuiltin{name: "encodeUTF8", function: builtinEncodeUTF8, parameters: ast.Identifiers{"str"}}, - &unaryBuiltin{name: "decodeUTF8", function: builtinDecodeUTF8, parameters: ast.Identifiers{"arr"}}, - &generalBuiltin{name: "sort", function: builtinSort, required: ast.Identifiers{"arr"}, optional: ast.Identifiers{"keyF"}, defaultValues: []value{functionID}}, - &unaryBuiltin{name: "native", function: builtinNative, parameters: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "extVar", function: builtinExtVar, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "length", function: builtinLength, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "toString", function: builtinToString, params: ast.Identifiers{"a"}}, + &binaryBuiltin{name: "trace", function: builtinTrace, params: ast.Identifiers{"str", "rest"}}, + &binaryBuiltin{name: "makeArray", function: builtinMakeArray, params: ast.Identifiers{"sz", "func"}}, + &binaryBuiltin{name: "flatMap", function: builtinFlatMap, params: ast.Identifiers{"func", "arr"}}, + &binaryBuiltin{name: "join", function: builtinJoin, params: ast.Identifiers{"sep", "arr"}}, + &unaryBuiltin{name: "reverse", function: builtinReverse, params: ast.Identifiers{"arr"}}, + &binaryBuiltin{name: "filter", function: builtinFilter, params: ast.Identifiers{"func", "arr"}}, + &binaryBuiltin{name: "range", function: builtinRange, params: ast.Identifiers{"from", "to"}}, + &binaryBuiltin{name: "primitiveEquals", function: primitiveEquals, params: ast.Identifiers{"x", "y"}}, + &binaryBuiltin{name: "equals", function: builtinEquals, params: ast.Identifiers{"x", "y"}}, + &binaryBuiltin{name: "objectFieldsEx", function: builtinObjectFieldsEx, params: ast.Identifiers{"obj", "hidden"}}, + &ternaryBuiltin{name: "objectHasEx", function: builtinObjectHasEx, params: ast.Identifiers{"obj", "fname", "hidden"}}, + &unaryBuiltin{name: "type", function: builtinType, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "char", function: builtinChar, params: ast.Identifiers{"n"}}, + &unaryBuiltin{name: "codepoint", function: builtinCodepoint, params: ast.Identifiers{"str"}}, + &unaryBuiltin{name: "ceil", function: builtinCeil, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "floor", function: builtinFloor, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "sqrt", function: builtinSqrt, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "sin", function: builtinSin, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "cos", function: builtinCos, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "tan", function: builtinTan, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "asin", function: builtinAsin, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "acos", function: builtinAcos, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "atan", function: builtinAtan, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "log", function: builtinLog, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "exp", function: builtinExp, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "mantissa", function: builtinMantissa, params: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "exponent", function: builtinExponent, params: ast.Identifiers{"x"}}, + &binaryBuiltin{name: "pow", function: builtinPow, params: ast.Identifiers{"x", "n"}}, + &binaryBuiltin{name: "modulo", function: builtinModulo, params: ast.Identifiers{"x", "y"}}, + &unaryBuiltin{name: "md5", function: builtinMd5, params: ast.Identifiers{"s"}}, + &ternaryBuiltin{name: "substr", function: builtinSubstr, params: ast.Identifiers{"str", "from", "len"}}, + &ternaryBuiltin{name: "splitLimit", function: builtinSplitLimit, params: ast.Identifiers{"str", "c", "maxsplits"}}, + &ternaryBuiltin{name: "strReplace", function: builtinStrReplace, params: ast.Identifiers{"str", "from", "to"}}, + &unaryBuiltin{name: "base64Decode", function: builtinBase64Decode, params: ast.Identifiers{"str"}}, + &unaryBuiltin{name: "base64DecodeBytes", function: builtinBase64DecodeBytes, params: ast.Identifiers{"str"}}, + &unaryBuiltin{name: "parseJson", function: builtinParseJSON, params: ast.Identifiers{"str"}}, + &binaryBuiltin{name: "manifestJsonEx", function: builtinManifestJSONEx, params: ast.Identifiers{"value", "indent"}}, + &unaryBuiltin{name: "base64", function: builtinBase64, params: ast.Identifiers{"input"}}, + &unaryBuiltin{name: "encodeUTF8", function: builtinEncodeUTF8, params: ast.Identifiers{"str"}}, + &unaryBuiltin{name: "decodeUTF8", function: builtinDecodeUTF8, params: ast.Identifiers{"arr"}}, + &generalBuiltin{name: "sort", function: builtinSort, params: []generalBuiltinParameter{{name: "arr"}, {name: "keyF", defaultValue: functionID}}}, + &unaryBuiltin{name: "native", function: builtinNative, params: ast.Identifiers{"x"}}, // internal - &unaryBuiltin{name: "$objectFlatMerge", function: builtinUglyObjectFlatMerge, parameters: ast.Identifiers{"x"}}, + &unaryBuiltin{name: "$objectFlatMerge", function: builtinUglyObjectFlatMerge, params: ast.Identifiers{"x"}}, }) diff --git a/vendor/github.com/google/go-jsonnet/cmd/internal/cmd/BUILD.bazel b/vendor/github.com/google/go-jsonnet/cmd/internal/cmd/BUILD.bazel new file mode 100644 index 0000000000..b7a9478649 --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/cmd/internal/cmd/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "go_default_library", + srcs = ["utils.go"], + importpath = "github.com/google/go-jsonnet/cmd/internal/cmd", + visibility = ["//visibility:public"], +) + +go_test( + name = "go_default_test", + srcs = ["utils_test.go"], + embed = [":go_default_library"], +) diff --git a/vendor/github.com/google/go-jsonnet/cmd/internal/cmd/utils.go b/vendor/github.com/google/go-jsonnet/cmd/internal/cmd/utils.go new file mode 100644 index 0000000000..0f6690747c --- /dev/null +++ b/vendor/github.com/google/go-jsonnet/cmd/internal/cmd/utils.go @@ -0,0 +1,187 @@ +/* +Copyright 2019 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. +*/ + +package cmd + +import ( + "fmt" + "io/ioutil" + "log" + "os" + "path/filepath" + "runtime" + "runtime/pprof" + "strconv" +) + +// NextArg retrieves the next argument from the commandline. +func NextArg(i *int, args []string) string { + (*i)++ + if (*i) >= len(args) { + fmt.Fprintln(os.Stderr, "Expected another commandline argument.") + os.Exit(1) + } + return args[*i] +} + +// SimplifyArgs transforms an array of commandline arguments so that +// any -abc arg before the first -- (if any) are expanded into +// -a -b -c. +func SimplifyArgs(args []string) (r []string) { + r = make([]string, 0, len(args)*2) + for i, arg := range args { + if arg == "--" { + for j := i; j < len(args); j++ { + r = append(r, args[j]) + } + break + } + if len(arg) > 2 && arg[0] == '-' && arg[1] != '-' { + for j := 1; j < len(arg); j++ { + r = append(r, "-"+string(arg[j])) + } + } else { + r = append(r, arg) + } + } + return +} + +// SafeStrToInt returns the int or exits the process. +func SafeStrToInt(str string) (i int) { + i, err := strconv.Atoi(str) + if err != nil { + fmt.Fprintf(os.Stderr, "Invalid integer \"%s\"\n", str) + os.Exit(1) + } + return +} + +// ReadInput gets Jsonnet code from the given place (file, commandline, stdin). +// It also updates the given filename to or if it wasn't a +// real filename. +func ReadInput(filenameIsCode bool, filename *string) (input string, err error) { + if filenameIsCode { + input, err = *filename, nil + *filename = "" + } else if *filename == "-" { + var bytes []byte + bytes, err = ioutil.ReadAll(os.Stdin) + input = string(bytes) + *filename = "" + } else { + var bytes []byte + bytes, err = ioutil.ReadFile(*filename) + input = string(bytes) + } + return +} + +// SafeReadInput runs ReadInput, exiting the process if there was a problem. +func SafeReadInput(filenameIsCode bool, filename *string) string { + output, err := ReadInput(filenameIsCode, filename) + if err != nil { + var op string + switch typedErr := err.(type) { + case *os.PathError: + op = typedErr.Op + err = typedErr.Err + } + if op == "open" { + fmt.Fprintf(os.Stderr, "Opening input file: %s: %s\n", *filename, err.Error()) + } else if op == "read" { + fmt.Fprintf(os.Stderr, "Reading input file: %s: %s\n", *filename, err.Error()) + } else { + fmt.Fprintln(os.Stderr, err.Error()) + } + os.Exit(1) + } + return output +} + +// WriteOutputFile writes the output to the given file, creating directories +// if requested, and printing to stdout instead if the outputFile is "". +func WriteOutputFile(output string, outputFile string, createDirs bool) (err error) { + if outputFile == "" { + fmt.Print(output) + return nil + } + + if createDirs { + if err := os.MkdirAll(filepath.Dir(outputFile), 0755); err != nil { + return err + } + } + + f, createErr := os.Create(outputFile) + if createErr != nil { + return createErr + } + defer func() { + if ferr := f.Close(); ferr != nil { + err = ferr + } + }() + + _, err = f.WriteString(output) + return err +} + +// StartCPUProfile creates a CPU profile if requested by environment +// variable. +func StartCPUProfile() { + // https://blog.golang.org/profiling-go-programs + var cpuprofile = os.Getenv("JSONNET_CPU_PROFILE") + if cpuprofile != "" { + f, err := os.Create(cpuprofile) + if err != nil { + log.Fatal(err) + } + err = pprof.StartCPUProfile(f) + if err != nil { + log.Fatal(err) + } + } +} + +// StopCPUProfile ensures any running CPU profile is stopped. +func StopCPUProfile() { + var cpuprofile = os.Getenv("JSONNET_CPU_PROFILE") + if cpuprofile != "" { + pprof.StopCPUProfile() + } +} + +// MemProfile creates a memory profile if requested by environment +// variable. +func MemProfile() { + var memprofile = os.Getenv("JSONNET_MEM_PROFILE") + if memprofile != "" { + f, err := os.Create(memprofile) + if err != nil { + log.Fatal("could not create memory profile: ", err) + } + runtime.GC() // get up-to-date statistics + if err := pprof.WriteHeapProfile(f); err != nil { + log.Fatal("could not write memory profile: ", err) + } + defer func() { + if err := f.Close(); err != nil { + log.Fatal("Failed to close the memprofile: ", err) + } + }() + } +} diff --git a/vendor/github.com/google/go-jsonnet/cmd/jsonnet/BUILD.bazel b/vendor/github.com/google/go-jsonnet/cmd/jsonnet/BUILD.bazel index e387ca4a74..485a1431bc 100644 --- a/vendor/github.com/google/go-jsonnet/cmd/jsonnet/BUILD.bazel +++ b/vendor/github.com/google/go-jsonnet/cmd/jsonnet/BUILD.bazel @@ -1,4 +1,4 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( name = "go_default_library", @@ -7,6 +7,7 @@ go_library( visibility = ["//visibility:private"], deps = [ "//:go_default_library", + "//cmd/internal/cmd:go_default_library", "@com_github_fatih_color//:go_default_library", ], ) @@ -16,9 +17,3 @@ go_binary( embed = [":go_default_library"], visibility = ["//visibility:public"], ) - -go_test( - name = "go_default_test", - srcs = ["cmd_test.go"], - embed = [":go_default_library"], -) diff --git a/vendor/github.com/google/go-jsonnet/cmd/jsonnet/cmd.go b/vendor/github.com/google/go-jsonnet/cmd/jsonnet/cmd.go index 0c6a9d2250..c3cd442f81 100644 --- a/vendor/github.com/google/go-jsonnet/cmd/jsonnet/cmd.go +++ b/vendor/github.com/google/go-jsonnet/cmd/jsonnet/cmd.go @@ -20,52 +20,17 @@ import ( "fmt" "io" "io/ioutil" - "log" "os" "path/filepath" - "runtime" - "runtime/pprof" "sort" - "strconv" "strings" "github.com/fatih/color" "github.com/google/go-jsonnet" + "github.com/google/go-jsonnet/cmd/internal/cmd" ) -func nextArg(i *int, args []string) string { - (*i)++ - if (*i) >= len(args) { - fmt.Fprintln(os.Stderr, "Expected another commandline argument.") - os.Exit(1) - } - return args[*i] -} - -// simplifyArgs transforms an array of commandline arguments so that -// any -abc arg before the first -- (if any) are expanded into -// -a -b -c. -func simplifyArgs(args []string) (r []string) { - r = make([]string, 0, len(args)*2) - for i, arg := range args { - if arg == "--" { - for j := i; j < len(args); j++ { - r = append(r, args[j]) - } - break - } - if len(arg) > 2 && arg[0] == '-' && arg[1] != '-' { - for j := 1; j < len(arg); j++ { - r = append(r, "-"+string(arg[j])) - } - } else { - r = append(r, arg) - } - } - return -} - func version(o io.Writer) { fmt.Fprintf(o, "Jsonnet commandline interpreter %s\n", jsonnet.Version()) } @@ -76,53 +41,55 @@ func usage(o io.Writer) { fmt.Fprintln(o, "jsonnet {